osm_mano安装
作者:互联网
安装注意事项
1:磁盘空间问题 no space left on device 要给sda1分区扩容,扩容链接如下
https://jingyan.baidu.com/article/86fae34604bdd53c49121a26.html
2:安装带有kbs,会提示下载源下载不下来的问题, ./install_osm.sh 后面不要加任何其他
sudo wget https://osm-download.etsi.org/ftp/osm-8.0-eight/install_osm.sh sudo chmod +x install_osm.sh ./install_osm.sh
3:先准备docker ce的环境,再执行osm安装,ubantu 准备docker ce环境链接如下
https://www.runoob.com/docker/ubuntu-docker-install.html
4:耗时11:55-14:00
耗时2个小时左右
5:ubantu系统的虚拟机配置
内存 6G cpu 2核 硬盘 80G (实际给/dev/sda1的分区为60G,sda1的分区空间要足够大至少40G)
安装过程重要的日志如下
Setting up git-man (1:2.17.1-1ubuntu0.7) ... Setting up containerd.io (1.3.7-1) ... Created symlink /etc/systemd/system/multi-user.target.wants/containerd.service → /lib/systemd/system/containerd.service. Setting up liberror-perl (0.17025-1) ... Setting up cgroupfs-mount (1.4) ... Setting up docker-ce-cli (5:19.03.13~3-0~ubuntu-bionic) ... Setting up pigz (2.4-1) ... Setting up git (1:2.17.1-1ubuntu0.7) ... Setting up docker-ce (5:19.03.13~3-0~ubuntu-bionic) ... Created symlink /etc/systemd/system/multi-user.target.wants/docker.service → /lib/systemd/system/docker.service. Created symlink /etc/systemd/system/sockets.target.wants/docker.socket → /lib/systemd/system/docker.socket. Processing triggers for libc-bin (2.27-3ubuntu1.2) ... Processing triggers for systemd (237-3ubuntu10.42) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... Processing triggers for ureadahead (0.100.0-21) ... Adding user to group 'docker' ... restarted Docker service Client: Docker Engine - Community Version: 19.03.13 API version: 1.40 Go version: go1.13.15 Git commit: 4484c46d9d Built: Wed Sep 16 17:02:36 2020 OS/Arch: linux/amd64 Experimental: false Server: Docker Engine - Community Engine: Version: 19.03.13 API version: 1.40 (minimum version 1.12) Go version: go1.13.15 Git commit: 4484c46d9d Built: Wed Sep 16 17:01:06 2020 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.3.7 GitCommit: 8fba4e9a7d01810a393d5d25a3621dc101981175 runc: Version: 1.0.0-rc10 GitCommit: dc9208a3303feef5b3839f4323d9beb36df0a9dd docker-init: Version: 0.18.0 GitCommit: fec3683 ... Docker CE installation done Creating folders for installation Swarm initialized: current node (jfsdlipug83lkdv2ip0q7zkmf) is now a manager. To add a worker to this swarm, run the following command: docker swarm join --token SWMTKN-1-11fiej4nv1uzl252xl3kl5wp5v6palt6thhdnx345lni27288e-6xepvztyczz6btigp3vogrsai 192.168.3.80:2377 To add a manager to this swarm, run 'docker swarm join-token manager' and follow the instructions. Pulling and generating docker images OSM Docker images generated from master Using default tag: latest latest: Pulling from wurstmeister/zookeeper a3ed95caeb02: Pull complete ef38b711a50f: Pull complete e057c74597c7: Pull complete 666c214f6385: Pull complete c3d6a96f1ffc: Pull complete 3fe26a83e0ca: Pull complete 3d3a7dd3a3b1: Pull complete f8cc938abe5f: Pull complete 9978b75f7a58: Pull complete 4d4dbcc8f8cc: Pull complete 8b130a9baa49: Pull complete 6b9611650a73: Pull complete 5df5aac51927: Pull complete 76eea4448d9b: Pull complete 8b66990876c6: Pull complete f0dd38204b6f: Pull complete Digest: sha256:7a7fd44a72104bfbd24a77844bad5fabc86485b036f988ea927d1780782a6680 Status: Downloaded newer image for wurstmeister/zookeeper:latest docker.io/wurstmeister/zookeeper:latest 2.11-1.0.2: Pulling from wurstmeister/kafka e7c96db7181b: Pull complete f910a506b6cb: Pull complete b6abafe80f63: Pull complete b54182fc0072: Pull complete 2c5e49d60fb8: Pull complete e12461bfd2fa: Pull complete Digest: sha256:3a09dc106cc0bc99b61695853a73da5a95c62321cce691f15d824aff31338f2b Status: Downloaded newer image for wurstmeister/kafka:2.11-1.0.2 docker.io/wurstmeister/kafka:2.11-1.0.2 Using default tag: latest latest: Pulling from library/mongo 171857c49d0f: Pull complete 419640447d26: Pull complete 61e52f862619: Pull complete 892787ca4521: Pull complete 06e2d54757a5: Pull complete e2f7d90822f3: Pull complete f518d3776320: Pull complete feb8e9d469d8: Pull complete 69705b632494: Pull complete c7daea26376d: Pull complete 13d1f9e1fc77: Pull complete f87e65fe7ffd: Pull complete Digest: sha256:efc408845bc917d0b7fd97a8590e9c8d3c314f58cee651bd3030c9cf2ce9032d Status: Downloaded newer image for mongo:latest docker.io/library/mongo:latest v2.4.3: Pulling from prom/prometheus 8c5a7da1afbc: Pull complete cab0dd93492f: Pull complete 21399993eeff: Pull complete 50fe4c0f18ae: Pull complete bab8b4ed1fef: Pull complete 5bd3aaf93e52: Pull complete ccb08d41de26: Pull complete 51047cce385d: Pull complete 51c32e598e5c: Pull complete Digest: sha256:2d79525389d68a309db843c1888f364823afbbef32ffea4741024d2ab9994dd6 Status: Downloaded newer image for prom/prometheus:v2.4.3 docker.io/prom/prometheus:v2.4.3 latest: Pulling from google/cadvisor ff3a5c916c92: Pull complete 44a45bb65cdf: Pull complete 0bbe1a2fe2a6: Pull complete Digest: sha256:815386ebbe9a3490f38785ab11bda34ec8dacf4634af77b8912832d4f85dca04 Status: Downloaded newer image for google/cadvisor:latest docker.io/google/cadvisor:latest latest: Pulling from grafana/grafana 188c0c94c7c5: Pull complete 94db9aec2a58: Pull complete 618563756337: Pull complete f413b64712e1: Pull complete 18534279664f: Pull complete 4f4fb700ef54: Pull complete 3abba839cfd4: Pull complete aac362f49dd4: Pull complete Digest: sha256:9f43d0ac1fdecdd08a47bce4038fa5c9c67cc84fc025df78b87ae7b7b076aee9 Status: Downloaded newer image for grafana/grafana:latest docker.io/grafana/grafana:latest 10: Pulling from library/mariadb 6a5697faee43: Pull complete ba13d3bc422b: Pull complete a254829d9e55: Pull complete 2ee2cadd29fc: Pull complete 6915a184049d: Pull complete 5ca6ffdb5f56: Pull complete 1537f7bbef8b: Pull complete 5790e54322d1: Pull complete ea98cb829471: Pull complete a46bde67834a: Pull complete 78334cd64cf3: Pull complete 5ffdad591cf6: Pull complete Digest: sha256:2960a3d1ddb35dd454066b45005b4f694e18af76648833f1b9d93ab90cee7cf2 Status: Downloaded newer image for mariadb:10 docker.io/library/mariadb:10 5: Pulling from library/mysql bb79b6b2107f: Pull complete 49e22f6fb9f7: Pull complete 842b1255668c: Pull complete 9f48d1f43000: Pull complete c693f0615bce: Pull complete 8a621b9dbed2: Pull complete 0807d32aef13: Pull complete f15d42f48bd9: Pull complete 098ceecc0c8d: Pull complete b6fead9737bc: Pull complete 351d223d3d76: Pull complete Digest: sha256:4d2b34e99c14edb99cdd95ddad4d9aa7ea3f2c4405ff0c3509a29dc40bcb10ef Status: Downloaded newer image for mysql:5 docker.io/library/mysql:5 8: Pulling from opensourcemano/mon f08d8e2a3ba1: Pull complete 3baa9cb2483b: Pull complete 94e5ff4c0b15: Pull complete 1860925334f9: Pull complete 66c6c9b53877: Pull complete b9b0c5117f65: Pull complete 63b68db26d83: Pull complete 244d0f893682: Pull complete 1945091c21b5: Pull complete Digest: sha256:7eb8fe487c136d483a22cdf721a25884601a34ea00d37608ebef58b17934ff6c Status: Downloaded newer image for opensourcemano/mon:8 docker.io/opensourcemano/mon:8 8: Pulling from opensourcemano/pol 8e097b52bfb8: Pull complete a613a9b4553c: Pull complete acc000f01536: Pull complete 73eef93b7466: Pull complete 120f025ffab0: Pull complete 4185a31c23da: Pull complete e65a3c203482: Pull complete 43b9f207984c: Pull complete f8c961a8ea5d: Pull complete Digest: sha256:105ed845c63690445703ceec43ed3e26ed17ff2e8c38581332de802a0720ed4e Status: Downloaded newer image for opensourcemano/pol:8 docker.io/opensourcemano/pol:8 8: Pulling from opensourcemano/nbi f08d8e2a3ba1: Already exists 3baa9cb2483b: Already exists 94e5ff4c0b15: Already exists 1860925334f9: Already exists 85d59a1cd3ee: Pull complete fdb8751d8407: Pull complete 6d059be76e20: Pull complete 223fc43d583a: Pull complete 2157a6e7f548: Pull complete 0530d0517009: Pull complete c299b4fa6409: Pull complete 7fe7999a7e08: Pull complete 7a5d0aae7d04: Pull complete Digest: sha256:272b3bd0cd2f523670e6cbf8e09cf203d11b117b165c8e71a59f4a3b2c66d6dc Status: Downloaded newer image for opensourcemano/nbi:8 docker.io/opensourcemano/nbi:8 8: Pulling from opensourcemano/keystone 8e097b52bfb8: Already exists a613a9b4553c: Already exists acc000f01536: Already exists 73eef93b7466: Already exists 503affdd193b: Pull complete 314fc98cf2ef: Pull complete 63cd59134707: Pull complete Digest: sha256:a3c9355c435e17ec751b2417ed401e22932cb980db0e559f2f5945e1134e5536 Status: Downloaded newer image for opensourcemano/keystone:8 docker.io/opensourcemano/keystone:8 8: Pulling from opensourcemano/ro f08d8e2a3ba1: Already exists 3baa9cb2483b: Already exists 94e5ff4c0b15: Already exists 1860925334f9: Already exists 49e5c8e011e5: Pull complete 6d059be76e20: Pull complete c400a5cb1ea5: Pull complete 42e89b858ef5: Pull complete 208d5bb0308d: Pull complete Digest: sha256:89a535279e559c467602eba67c5bdab79d00afd3058e1bf3263e35ee44792ed3 Status: Downloaded newer image for opensourcemano/ro:8 docker.io/opensourcemano/ro:8 8: Pulling from opensourcemano/lcm f08d8e2a3ba1: Already exists 3baa9cb2483b: Already exists 94e5ff4c0b15: Already exists 1860925334f9: Already exists d54cc533595e: Pull complete 0cc44a9fa10e: Pull complete ead423ce9950: Pull complete 58967af2a374: Pull complete dc111d7e4bfb: Pull complete f7efd0e09ea9: Pull complete 524bf38a56ef: Pull complete 678ab7a21ba0: Pull complete 9e75ed10551b: Pull complete 27087e6d428f: Pull complete 26768fda8da6: Pull complete Digest: sha256:bbfdbe876dd002a362e56cde4e0a4b61c656d1b43c712c6ab49116c76e0f29e8 Status: Downloaded newer image for opensourcemano/lcm:8 docker.io/opensourcemano/lcm:8 8: Pulling from opensourcemano/light-ui 8e097b52bfb8: Already exists a613a9b4553c: Already exists acc000f01536: Already exists 73eef93b7466: Already exists 2c67f2bd637a: Pull complete 09523dfa96cd: Pull complete 4ce3564c23de: Pull complete 4902bc15a3b0: Pull complete 8f3de6ad899e: Pull complete 97739433b303: Pull complete fee4ce240723: Pull complete 1569fa1366fd: Pull complete f1228b85a457: Pull complete e5ddc874e86d: Pull complete dde3cb8e2ab5: Pull complete fb6713b24b8c: Pull complete 7e5f72f97323: Pull complete 4aa5e7872f63: Pull complete Digest: sha256:1f89330c227747a90cff128ec0e77be8d255fb86eee82faeef29a0cba12db0ac Status: Downloaded newer image for opensourcemano/light-ui:8 docker.io/opensourcemano/light-ui:8 8: Pulling from opensourcemano/osmclient f08d8e2a3ba1: Already exists 3baa9cb2483b: Already exists 94e5ff4c0b15: Already exists 1860925334f9: Already exists 3fe634ed3fe5: Pull complete 1990b16d4d38: Pull complete 8a4c93a2acbf: Pull complete 52c8bbefd3c5: Pull complete 48e2b4a92c73: Pull complete ea97568df826: Pull complete Digest: sha256:0be6ccee4c9ee85274b374b088bc21b782c6ed5b5ae3874a49c7f73d93bffd82 Status: Downloaded newer image for opensourcemano/osmclient:8 docker.io/opensourcemano/osmclient:8 latest: Pulling from google/cadvisor Digest: sha256:815386ebbe9a3490f38785ab11bda34ec8dacf4634af77b8912832d4f85dca04 Status: Image is up to date for google/cadvisor:latest docker.io/google/cadvisor:latest Finished generation of docker images [sudo] password for songbin: Doing a backup of existing env files cp: cannot stat '/etc/osm/docker/keystone-db.env': No such file or directory cp: cannot stat '/etc/osm/docker/keystone.env': No such file or directory cp: cannot stat '/etc/osm/docker/lcm.env': No such file or directory cp: cannot stat '/etc/osm/docker/lwui.env': No such file or directory cp: cannot stat '/etc/osm/docker/mon.env': No such file or directory cp: cannot stat '/etc/osm/docker/nbi.env': No such file or directory cp: cannot stat '/etc/osm/docker/pol.env': No such file or directory cp: cannot stat '/etc/osm/docker/ro-db.env': No such file or directory cp: cannot stat '/etc/osm/docker/ro.env': No such file or directory Generating docker env files OSMLCM_DATABASE_COMMONKEY=xUqHmqAASnUTCsTCErJrpyYEtiBgRhkM OSMLCM_VCA_HOST=10.70.119.41 OSMLCM_VCA_SECRET=aa60738018ab75ab693658c023fae163 OSMLCM_VCA_PUBKEY=ssh-rsa AAAAB3Nz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EpoZGowb2s4SFJ1Y2VUOVZ3clY4M1hGVjgrbXFSRwpNOTl3OVJyV0VraU1Ub2ZvRmNSUlJxUEV5QWZUNUZjZVc0OTJabjFvY2I4NFQ3bHcyYkJMU3lDRXNvQ0ZMWmtwCjlEK3pqVDlPSXc9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCgo= OSMLCM_VCA_APIPROXY=192.168.3.80 # OSMLCM_VCA_ENABLEOSUPGRADE=false # OSMLCM_VCA_APTMIRROR=http://archive.ubuntu.com/ubuntu/ OSMLCM_VCA_CLOUD=localhost OSMLCM_VCA_K8S_CLOUD=k8scloud MYSQL_ROOT_PASSWORD=Z2JsGGXXjzpuavSBJemwAbR3miHQ6FO6 RO_DB_ROOT_PASSWORD=Z2JsGGXXjzpuavSBJemwAbR3miHQ6FO6 MYSQL_ROOT_PASSWORD=Z2JsGGXXjzpuavSBJemwAbR3miHQ6FO6 ROOT_DB_PASSWORD=Z2JsGGXXjzpuavSBJemwAbR3miHQ6FO6 KEYSTONE_DB_PASSWORD=bTjTakzBJFo6nv5xRV6kkIdLeL68BPNZ SERVICE_PASSWORD=mAsEFdTk7TPUvqMnngrqcDaAgl4L2g4S OSMNBI_AUTHENTICATION_SERVICE_PASSWORD=mAsEFdTk7TPUvqMnngrqcDaAgl4L2g4S OSMNBI_DATABASE_COMMONKEY=xUqHmqAASnUTCsTCErJrpyYEtiBgRhkM OSMMON_DATABASE_COMMONKEY=xUqHmqAASnUTCsTCErJrpyYEtiBgRhkM OSMMON_SQL_DATABASE_URI=mysql://root:Z2JsGGXXjzpuavSBJemwAbR3miHQ6FO6@mysql:3306/mon OS_NOTIFIER_URI=http://192.168.3.80:8662 OSMMON_VCA_HOST=10.70.119.41 OSMMON_VCA_SECRET=aa60738018ab75ab693658c023fae163 OSMMON_VCA_CACERT=LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUQ4ekNDQWx1Z0F3SUJBZ0lVQ3dWZ1pKRDF1b29Mak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WY4d0RRWUpLb1pJaHZjTkFRRUwKQlFBRGdnR0JBQWxSL1dWejlaMzArRjFidWtUNlY1V3RvVVhtaWh4RUJGSU9yN2tQRWsvZnFSTkl2TkliTGowdQpvdHphOWo1b1pOUlVnVmZDMjlnRUhKZjZEbDJUSXFKRlI1TXZPZ3ZOMmN3dDRjTG5VWEZZYTZXTFpCOG9uendXCk9YRnNiU0U2OWVTSEs3Ym12VGhRblF3amNiTTRISXhlcU5rZlBVdThzc1FWYklIa3ZHekt1dzhjRTRCOXAwWkUKbVNqR1BSQklxdGJremN4UFlJMlRobzl2VDBRRGxVMVZobWNoMTlkMHFWMkVSbEZOQ3dsMzZkSmZNdnVwcjRvdwp5cVJpNFdRcnBqQmUxdDhXa2p4WUVyRzZ4bVVRR0QvVHBFK1daSlUrSmFONTd6U1pIdU5ERWw1OE5jaU5HQjRYCldRcGdncTBvMk9uaEZjMkhqeTllcmFwckVySVN4Wll6VzVKcGlUZFRxcWk2UFZzS0c5THBUUzFJanVRa0lZSWYKV2RWRTdMUXlqc3RyRjU1bFlkVkZlL0pDeUlUYWQ3MHlScEpoZGowb2s4SFJ1Y2VUOVZ3clY4M1hGVjgrbXFSRwpNOTl3OVJyV0VraU1Ub2ZvRmNSUlJxUEV5QWZUNUZjZVc0OTJabjFvY2I4NFQ3bHcyYkJMU3lDRXNvQ0ZMWmtwCjlEK3pqVDlPSXc9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCgo= OSMPOL_SQL_DATABASE_URI=mysql://root:Z2JsGGXXjzpuavSBJemwAbR3miHQ6FO6@mysql:3306/pol OSMUI_SQL_DATABASE_URI=mysql://root:Z2JsGGXXjzpuavSBJemwAbR3miHQ6FO6@mysql:3306/lwui Finished generation of docker env files nothing found in stack: osm creating network 8i2pcyk4pszrjen0o5fy6upu3 creating network DONE Deploying lightweight build export OSM_NBI_PORTS=9999:9999 OSM_RO_PORTS=9090:9090 OSM_KEYSTONE_PORTS=5000:5000 OSM_UI_PORTS=80:80 OSM_MON_PORTS=8662:8662 OSM_PROM_PORTS=9091:9090 OSM_PROM_CADVISOR_PORTS=8080:8080 OSM_GRAFANA_PORTS=3000:3000 export OSM_NETWORK=netosm export TAG=8 export DOCKER_USER=opensourcemano export KAFKA_TAG=2.11-1.0.2 export PROMETHEUS_TAG=v2.4.3 export KEYSTONEDB_TAG=10 export PROMETHEUS_CADVISOR_TAG=latest export GRAFANA_TAG=latest /etc/osm/docker /osm-ztqm Creating service osm_nbi Creating service osm_prometheus Creating service osm_prometheus-cadvisor Creating service osm_kafka Creating service osm_mon Creating service osm_zookeeper Creating service osm_mysql Creating service osm_pol Creating service osm_ro Creating service osm_grafana Creating service osm_lcm Creating service osm_light-ui Creating service osm_keystone Creating service osm_mongo /osm-ztqm Finished deployment of lightweight build docker run -ti --network netosm opensourcemano/osmclient:8 osmclient sidecar container can be found at: /etc/osm/docker/osm Node Exporter is not active, installing... Creating user node_exporter Created symlink /etc/systemd/system/multi-user.target.wants/node_exporter.service → /etc/systemd/system/node_exporter.service. Node Exporter has been activated in this host. % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 3120 100 3120 0 0 1178 0 0:00:02 0:00:02 --:--:-- 1178 OK Hit:1 https://mirrors.ustc.edu.cn/docker-ce/linux/ubuntu bionic InRelease Hit:2 http://security.ubuntu.com/ubuntu bionic-security InRelease Hit:3 http://cn.archive.ubuntu.com/ubuntu bionic InRelease Hit:4 http://cn.archive.ubuntu.com/ubuntu bionic-updates InRelease Hit:5 https://download.docker.com/linux/ubuntu bionic InRelease Hit:6 http://cn.archive.ubuntu.com/ubuntu bionic-backports InRelease Hit:7 https://osm-download.etsi.org/repository/osm/debian/ReleaseEIGHT stable InRelease Get:8 https://osm-download.etsi.org/repository/osm/debian/ReleaseEIGHT stable/IM amd64 Packages [877 B] Get:9 https://osm-download.etsi.org/repository/osm/debian/ReleaseEIGHT stable/osmclient amd64 Packages [785 B] Fetched 1,662 B in 2s (742 B/s) Reading package lists... Done W: Conflicting distribution: https://osm-download.etsi.org/repository/osm/debian/ReleaseEIGHT stable InRelease (expected stable but got ) Hit:1 https://mirrors.ustc.edu.cn/docker-ce/linux/ubuntu bionic InRelease Hit:2 http://cn.archive.ubuntu.com/ubuntu bionic InRelease Hit:3 http://cn.archive.ubuntu.com/ubuntu bionic-updates InRelease Hit:4 http://cn.archive.ubuntu.com/ubuntu bionic-backports InRelease Hit:5 https://osm-download.etsi.org/repository/osm/debian/ReleaseEIGHT stable InRelease Hit:6 http://security.ubuntu.com/ubuntu bionic-security InRelease Hit:7 https://download.docker.com/linux/ubuntu bionic InRelease Reading package lists... Done W: Conflicting distribution: https://osm-download.etsi.org/repository/osm/debian/ReleaseEIGHT stable InRelease (expected stable but got ) Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: fonts-liberation2 fonts-opensymbol gir1.2-gst-plugins-base-1.0 gir1.2-gstreamer-1.0 gir1.2-gudev-1.0 gir1.2-udisks-2.0 grilo-plugins-0.3-base gstreamer1.0-gtk3 libboost-date-time1.65.1 libboost-filesystem1.65.1 libboost-iostreams1.65.1 libboost-locale1.65.1 libcdr-0.1-1 libclucene-contribs1v5 libclucene-core1v5 libcmis-0.5-5v5 libcolamd2 libdazzle-1.0-0 libe-book-0.1-1 libedataserverui-1.2-2 libeot0 libepubgen-0.1-1 libetonyek-0.1-1 libevent-2.1-6 libexiv2-14 libfreerdp-client2-2 libfreerdp2-2 libgc1c2 libgee-0.8-2 libgexiv2-2 libgom-1.0-0 libgpgmepp6 libgpod-common libgpod4 liblangtag-common liblangtag1 liblirc-client0 liblua5.3-0 libmediaart-2.0-0 libmspub-0.1-1 libodfgen-0.1-1 libqqwing2v5 libraw16 librevenge-0.0-0 libsgutils2-2 libssh-4 libsuitesparseconfig5 libvncclient1 libwinpr2-2 libxapian30 libxmlsec1 libxmlsec1-nss lp-solve media-player-info python3-mako python3-markupsafe syslinux syslinux-common syslinux-legacy usb-creator-common Use 'sudo apt autoremove' to remove them. The following additional packages will be installed: build-essential dh-python dpkg-dev fakeroot g++ g++-7 gcc gcc-7 libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan4 libatomic1 libc-dev-bin libc6 libc6-dbg libc6-dev libcilkrts5 libexpat1-dev libfakeroot libgcc-7-dev libitm1 liblsan0 libmpx2 libpython3-dev libpython3.6-dev libquadmath0 libstdc++-7-dev libtsan0 libubsan0 linux-libc-dev make manpages-dev python-pip-whl python3-dev python3-distutils python3-lib2to3 python3-setuptools python3-wheel python3.6-dev Suggested packages: debian-keyring g++-multilib g++-7-multilib gcc-7-doc libstdc++6-7-dbg gcc-multilib autoconf automake libtool flex bison gcc-doc gcc-7-multilib gcc-7-locales libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan4-dbg liblsan0-dbg libtsan0-dbg libubsan0-dbg libcilkrts5-dbg libmpx2-dbg libquadmath0-dbg glibc-doc libstdc++-7-doc make-doc python-setuptools-doc The following NEW packages will be installed: build-essential dh-python dpkg-dev fakeroot g++ g++-7 gcc gcc-7 libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan4 libatomic1 libc-dev-bin libc6-dev libcilkrts5 libexpat1-dev libfakeroot libgcc-7-dev libitm1 liblsan0 libmpx2 libpython3-dev libpython3.6-dev libquadmath0 libstdc++-7-dev libtsan0 libubsan0 linux-libc-dev make manpages-dev python-pip-whl python3-dev python3-distutils python3-lib2to3 python3-pip python3-setuptools python3-wheel python3.6-dev The following packages will be upgraded: libc6 libc6-dbg 2 upgraded, 39 newly installed, 0 to remove and 35 not upgraded. Need to get 86.7 MB of archives. After this operation, 206 MB of additional disk space will be used. Get:1 http://cn.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libc6-dbg amd64 2.27-3ubuntu1.3 [5,163 kB] Get:2 http://cn.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libc6 amd64 2.27-3ubuntu1.3 [2,831 kB] Get:3 http://cn.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libc-dev-bin amd64 2.27-3ubuntu1.3 [71.8 kB] Get:4 http://cn.archive.ubuntu.com/ubuntu bionic-updates/main amd64 linux-libc-dev amd64 4.15.0-123.126 [997 kB] Get:5 http://cn.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libc6-dev amd64 2.27-3ubuntu1.3 [2,586 kB] Get:6 http://cn.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libitm1 amd64 8.4.0-1ubuntu1~18.04 [27.9 kB] Get:7 http://cn.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libatomic1 amd64 8.4.0-1ubuntu1~18.04 [9,192 B] Get:8 http://cn.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libasan4 amd64 7.5.0-3ubuntu1~18.04 [358 kB] Get:9 http://cn.archive.ubuntu.com/ubuntu bionic-updates/main amd64 liblsan0 amd64 8.4.0-1ubuntu1~18.04 [133 kB] Get:10 http://cn.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libtsan0 amd64 8.4.0-1ubuntu1~18.04 [288 kB] Get:11 http://cn.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libubsan0 amd64 7.5.0-3ubuntu1~18.04 [126 kB] Get:12 http://cn.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcilkrts5 amd64 7.5.0-3ubuntu1~18.04 [42.5 kB] Get:13 http://cn.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libmpx2 amd64 8.4.0-1ubuntu1~18.04 [11.6 kB] Get:14 http://cn.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libquadmath0 amd64 8.4.0-1ubuntu1~18.04 [134 kB] Get:15 http://cn.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgcc-7-dev amd64 7.5.0-3ubuntu1~18.04 [2,378 kB] Get:16 http://cn.archive.ubuntu.com/ubuntu bionic-updates/main amd64 gcc-7 amd64 7.5.0-3ubuntu1~18.04 [9,381 kB] Get:17 http://cn.archive.ubuntu.com/ubuntu bionic-updates/main amd64 gcc amd64 4:7.4.0-1ubuntu2.3 [5,184 B] Get:18 http://cn.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libstdc++-7-dev amd64 7.5.0-3ubuntu1~18.04 [1,471 kB] Get:19 http://cn.archive.ubuntu.com/ubuntu bionic-updates/main amd64 g++-7 amd64 7.5.0-3ubuntu1~18.04 [9,697 kB] Get:20 http://cn.archive.ubuntu.com/ubuntu bionic-updates/main amd64 g++ amd64 4:7.4.0-1ubuntu2.3 [1,568 B] Get:21 http://cn.archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB] Get:22 http://cn.archive.ubuntu.com/ubuntu bionic-updates/main amd64 dpkg-dev all 1.19.0.5ubuntu2.3 [607 kB] Get:23 http://cn.archive.ubuntu.com/ubuntu bionic/main amd64 build-essential amd64 12.4ubuntu1 [4,758 B] Get:24 http://cn.archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3-lib2to3 all 3.6.9-1~18.04 [77.4 kB] Get:25 http://cn.archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3-distutils all 3.6.9-1~18.04 [144 kB] Get:26 http://cn.archive.ubuntu.com/ubuntu bionic/main amd64 dh-python all 3.20180325ubuntu2 [89.2 kB] Get:27 http://cn.archive.ubuntu.com/ubuntu bionic/main amd64 libfakeroot amd64 1.22-2ubuntu1 [25.9 kB] Get:28 http://cn.archive.ubuntu.com/ubuntu bionic/main amd64 fakeroot amd64 1.22-2ubuntu1 [62.3 kB] Get:29 http://cn.archive.ubuntu.com/ubuntu bionic/main amd64 libalgorithm-diff-perl all 1.19.03-1 [47.6 kB] Get:30 http://cn.archive.ubuntu.com/ubuntu bionic/main amd64 libalgorithm-diff-xs-perl amd64 0.04-5 [11.1 kB] Get:31 http://cn.archive.ubuntu.com/ubuntu bionic/main amd64 libalgorithm-merge-perl all 0.08-3 [12.0 kB] Get:32 http://cn.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libexpat1-dev amd64 2.2.5-3ubuntu0.2 [122 kB] Get:33 http://cn.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpython3.6-dev amd64 3.6.9-1~18.04ubuntu1.3 [44.9 MB] Get:34 http://cn.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpython3-dev amd64 3.6.7-1~18.04 [7,328 B] Get:35 http://cn.archive.ubuntu.com/ubuntu bionic/main amd64 manpages-dev all 4.15-1 [2,217 kB] Get:36 http://cn.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 python-pip-whl all 9.0.1-2.3~ubuntu1.18.04.4 [1,653 kB] Get:37 http://cn.archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3.6-dev amd64 3.6.9-1~18.04ubuntu1.3 [508 kB] Get:38 http://cn.archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3-dev amd64 3.6.7-1~18.04 [1,288 B] Get:39 http://cn.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 python3-pip all 9.0.1-2.3~ubuntu1.18.04.4 [114 kB] Get:40 http://cn.archive.ubuntu.com/ubuntu bionic/main amd64 python3-setuptools all 39.0.1-2 [248 kB] Get:41 http://cn.archive.ubuntu.com/ubuntu bionic/universe amd64 python3-wheel all 0.30.0-0.2 [36.5 kB] Fetched 86.7 MB in 54s (1,612 kB/s) Extracting templates from packages: 100% Preconfiguring packages ... (Reading database ... 158606 files and directories currently installed.) Preparing to unpack .../libc6-dbg_2.27-3ubuntu1.3_amd64.deb ... Unpacking libc6-dbg:amd64 (2.27-3ubuntu1.3) over (2.27-3ubuntu1.2) ... Preparing to unpack .../libc6_2.27-3ubuntu1.3_amd64.deb ... Unpacking libc6:amd64 (2.27-3ubuntu1.3) over (2.27-3ubuntu1.2) ... Setting up libc6:amd64 (2.27-3ubuntu1.3) ... Selecting previously unselected package libc-dev-bin. (Reading database ... 158606 files and directories currently installed.) Preparing to unpack .../00-libc-dev-bin_2.27-3ubuntu1.3_amd64.deb ... Unpacking libc-dev-bin (2.27-3ubuntu1.3) ... Selecting previously unselected package linux-libc-dev:amd64. Preparing to unpack .../01-linux-libc-dev_4.15.0-123.126_amd64.deb ... Unpacking linux-libc-dev:amd64 (4.15.0-123.126) ... Selecting previously unselected package libc6-dev:amd64. Preparing to unpack .../02-libc6-dev_2.27-3ubuntu1.3_amd64.deb ... Unpacking libc6-dev:amd64 (2.27-3ubuntu1.3) ... Selecting previously unselected package libitm1:amd64. Preparing to unpack .../03-libitm1_8.4.0-1ubuntu1~18.04_amd64.deb ... Unpacking libitm1:amd64 (8.4.0-1ubuntu1~18.04) ... Selecting previously unselected package libatomic1:amd64. Preparing to unpack .../04-libatomic1_8.4.0-1ubuntu1~18.04_amd64.deb ... Unpacking libatomic1:amd64 (8.4.0-1ubuntu1~18.04) ... Selecting previously unselected package libasan4:amd64. Preparing to unpack .../05-libasan4_7.5.0-3ubuntu1~18.04_amd64.deb ... Unpacking libasan4:amd64 (7.5.0-3ubuntu1~18.04) ... Selecting previously unselected package liblsan0:amd64. Preparing to unpack .../06-liblsan0_8.4.0-1ubuntu1~18.04_amd64.deb ... Unpacking liblsan0:amd64 (8.4.0-1ubuntu1~18.04) ... Selecting previously unselected package libtsan0:amd64. Preparing to unpack .../07-libtsan0_8.4.0-1ubuntu1~18.04_amd64.deb ... Unpacking libtsan0:amd64 (8.4.0-1ubuntu1~18.04) ... Selecting previously unselected package libubsan0:amd64. Preparing to unpack .../08-libubsan0_7.5.0-3ubuntu1~18.04_amd64.deb ... Unpacking libubsan0:amd64 (7.5.0-3ubuntu1~18.04) ... Selecting previously unselected package libcilkrts5:amd64. Preparing to unpack .../09-libcilkrts5_7.5.0-3ubuntu1~18.04_amd64.deb ... Unpacking libcilkrts5:amd64 (7.5.0-3ubuntu1~18.04) ... Selecting previously unselected package libmpx2:amd64. Preparing to unpack .../10-libmpx2_8.4.0-1ubuntu1~18.04_amd64.deb ... Unpacking libmpx2:amd64 (8.4.0-1ubuntu1~18.04) ... Selecting previously unselected package libquadmath0:amd64. Preparing to unpack .../11-libquadmath0_8.4.0-1ubuntu1~18.04_amd64.deb ... Unpacking libquadmath0:amd64 (8.4.0-1ubuntu1~18.04) ... Selecting previously unselected package libgcc-7-dev:amd64. Preparing to unpack .../12-libgcc-7-dev_7.5.0-3ubuntu1~18.04_amd64.deb ... Unpacking libgcc-7-dev:amd64 (7.5.0-3ubuntu1~18.04) ... Selecting previously unselected package gcc-7. Preparing to unpack .../13-gcc-7_7.5.0-3ubuntu1~18.04_amd64.deb ... Unpacking gcc-7 (7.5.0-3ubuntu1~18.04) ... Selecting previously unselected package gcc. Preparing to unpack .../14-gcc_4%3a7.4.0-1ubuntu2.3_amd64.deb ... Unpacking gcc (4:7.4.0-1ubuntu2.3) ... Selecting previously unselected package libstdc++-7-dev:amd64. Preparing to unpack .../15-libstdc++-7-dev_7.5.0-3ubuntu1~18.04_amd64.deb ... Unpacking libstdc++-7-dev:amd64 (7.5.0-3ubuntu1~18.04) ... Selecting previously unselected package g++-7. Preparing to unpack .../16-g++-7_7.5.0-3ubuntu1~18.04_amd64.deb ... Unpacking g++-7 (7.5.0-3ubuntu1~18.04) ... Selecting previously unselected package g++. Preparing to unpack .../17-g++_4%3a7.4.0-1ubuntu2.3_amd64.deb ... Unpacking g++ (4:7.4.0-1ubuntu2.3) ... Selecting previously unselected package make. Preparing to unpack .../18-make_4.1-9.1ubuntu1_amd64.deb ... Unpacking make (4.1-9.1ubuntu1) ... Selecting previously unselected package dpkg-dev. Preparing to unpack .../19-dpkg-dev_1.19.0.5ubuntu2.3_all.deb ... Unpacking dpkg-dev (1.19.0.5ubuntu2.3) ... Selecting previously unselected package build-essential. Preparing to unpack .../20-build-essential_12.4ubuntu1_amd64.deb ... Unpacking build-essential (12.4ubuntu1) ... Selecting previously unselected package python3-lib2to3. Preparing to unpack .../21-python3-lib2to3_3.6.9-1~18.04_all.deb ... Unpacking python3-lib2to3 (3.6.9-1~18.04) ... Selecting previously unselected package python3-distutils. Preparing to unpack .../22-python3-distutils_3.6.9-1~18.04_all.deb ... Unpacking python3-distutils (3.6.9-1~18.04) ... Selecting previously unselected package dh-python. Preparing to unpack .../23-dh-python_3.20180325ubuntu2_all.deb ... Unpacking dh-python (3.20180325ubuntu2) ... Selecting previously unselected package libfakeroot:amd64. Preparing to unpack .../24-libfakeroot_1.22-2ubuntu1_amd64.deb ... Unpacking libfakeroot:amd64 (1.22-2ubuntu1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../25-fakeroot_1.22-2ubuntu1_amd64.deb ... Unpacking fakeroot (1.22-2ubuntu1) ... Selecting previously unselected package libalgorithm-diff-perl. Preparing to unpack .../26-libalgorithm-diff-perl_1.19.03-1_all.deb ... Unpacking libalgorithm-diff-perl (1.19.03-1) ... Selecting previously unselected package libalgorithm-diff-xs-perl. Preparing to unpack .../27-libalgorithm-diff-xs-perl_0.04-5_amd64.deb ... Unpacking libalgorithm-diff-xs-perl (0.04-5) ... Selecting previously unselected package libalgorithm-merge-perl. Preparing to unpack .../28-libalgorithm-merge-perl_0.08-3_all.deb ... Unpacking libalgorithm-merge-perl (0.08-3) ... Selecting previously unselected package libexpat1-dev:amd64. Preparing to unpack .../29-libexpat1-dev_2.2.5-3ubuntu0.2_amd64.deb ... Unpacking libexpat1-dev:amd64 (2.2.5-3ubuntu0.2) ... Selecting previously unselected package libpython3.6-dev:amd64. Preparing to unpack .../30-libpython3.6-dev_3.6.9-1~18.04ubuntu1.3_amd64.deb ... Unpacking libpython3.6-dev:amd64 (3.6.9-1~18.04ubuntu1.3) ... Selecting previously unselected package libpython3-dev:amd64. Preparing to unpack .../31-libpython3-dev_3.6.7-1~18.04_amd64.deb ... Unpacking libpython3-dev:amd64 (3.6.7-1~18.04) ... Selecting previously unselected package manpages-dev. Preparing to unpack .../32-manpages-dev_4.15-1_all.deb ... Unpacking manpages-dev (4.15-1) ... Selecting previously unselected package python-pip-whl. Preparing to unpack .../33-python-pip-whl_9.0.1-2.3~ubuntu1.18.04.4_all.deb ... Unpacking python-pip-whl (9.0.1-2.3~ubuntu1.18.04.4) ... Selecting previously unselected package python3.6-dev. Preparing to unpack .../34-python3.6-dev_3.6.9-1~18.04ubuntu1.3_amd64.deb ... Unpacking python3.6-dev (3.6.9-1~18.04ubuntu1.3) ... Selecting previously unselected package python3-dev. Preparing to unpack .../35-python3-dev_3.6.7-1~18.04_amd64.deb ... Unpacking python3-dev (3.6.7-1~18.04) ... Selecting previously unselected package python3-pip. Preparing to unpack .../36-python3-pip_9.0.1-2.3~ubuntu1.18.04.4_all.deb ... Unpacking python3-pip (9.0.1-2.3~ubuntu1.18.04.4) ... Selecting previously unselected package python3-setuptools. Preparing to unpack .../37-python3-setuptools_39.0.1-2_all.deb ... Unpacking python3-setuptools (39.0.1-2) ... Selecting previously unselected package python3-wheel. Preparing to unpack .../38-python3-wheel_0.30.0-0.2_all.deb ... Unpacking python3-wheel (0.30.0-0.2) ... Setting up libquadmath0:amd64 (8.4.0-1ubuntu1~18.04) ... Setting up libatomic1:amd64 (8.4.0-1ubuntu1~18.04) ... Setting up python-pip-whl (9.0.1-2.3~ubuntu1.18.04.4) ... Setting up make (4.1-9.1ubuntu1) ... Setting up libc6-dbg:amd64 (2.27-3ubuntu1.3) ... Setting up libasan4:amd64 (7.5.0-3ubuntu1~18.04) ... Setting up libcilkrts5:amd64 (7.5.0-3ubuntu1~18.04) ... Setting up libubsan0:amd64 (7.5.0-3ubuntu1~18.04) ... Setting up libtsan0:amd64 (8.4.0-1ubuntu1~18.04) ... Setting up linux-libc-dev:amd64 (4.15.0-123.126) ... Setting up python3-wheel (0.30.0-0.2) ... Setting up liblsan0:amd64 (8.4.0-1ubuntu1~18.04) ... Setting up libmpx2:amd64 (8.4.0-1ubuntu1~18.04) ... Setting up dpkg-dev (1.19.0.5ubuntu2.3) ... Setting up libfakeroot:amd64 (1.22-2ubuntu1) ... Setting up libalgorithm-diff-perl (1.19.03-1) ... Setting up libc-dev-bin (2.27-3ubuntu1.3) ... Setting up python3-lib2to3 (3.6.9-1~18.04) ... Setting up manpages-dev (4.15-1) ... Setting up libc6-dev:amd64 (2.27-3ubuntu1.3) ... Setting up python3-distutils (3.6.9-1~18.04) ... Setting up libitm1:amd64 (8.4.0-1ubuntu1~18.04) ... Setting up fakeroot (1.22-2ubuntu1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Setting up libgcc-7-dev:amd64 (7.5.0-3ubuntu1~18.04) ... Setting up libstdc++-7-dev:amd64 (7.5.0-3ubuntu1~18.04) ... Setting up libalgorithm-merge-perl (0.08-3) ... Setting up libalgorithm-diff-xs-perl (0.04-5) ... Setting up python3-pip (9.0.1-2.3~ubuntu1.18.04.4) ... Setting up libexpat1-dev:amd64 (2.2.5-3ubuntu0.2) ... Setting up python3-setuptools (39.0.1-2) ... Setting up dh-python (3.20180325ubuntu2) ... Setting up gcc-7 (7.5.0-3ubuntu1~18.04) ... Setting up g++-7 (7.5.0-3ubuntu1~18.04) ... Setting up gcc (4:7.4.0-1ubuntu2.3) ... Setting up libpython3.6-dev:amd64 (3.6.9-1~18.04ubuntu1.3) ... Setting up g++ (4:7.4.0-1ubuntu2.3) ... update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode Setting up python3.6-dev (3.6.9-1~18.04ubuntu1.3) ... Setting up libpython3-dev:amd64 (3.6.7-1~18.04) ... Setting up build-essential (12.4ubuntu1) ... Setting up python3-dev (3.6.7-1~18.04) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... Processing triggers for libc-bin (2.27-3ubuntu1.2) ... Collecting pip Downloading https://files.pythonhosted.org/packages/cb/28/91f26bd088ce8e22169032100d4260614fc3da435025ff389ef1d396a433/pip-20.2.4-py2.py3-none-any.whl (1.5MB) 100% |################################| 1.5MB 11kB/s Installing collected packages: pip Found existing installation: pip 9.0.1 Not uninstalling pip at /usr/lib/python3/dist-packages, outside environment /usr Successfully installed pip-20.2.4 Collecting python-magic Downloading python_magic-0.4.18-py2.py3-none-any.whl (8.6 kB) Collecting pyangbind Downloading pyangbind-0.8.1.tar.gz (48 kB) |################################| 48 kB 26 kB/s Collecting verboselogs Downloading verboselogs-1.7-py2.py3-none-any.whl (11 kB) Collecting bitarray Downloading bitarray-1.6.1.tar.gz (55 kB) |################################| 55 kB 26 kB/s Collecting enum34 Downloading enum34-1.1.10-py3-none-any.whl (11 kB) Collecting lxml Downloading lxml-4.6.1-cp36-cp36m-manylinux1_x86_64.whl (5.5 MB) |################################| 5.5 MB 10 kB/s Collecting pyang Downloading pyang-2.4.0-py2.py3-none-any.whl (591 kB) |################ | 296 kB 11 kB/s eta 0:00:26ERROR: Exception: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/pip/_vendor/urllib3/response.py", line 437, in _error_catcher yield File "/usr/local/lib/python3.6/dist-packages/pip/_vendor/urllib3/response.py", line 519, in read data = self._fp.read(amt) if not fp_closed else b"" File "/usr/local/lib/python3.6/dist-packages/pip/_vendor/cachecontrol/filewrapper.py", line 62, in read data = self.__fp.read(amt) File "/usr/lib/python3.6/http/client.py", line 463, in read n = self.readinto(b) File "/usr/lib/python3.6/http/client.py", line 507, in readinto n = self.fp.readinto(b) File "/usr/lib/python3.6/socket.py", line 586, in readinto return self._sock.recv_into(b) File "/usr/lib/python3.6/ssl.py", line 1012, in recv_into return self.read(nbytes, buffer) File "/usr/lib/python3.6/ssl.py", line 874, in read return self._sslobj.read(len, buffer) File "/usr/lib/python3.6/ssl.py", line 631, in read v = self._sslobj.read(len, buffer) socket.timeout: The read operation timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/pip/_internal/cli/base_command.py", line 228, in _main status = self.run(options, args) File "/usr/local/lib/python3.6/dist-packages/pip/_internal/cli/req_command.py", line 182, in wrapper return func(self, options, args) File "/usr/local/lib/python3.6/dist-packages/pip/_internal/commands/install.py", line 324, in run reqs, check_supported_wheels=not options.target_dir File "/usr/local/lib/python3.6/dist-packages/pip/_internal/resolution/legacy/resolver.py", line 183, in resolve discovered_reqs.extend(self._resolve_one(requirement_set, req)) File "/usr/local/lib/python3.6/dist-packages/pip/_internal/resolution/legacy/resolver.py", line 388, in _resolve_one abstract_dist = self._get_abstract_dist_for(req_to_install) File "/usr/local/lib/python3.6/dist-packages/pip/_internal/resolution/legacy/resolver.py", line 340, in _get_abstract_dist_for abstract_dist = self.preparer.prepare_linked_requirement(req) File "/usr/local/lib/python3.6/dist-packages/pip/_internal/operations/prepare.py", line 469, in prepare_linked_requirement hashes=self._get_linked_req_hashes(req) File "/usr/local/lib/python3.6/dist-packages/pip/_internal/operations/prepare.py", line 259, in unpack_url hashes=hashes, File "/usr/local/lib/python3.6/dist-packages/pip/_internal/operations/prepare.py", line 130, in get_http_url link, downloader, temp_dir.path, hashes File "/usr/local/lib/python3.6/dist-packages/pip/_internal/operations/prepare.py", line 282, in _download_http_url for chunk in download.chunks: File "/usr/local/lib/python3.6/dist-packages/pip/_internal/cli/progress_bars.py", line 168, in iter for x in it: File "/usr/local/lib/python3.6/dist-packages/pip/_internal/network/utils.py", line 88, in response_chunks decode_content=False, File "/usr/local/lib/python3.6/dist-packages/pip/_vendor/urllib3/response.py", line 576, in stream data = self.read(amt=amt, decode_content=decode_content) File "/usr/local/lib/python3.6/dist-packages/pip/_vendor/urllib3/response.py", line 541, in read raise IncompleteRead(self._fp_bytes_read, self.length_remaining) File "/usr/lib/python3.6/contextlib.py", line 99, in __exit__ self.gen.throw(type, value, traceback) File "/usr/local/lib/python3.6/dist-packages/pip/_vendor/urllib3/response.py", line 442, in _error_catcher raise ReadTimeoutError(self._pool, None, "Read timed out.") pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. [sudo] password for songbin: Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: fonts-liberation2 fonts-opensymbol gir1.2-gst-plugins-base-1.0 gir1.2-gstreamer-1.0 gir1.2-gudev-1.0 gir1.2-udisks-2.0 grilo-plugins-0.3-base gstreamer1.0-gtk3 libboost-date-time1.65.1 libboost-filesystem1.65.1 libboost-iostreams1.65.1 libboost-locale1.65.1 libcdr-0.1-1 libclucene-contribs1v5 libclucene-core1v5 libcmis-0.5-5v5 libcolamd2 libdazzle-1.0-0 libe-book-0.1-1 libedataserverui-1.2-2 libeot0 libepubgen-0.1-1 libetonyek-0.1-1 libevent-2.1-6 libexiv2-14 libfreerdp-client2-2 libfreerdp2-2 libgc1c2 libgee-0.8-2 libgexiv2-2 libgom-1.0-0 libgpgmepp6 libgpod-common libgpod4 liblangtag-common liblangtag1 liblirc-client0 liblua5.3-0 libmediaart-2.0-0 libmspub-0.1-1 libodfgen-0.1-1 libqqwing2v5 libraw16 librevenge-0.0-0 libsgutils2-2 libssh-4 libsuitesparseconfig5 libvncclient1 libwinpr2-2 libxapian30 libxmlsec1 libxmlsec1-nss lp-solve media-player-info python3-mako syslinux syslinux-common syslinux-legacy usb-creator-common Use 'sudo apt autoremove' to remove them. The following additional packages will be installed: osm-imdocs python3-click python3-colorama python3-jinja2 python3-magic python3-packaging python3-prettytable python3-pycurl python3-pyparsing python3-ruamel.yaml Suggested packages: python-jinja2-doc libcurl4-gnutls-dev python-pycurl-doc python3-pycurl-dbg python-pyparsing-doc The following NEW packages will be installed: osm-imdocs python3-click python3-colorama python3-jinja2 python3-magic python3-osm-im python3-osmclient python3-packaging python3-prettytable python3-pycurl python3-pyparsing python3-ruamel.yaml 0 upgraded, 12 newly installed, 0 to remove and 35 not upgraded. Need to get 779 kB of archives. After this operation, 10.9 MB of additional disk space will be used. Get:1 http://cn.archive.ubuntu.com/ubuntu bionic/main amd64 python3-colorama all 0.3.7-1 [14.9 kB] Get:2 https://osm-download.etsi.org/repository/osm/debian/ReleaseEIGHT stable/IM amd64 osm-imdocs all 8.0.2-g03c9aaf [135 kB] Get:3 http://cn.archive.ubuntu.com/ubuntu bionic/main amd64 python3-click all 6.7-3 [56.5 kB] Get:4 http://cn.archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3-jinja2 all 2.10-1ubuntu0.18.04.1 [95.4 kB] Get:5 https://osm-download.etsi.org/repository/osm/debian/ReleaseEIGHT stable/IM amd64 python3-osm-im all 8.0.2+g03c9aaf.dirty-1 [89.3 kB] Get:6 http://cn.archive.ubuntu.com/ubuntu bionic/main amd64 python3-magic all 2:0.4.15-1 [9,280 B] Get:7 http://cn.archive.ubuntu.com/ubuntu bionic/main amd64 python3-pyparsing all 2.2.0+dfsg1-2 [52.2 kB] Get:8 http://cn.archive.ubuntu.com/ubuntu bionic/universe amd64 python3-packaging all 17.1-1 [18.2 kB] Get:9 http://cn.archive.ubuntu.com/ubuntu bionic/main amd64 python3-prettytable all 0.7.2-3 [19.7 kB] Get:10 http://cn.archive.ubuntu.com/ubuntu bionic/main amd64 python3-pycurl amd64 7.43.0.1-0.2 [42.5 kB] Get:11 http://cn.archive.ubuntu.com/ubuntu bionic/universe amd64 python3-ruamel.yaml amd64 0.15.34-1 [189 kB] Get:12 https://osm-download.etsi.org/repository/osm/debian/ReleaseEIGHT stable/osmclient amd64 python3-osmclient all 8.0.2+gd7ce766.dirty-1 [56.7 kB] Fetched 779 kB in 5s (170 kB/s) Selecting previously unselected package osm-imdocs. (Reading database ... 164471 files and directories currently installed.) Preparing to unpack .../00-osm-imdocs_8.0.2-g03c9aaf_all.deb ... Unpacking osm-imdocs (8.0.2-g03c9aaf) ... Selecting previously unselected package python3-colorama. Preparing to unpack .../01-python3-colorama_0.3.7-1_all.deb ... Unpacking python3-colorama (0.3.7-1) ... Selecting previously unselected package python3-click. Preparing to unpack .../02-python3-click_6.7-3_all.deb ... Unpacking python3-click (6.7-3) ... Selecting previously unselected package python3-jinja2. Preparing to unpack .../03-python3-jinja2_2.10-1ubuntu0.18.04.1_all.deb ... Unpacking python3-jinja2 (2.10-1ubuntu0.18.04.1) ... Selecting previously unselected package python3-osm-im. Preparing to unpack .../04-python3-osm-im_8.0.2+g03c9aaf.dirty-1_all.deb ... Unpacking python3-osm-im (8.0.2+g03c9aaf.dirty-1) ... Selecting previously unselected package python3-magic. Preparing to unpack .../05-python3-magic_2%3a0.4.15-1_all.deb ... Unpacking python3-magic (2:0.4.15-1) ... Selecting previously unselected package python3-pyparsing. Preparing to unpack .../06-python3-pyparsing_2.2.0+dfsg1-2_all.deb ... Unpacking python3-pyparsing (2.2.0+dfsg1-2) ... Selecting previously unselected package python3-packaging. Preparing to unpack .../07-python3-packaging_17.1-1_all.deb ... Unpacking python3-packaging (17.1-1) ... Selecting previously unselected package python3-prettytable. Preparing to unpack .../08-python3-prettytable_0.7.2-3_all.deb ... Unpacking python3-prettytable (0.7.2-3) ... Selecting previously unselected package python3-pycurl. Preparing to unpack .../09-python3-pycurl_7.43.0.1-0.2_amd64.deb ... Unpacking python3-pycurl (7.43.0.1-0.2) ... Selecting previously unselected package python3-ruamel.yaml. Preparing to unpack .../10-python3-ruamel.yaml_0.15.34-1_amd64.deb ... Unpacking python3-ruamel.yaml (0.15.34-1) ... Selecting previously unselected package python3-osmclient. Preparing to unpack .../11-python3-osmclient_8.0.2+gd7ce766.dirty-1_all.deb ... Unpacking python3-osmclient (8.0.2+gd7ce766.dirty-1) ... Setting up python3-pycurl (7.43.0.1-0.2) ... Setting up python3-ruamel.yaml (0.15.34-1) ... Setting up python3-magic (2:0.4.15-1) ... Setting up python3-colorama (0.3.7-1) ... Setting up python3-pyparsing (2.2.0+dfsg1-2) ... Setting up python3-prettytable (0.7.2-3) ... Setting up python3-jinja2 (2.10-1ubuntu0.18.04.1) ... Setting up python3-packaging (17.1-1) ... Setting up osm-imdocs (8.0.2-g03c9aaf) ... Setting up python3-click (6.7-3) ... Setting up python3-osm-im (8.0.2+g03c9aaf.dirty-1) ... Setting up python3-osmclient (8.0.2+gd7ce766.dirty-1) ... OSM client installed OSM client assumes that OSM host is running in localhost (127.0.0.1). In case you want to interact with a different OSM host, you will have to configure this env variable in your .bashrc file: export OSM_HOSTNAME=<OSM_host> Checking OSM health state...View Code
安装后的访问界面如下,浏览器直接 虚拟机ip即可访问,用户名 / 密码 admin / admin
标签:Pull,amd64,...,osm,complete,ubuntu,安装,python3,mano 来源: https://www.cnblogs.com/s6-b/p/13958493.html