Open RichardHightower opened 4 years ago
cloudurable@cloudurable-PC:~$ sudo apt update
[sudo] password for cloudurable:
Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:4 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
73 packages can be upgraded. Run 'apt list --upgradable' to see them.
cloudurable@cloudurable-PC:~$ sudo apt install apt-transport-https ca-certificates software-properties-common
E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
cloudurable@cloudurable-PC:~$ sudo apt install apt-transport-https ca-certificates curl software-properties-common
E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
cloudurable@cloudurable-PC:~$ ps aux | grep -i apt
root 2974 0.0 0.0 4624 788 ? Ss 10:55 0:00 /bin/sh /usr/lib/apt/apt.systemd.daily install
root 2978 0.0 0.0 4624 1764 ? S 10:55 0:00 /bin/sh /usr/lib/apt/apt.systemd.daily lock_is_held install
cloudur+ 3195 0.0 0.0 21532 1036 pts/0 R+ 10:59 0:00 grep --color=auto -i apt
cloudurable@cloudurable-PC:~$ ps aux | grep -i apt
root 2974 0.0 0.0 4624 788 ? Ss 10:55 0:00 /bin/sh /usr/lib/apt/apt.systemd.daily install
root 2978 0.0 0.0 4624 1764 ? S 10:55 0:00 /bin/sh /usr/lib/apt/apt.systemd.daily lock_is_held install
cloudur+ 4761 0.0 0.0 21532 1076 pts/0 S+ 11:00 0:00 grep --color=auto -i apt
cloudurable@cloudurable-PC:~$ ps aux | grep -i apt
root 2974 0.0 0.0 4624 788 ? Ss 10:55 0:00 /bin/sh /usr/lib/apt/apt.systemd.daily install
root 2978 0.0 0.0 4624 1764 ? S 10:55 0:00 /bin/sh /usr/lib/apt/apt.systemd.daily lock_is_held install
root 5100 0.6 0.4 233768 35588 ? SNl 11:01 0:00 /usr/bin/python3 /usr/sbin/aptd
root 6260 23.0 1.2 176924 97048 ? RN 11:01 0:00 /usr/bin/python3 /usr/lib/update-notifier/apt-check --human-readable
cloudur+ 6265 0.0 0.0 21532 1048 pts/0 R+ 11:01 0:00 grep --color=auto -i apt
cloudurable@cloudurable-PC:~$ ps aux | grep -i apt
root 2974 0.0 0.0 4624 788 ? Ss 10:55 0:00 /bin/sh /usr/lib/apt/apt.systemd.daily install
root 2978 0.0 0.0 4624 1764 ? S 10:55 0:00 /bin/sh /usr/lib/apt/apt.systemd.daily lock_is_held install
root 5100 0.6 0.4 233768 35588 ? SNl 11:01 0:00 /usr/bin/python3 /usr/sbin/aptd
cloudur+ 6298 0.0 0.0 21532 1108 pts/0 S+ 11:01 0:00 grep --color=auto -i apt
cloudurable@cloudurable-PC:~$ ps aux | grep -i apt
root 2974 0.0 0.0 4624 788 ? Ss 10:55 0:00 /bin/sh /usr/lib/apt/apt.systemd.daily install
root 2978 0.0 0.0 4624 1764 ? S 10:55 0:00 /bin/sh /usr/lib/apt/apt.systemd.daily lock_is_held install
root 5100 0.4 0.4 233768 35588 ? SNl 11:01 0:00 /usr/bin/python3 /usr/sbin/aptd
root 6505 8.0 0.3 60652 31420 pts/1 Ds+ 11:01 0:00 /usr/bin/dpkg --status-fd 12 --no-triggers --unpack --auto-deconfigure /var/cache/apt/archives/ppp_2.4.7-2+2ubuntu1.2_amd64.deb
cloudur+ 6519 0.0 0.0 21532 1004 pts/0 S+ 11:01 0:00 grep --color=auto -i apt
cloudurable@cloudurable-PC:~$ ps aux | grep -i apt
root 2974 0.0 0.0 4624 788 ? Ss 10:55 0:00 /bin/sh /usr/lib/apt/apt.systemd.daily install
root 2978 0.0 0.0 4624 1764 ? S 10:55 0:00 /bin/sh /usr/lib/apt/apt.systemd.daily lock_is_held install
root 5100 0.4 0.4 233768 35588 ? SNl 11:01 0:00 /usr/bin/python3 /usr/sbin/aptd
cloudur+ 7528 0.0 0.0 21532 1004 pts/0 S+ 11:01 0:00 grep --color=auto -i apt
cloudurable@cloudurable-PC:~$ ps aux | grep -i apt
root 2974 0.0 0.0 4624 788 ? Ss 10:55 0:00 /bin/sh /usr/lib/apt/apt.systemd.daily install
root 2978 0.0 0.0 4624 1764 ? S 10:55 0:00 /bin/sh /usr/lib/apt/apt.systemd.daily lock_is_held install
root 5100 0.4 0.4 233768 35588 ? SNl 11:01 0:00 /usr/bin/python3 /usr/sbin/aptd
cloudur+ 7558 0.0 0.0 21532 1032 pts/0 R+ 11:01 0:00 grep --color=auto -i apt
cloudurable@cloudurable-PC:~$ ps aux | grep -i apt
root 2974 0.0 0.0 4624 788 ? Ss 10:55 0:00 /bin/sh /usr/lib/apt/apt.systemd.daily install
root 2978 0.0 0.0 4624 1764 ? S 10:55 0:00 /bin/sh /usr/lib/apt/apt.systemd.daily lock_is_held install
root 5100 0.4 0.4 233768 35588 ? SNl 11:01 0:00 /usr/bin/python3 /usr/sbin/aptd
cloudur+ 7560 0.0 0.0 21532 1036 pts/0 R+ 11:02 0:00 grep --color=auto -i apt
cloudurable@cloudurable-PC:~$ ps aux | grep -i apt
root 2974 0.0 0.0 4624 788 ? Ss 10:55 0:00 /bin/sh /usr/lib/apt/apt.systemd.daily install
root 2978 0.0 0.0 4624 1764 ? S 10:55 0:00 /bin/sh /usr/lib/apt/apt.systemd.daily lock_is_held install
root 5100 0.4 0.4 233768 35588 ? SNl 11:01 0:00 /usr/bin/python3 /usr/sbin/aptd
cloudur+ 7563 0.0 0.0 21532 1076 pts/0 R+ 11:02 0:00 grep --color=auto -i apt
cloudurable@cloudurable-PC:~$ ps aux | grep -i apt
root 2974 0.0 0.0 4624 788 ? Ss 10:55 0:00 /bin/sh /usr/lib/apt/apt.systemd.daily install
root 2978 0.0 0.0 4624 1764 ? S 10:55 0:00 /bin/sh /usr/lib/apt/apt.systemd.daily lock_is_held install
root 5100 0.4 0.4 233768 35588 ? SNl 11:01 0:00 /usr/bin/python3 /usr/sbin/aptd
root 7581 0.0 0.3 60644 31424 pts/1 Ss+ 11:02 0:00 /usr/bin/dpkg --status-fd 12 --no-triggers --unpack --auto-deconfigure /var/cache/apt/archives/python3-pil_5.1.0-1ubuntu0.2_amd64.deb
cloudur+ 7591 0.0 0.0 21532 1036 pts/0 S+ 11:02 0:00 grep --color=auto -i apt
cloudurable@cloudurable-PC:~$ ps aux | grep -i apt
root 2974 0.0 0.0 4624 788 ? Ss 10:55 0:00 /bin/sh /usr/lib/apt/apt.systemd.daily install
root 2978 0.0 0.0 4624 1764 ? S 10:55 0:00 /bin/sh /usr/lib/apt/apt.systemd.daily lock_is_held install
root 5100 0.4 0.4 233768 35588 ? SNl 11:01 0:00 /usr/bin/python3 /usr/sbin/aptd
cloudur+ 7611 0.0 0.0 21532 1060 pts/0 R+ 11:02 0:00 grep --color=auto -i apt
cloudurable@cloudurable-PC:~$ sudo apt install apt-transport-https ca-certificates curl software-properties-common
E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
cloudurable@cloudurable-PC:~$ ps aux | grep -i apt
root 2974 0.0 0.0 4624 788 ? Ss 10:55 0:00 /bin/sh /usr/lib/apt/apt.systemd.daily install
root 2978 0.0 0.0 4624 1764 ? S 10:55 0:00 /bin/sh /usr/lib/apt/apt.systemd.daily lock_is_held install
root 5100 0.3 0.4 233768 35588 ? SNl 11:01 0:00 /usr/bin/python3 /usr/sbin/aptd
root 7734 83.0 2.1 251668 172040 ? RN 11:02 0:00 /usr/bin/python3 /usr/lib/update-notifier/apt-check --human-readable
cloudur+ 7743 0.0 0.0 21532 1088 pts/0 R+ 11:02 0:00 grep --color=auto -i apt
cloudurable@cloudurable-PC:~$ ps aux | grep -i apt
root 2974 0.0 0.0 4624 788 ? Ss 10:55 0:00 /bin/sh /usr/lib/apt/apt.systemd.daily install
root 2978 0.0 0.0 4624 1764 ? S 10:55 0:00 /bin/sh /usr/lib/apt/apt.systemd.daily lock_is_held install
root 5100 0.3 0.4 233768 35588 ? SNl 11:01 0:00 /usr/bin/python3 /usr/sbin/aptd
cloudur+ 7773 0.0 0.0 21532 1032 pts/0 R+ 11:02 0:00 grep --color=auto -i apt
cloudurable@cloudurable-PC:~$ shutdown -r now
Operation inhibited by "APT" (PID 7866 "unattended-upgr", user root), reason is "APT is installing or removing packages".
Please retry operation after closing inhibitors and logging out other users.
Alternatively, ignore inhibitors and users with 'systemctl reboot -i'.
cloudurable@cloudurable-PC:~$ ps aux | grep -i apt
root 5100 0.0 0.4 233768 35588 ? SNl 11:01 0:00 /usr/bin/python3 /usr/sbin/aptd
cloudur+ 24962 0.0 0.0 21532 1124 pts/0 S+ 11:07 0:00 grep --color=auto -i apt
cloudurable@cloudurable-PC:~$ sudo apt install apt-transport-https ca-certificates software-properties-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
ca-certificates is already the newest version (20180409).
ca-certificates set to manually installed.
software-properties-common is already the newest version (0.96.24.32.12).
software-properties-common set to manually installed.
The following NEW packages will be installed:
apt-transport-https
0 upgraded, 1 newly installed, 0 to remove and 34 not upgraded.
Need to get 1,692 B of archives.
After this operation, 153 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 apt-transport-https all 1.6.12 [1,692 B]
Fetched 1,692 B in 0s (4,596 B/s)
Selecting previously unselected package apt-transport-https.
(Reading database ... 163407 files and directories currently installed.)
Preparing to unpack .../apt-transport-https_1.6.12_all.deb ...
Unpacking apt-transport-https (1.6.12) ...
Setting up apt-transport-https (1.6.12) ...
cloudurable@cloudurable-PC:~$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
OK
cloudurable@cloudurable-PC:~$ sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"
Get:1 https://download.docker.com/linux/ubuntu bionic InRelease [64.4 kB]
Hit:2 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Hit:3 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:4 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:5 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease
Get:6 https://download.docker.com/linux/ubuntu bionic/stable amd64 Packages [11.0 kB]
Fetched 75.5 kB in 1s (115 kB/s)
Reading package lists... Done
cloudurable@cloudurable-PC:~$ sudo apt update
Hit:1 https://download.docker.com/linux/ubuntu bionic InRelease
Hit:2 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Hit:4 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:5 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
34 packages can be upgraded. Run 'apt list --upgradable' to see them.
cloudurable@cloudurable-PC:~$ apt-cache policy docker-ce
docker-ce:
Installed: (none)
Candidate: 5:19.03.8~3-0~ubuntu-bionic
Version table:
5:19.03.8~3-0~ubuntu-bionic 500
500 https://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
5:19.03.7~3-0~ubuntu-bionic 500
500 https://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
5:19.03.6~3-0~ubuntu-bionic 500
500 https://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
5:19.03.5~3-0~ubuntu-bionic 500
500 https://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
5:19.03.4~3-0~ubuntu-bionic 500
500 https://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
5:19.03.3~3-0~ubuntu-bionic 500
500 https://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
5:19.03.2~3-0~ubuntu-bionic 500
500 https://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
5:19.03.1~3-0~ubuntu-bionic 500
500 https://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
5:19.03.0~3-0~ubuntu-bionic 500
500 https://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
5:18.09.9~3-0~ubuntu-bionic 500
500 https://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
5:18.09.8~3-0~ubuntu-bionic 500
500 https://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
5:18.09.7~3-0~ubuntu-bionic 500
500 https://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
5:18.09.6~3-0~ubuntu-bionic 500
500 https://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
5:18.09.5~3-0~ubuntu-bionic 500
500 https://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
5:18.09.4~3-0~ubuntu-bionic 500
500 https://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
5:18.09.3~3-0~ubuntu-bionic 500
500 https://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
5:18.09.2~3-0~ubuntu-bionic 500
500 https://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
5:18.09.1~3-0~ubuntu-bionic 500
500 https://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
5:18.09.0~3-0~ubuntu-bionic 500
500 https://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
18.06.3~ce~3-0~ubuntu 500
500 https://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
18.06.2~ce~3-0~ubuntu 500
500 https://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
18.06.1~ce~3-0~ubuntu 500
500 https://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
18.06.0~ce~3-0~ubuntu 500
500 https://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
18.03.1~ce~3-0~ubuntu 500
500 https://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
cloudurable@cloudurable-PC:~$ sudo apt install docker-ce
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
aufs-tools cgroupfs-mount containerd.io docker-ce-cli git git-man liberror-perl pigz
Suggested packages:
git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb git-cvs
git-mediawiki git-svn
The following NEW packages will be installed:
aufs-tools cgroupfs-mount containerd.io docker-ce docker-ce-cli git git-man liberror-perl
pigz
0 upgraded, 9 newly installed, 0 to remove and 34 not upgraded.
Need to get 90.5 MB of archives.
After this operation, 419 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://download.docker.com/linux/ubuntu bionic/stable amd64 containerd.io amd64 1.2.13-1 [20.1 MB]
Get:2 http://us.archive.ubuntu.com/ubuntu bionic/universe amd64 pigz amd64 2.4-1 [57.4 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu bionic/universe amd64 aufs-tools amd64 1:4.9+20170918-1ubuntu1 [104 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu bionic/universe amd64 cgroupfs-mount all 1.4 [6,320 B]
Get:5 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.5 [803 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.5 [3,912 kB]
Get:8 https://download.docker.com/linux/ubuntu bionic/stable amd64 docker-ce-cli amd64 5:19.03.8~3-0~ubuntu-bionic [42.6 MB]
Get:9 https://download.docker.com/linux/ubuntu bionic/stable amd64 docker-ce amd64 5:19.03.8~3-0~ubuntu-bionic [22.9 MB]
Fetched 90.5 MB in 7s (13.7 MB/s)
Selecting previously unselected package pigz.
(Reading database ... 163411 files and directories currently installed.)
Preparing to unpack .../0-pigz_2.4-1_amd64.deb ...
Unpacking pigz (2.4-1) ...
Selecting previously unselected package aufs-tools.
Preparing to unpack .../1-aufs-tools_1%3a4.9+20170918-1ubuntu1_amd64.deb ...
Unpacking aufs-tools (1:4.9+20170918-1ubuntu1) ...
Selecting previously unselected package cgroupfs-mount.
Preparing to unpack .../2-cgroupfs-mount_1.4_all.deb ...
Unpacking cgroupfs-mount (1.4) ...
Selecting previously unselected package containerd.io.
Preparing to unpack .../3-containerd.io_1.2.13-1_amd64.deb ...
Unpacking containerd.io (1.2.13-1) ...
Selecting previously unselected package docker-ce-cli.
Preparing to unpack .../4-docker-ce-cli_5%3a19.03.8~3-0~ubuntu-bionic_amd64.deb ...
Unpacking docker-ce-cli (5:19.03.8~3-0~ubuntu-bionic) ...
Selecting previously unselected package docker-ce.
Preparing to unpack .../5-docker-ce_5%3a19.03.8~3-0~ubuntu-bionic_amd64.deb ...
Unpacking docker-ce (5:19.03.8~3-0~ubuntu-bionic) ...
Selecting previously unselected package liberror-perl.
Preparing to unpack .../6-liberror-perl_0.17025-1_all.deb ...
Unpacking liberror-perl (0.17025-1) ...
Selecting previously unselected package git-man.
Preparing to unpack .../7-git-man_1%3a2.17.1-1ubuntu0.5_all.deb ...
Unpacking git-man (1:2.17.1-1ubuntu0.5) ...
Selecting previously unselected package git.
Preparing to unpack .../8-git_1%3a2.17.1-1ubuntu0.5_amd64.deb ...
Unpacking git (1:2.17.1-1ubuntu0.5) ...
Setting up aufs-tools (1:4.9+20170918-1ubuntu1) ...
Setting up git-man (1:2.17.1-1ubuntu0.5) ...
Setting up containerd.io (1.2.13-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.8~3-0~ubuntu-bionic) ...
Setting up pigz (2.4-1) ...
Setting up git (1:2.17.1-1ubuntu0.5) ...
Setting up docker-ce (5:19.03.8~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) ...
Processing triggers for systemd (237-3ubuntu10.38) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for ureadahead (0.100.0-21) ...
cloudurable@cloudurable-PC:~$ docker version
Client: Docker Engine - Community
Version: 19.03.8
API version: 1.40
Go version: go1.12.17
Git commit: afacb8b7f0
Built: Wed Mar 11 01:25:46 2020
OS/Arch: linux/amd64
Experimental: false
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.40/version: dial unix /var/run/docker.sock: connect: permission denied
cloudurable@cloudurable-PC:~$
add docker-compose