のねのBlog

パソコンの問題や、ソフトウェアの開発で起きた問題など書いていきます。よろしくお願いします^^。

m_fujii@none11:~$ dpkg -l '*docker*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                      Version           Architecture      Description
+++-=========================-=================-=================-=======================================================
un  docker                    <none>            <none>            (no description available)
ii  docker-ce                 2:18.09.0~ce~0.4. amd64             Docker: the open-source application container engine
ii  docker-ce-cli             2:18.09.0~ce~0.4. amd64             Docker CLI: the open-source application container engin
un  docker-engine             <none>            <none>            (no description available)
un  docker-engine-cs          <none>            <none>            (no description available)
un  docker.io                 <none>            <none>            (no description available)
un  lxc-docker                <none>            <none>            (no description available)
un  lxc-docker-virtual-packag <none>            <none>            (no description available)
m_fujii@none11:~$ apt-cache madison docker-ce
 docker-ce | 2:18.09.0~ce~0.4.tp4-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 2:18.09.0~ce~0.3.tp3-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 2:18.09.0~ce~0.0.tp0-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 18.06.1~ce~3-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/stable amd64 Packages
 docker-ce | 18.06.1~ce~3-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 18.06.1~ce~3-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/edge amd64 Packages
 docker-ce | 18.06.1~ce~2.2.rc2-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 18.06.1~ce~2.1.rc1-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 18.06.0~ce~3-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/stable amd64 Packages
 docker-ce | 18.06.0~ce~3-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 18.06.0~ce~3-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/edge amd64 Packages
 docker-ce | 18.06.0~ce~2.3.rc3-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 18.06.0~ce~2.2.rc2-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 18.06.0~ce~2.1.rc1-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 18.05.0~ce~3-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 18.05.0~ce~3-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/edge amd64 Packages
 docker-ce | 18.05.0~ce~2.1.rc1-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 18.04.0~ce~3-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 18.04.0~ce~3-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/edge amd64 Packages
 docker-ce | 18.04.0~ce~2.2.rc2-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 18.04.0~ce~2.1.rc1-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 18.03.1~ce-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/stable amd64 Packages
 docker-ce | 18.03.1~ce-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 18.03.1~ce-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/edge amd64 Packages
 docker-ce | 18.03.1~ce~rc2-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 18.03.1~ce~rc1-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 18.03.0~ce-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/stable amd64 Packages
 docker-ce | 18.03.0~ce-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 18.03.0~ce-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/edge amd64 Packages
 docker-ce | 18.03.0~ce~rc4-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 18.03.0~ce~rc3-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 18.03.0~ce~rc2-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 18.03.0~ce~rc1-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 18.02.0~ce-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 18.02.0~ce-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/edge amd64 Packages
 docker-ce | 18.02.0~ce~rc2-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 18.02.0~ce~rc1-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 18.01.0~ce-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 18.01.0~ce-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/edge amd64 Packages
 docker-ce | 18.01.0~ce~rc1-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 17.12.1~ce-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/stable amd64 Packages
 docker-ce | 17.12.1~ce-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 17.12.1~ce-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/edge amd64 Packages
 docker-ce | 17.12.1~ce~rc2-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 17.12.1~ce~rc1-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 17.12.0~ce-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/stable amd64 Packages
 docker-ce | 17.12.0~ce-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 17.12.0~ce-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/edge amd64 Packages
 docker-ce | 17.12.0~ce~rc4-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 17.12.0~ce~rc3-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 17.12.0~ce~rc2-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 17.12.0~ce~rc1-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 17.11.0~ce-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 17.11.0~ce-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/edge amd64 Packages
 docker-ce | 17.11.0~ce~rc4-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 17.11.0~ce~rc3-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 17.11.0~ce~rc2-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 17.11.0~ce~rc1-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 17.10.0~ce-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 17.10.0~ce-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/edge amd64 Packages
 docker-ce | 17.10.0~ce~rc2-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 17.10.0~ce~rc1-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 17.09.1~ce-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/stable amd64 Packages
 docker-ce | 17.09.1~ce-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 17.09.1~ce-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/edge amd64 Packages
 docker-ce | 17.09.1~ce~rc1-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 17.09.0~ce-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/stable amd64 Packages
 docker-ce | 17.09.0~ce-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 17.09.0~ce-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/edge amd64 Packages
 docker-ce | 17.09.0~ce~rc3-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 17.09.0~ce~rc2-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 17.09.0~ce~rc1-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 17.07.0~ce-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 17.07.0~ce-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/edge amd64 Packages
 docker-ce | 17.07.0~ce~rc4-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 17.07.0~ce~rc3-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 17.07.0~ce~rc2-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 17.07.0~ce~rc1-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 17.06.2~ce-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/stable amd64 Packages
 docker-ce | 17.06.2~ce-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 17.06.2~ce-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/edge amd64 Packages
 docker-ce | 17.06.2~ce~rc1-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 17.06.1~ce-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/stable amd64 Packages
 docker-ce | 17.06.1~ce-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 17.06.1~ce-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/edge amd64 Packages
 docker-ce | 17.06.1~ce~rc4-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 17.06.1~ce~rc3-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 17.06.1~ce~rc2-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 17.06.1~ce~rc1-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 17.06.0~ce-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/stable amd64 Packages
 docker-ce | 17.06.0~ce-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 17.06.0~ce-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/edge amd64 Packages
 docker-ce | 17.06.0~ce~rc5-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 17.06.0~ce~rc4-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 17.06.0~ce~rc3-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 17.06.0~ce~rc2-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 17.06.0~ce~rc1-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 17.05.0~ce-0~ubuntu-xenial | https://download.docker.com/linux/ubuntu xenial/edge amd64 Packages
 docker-ce | 17.05.0~ce~rc3-0~ubuntu-xenial | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 17.05.0~ce~rc2-0~ubuntu-xenial | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 17.05.0~ce~rc1-0~ubuntu-xenial | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 17.04.0~ce-0~ubuntu-xenial | https://download.docker.com/linux/ubuntu xenial/edge amd64 Packages
 docker-ce | 17.04.0~ce~rc2-0~ubuntu-xenial | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 17.04.0~ce~rc1-0~ubuntu-xenial | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 17.03.2~ce-0~ubuntu-xenial | https://download.docker.com/linux/ubuntu xenial/stable amd64 Packages
 docker-ce | 17.03.2~ce~rc1-0~ubuntu-xenial | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 17.03.1~ce-0~ubuntu-xenial | https://download.docker.com/linux/ubuntu xenial/stable amd64 Packages
 docker-ce | 17.03.1~ce~rc1-0~ubuntu-xenial | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages
 docker-ce | 17.03.0~ce-0~ubuntu-xenial | https://download.docker.com/linux/ubuntu xenial/stable amd64 Packages
m_fujii@none11:~$ sudo apt-get install docker-ce=18.06.1~ce~3-0~ubuntu
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  containerd.io docker-ce-cli
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  aufs-tools
The following NEW packages will be installed:
  aufs-tools
The following packages will be DOWNGRADED:
  docker-ce
0 upgraded, 1 newly installed, 1 downgraded, 0 to remove and 0 not upgraded.
Need to get 40.1 MB of archives.
After this operation, 117 MB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 http://jp.archive.ubuntu.com/ubuntu xenial/universe amd64 aufs-tools amd64 1:3.2+20130722-1.1ubuntu1 [92.9 kB]
Get:2 https://download.docker.com/linux/ubuntu xenial/stable amd64 docker-ce amd64 18.06.1~ce~3-0~ubuntu [40.0 MB]
Fetched 40.1 MB in 1s (25.3 MB/s)    
Selecting previously unselected package aufs-tools.
(Reading database ... 215112 files and directories currently installed.)
Preparing to unpack .../aufs-tools_1%3a3.2+20130722-1.1ubuntu1_amd64.deb ...
Unpacking aufs-tools (1:3.2+20130722-1.1ubuntu1) ...
dpkg: warning: downgrading docker-ce from 2:18.09.0~ce~0.4.tp4-0~ubuntu to 18.06.1~ce~3-0~ubuntu
Preparing to unpack .../docker-ce_18.06.1~ce~3-0~ubuntu_amd64.deb ...
Unpacking docker-ce (18.06.1~ce~3-0~ubuntu) over (2:18.09.0~ce~0.4.tp4-0~ubuntu) ...
dpkg: error processing archive /var/cache/apt/archives/docker-ce_18.06.1~ce~3-0~ubuntu_amd64.deb (--unpack):
 trying to overwrite '/usr/share/fish/vendor_completions.d/docker.fish', which is also in package docker-ce-cli 2:18.09.0~ce~0.4.tp4-0~ubuntu
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Processing triggers for man-db (2.7.5-1) ...
Errors were encountered while processing:
 /var/cache/apt/archives/docker-ce_18.06.1~ce~3-0~ubuntu_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
m_fujii@none11:~$ dpkg -l '*docker*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                      Version           Architecture      Description
+++-=========================-=================-=================-=======================================================
un  docker                    <none>            <none>            (no description available)
iU  docker-ce                 2:18.09.0~ce~0.4. amd64             Docker: the open-source application container engine
ii  docker-ce-cli             2:18.09.0~ce~0.4. amd64             Docker CLI: the open-source application container engin
un  docker-engine             <none>            <none>            (no description available)
un  docker-engine-cs          <none>            <none>            (no description available)
un  docker.io                 <none>            <none>            (no description available)
un  lxc-docker                <none>            <none>            (no description available)
un  lxc-docker-virtual-packag <none>            <none>            (no description available)
m_fujii@none11:~$ sudo apt-get remove docker docker-engine docker-ce docker-ce-cli
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package 'docker-engine' is not installed, so not removed
Package 'docker' is not installed, so not removed
The following packages were automatically installed and are no longer required:
  aufs-tools cgroupfs-mount containerd.io pigz
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  docker-ce docker-ce-cli
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 150 MB disk space will be freed.
Do you want to continue? [Y/n] 
(Reading database ... 215165 files and directories currently installed.)
Removing docker-ce (2:18.09.0~ce~0.4.tp4-0~ubuntu) ...
Removing docker-ce-cli (2:18.09.0~ce~0.4.tp4-0~ubuntu) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up aufs-tools (1:3.2+20130722-1.1ubuntu1) ...
Processing triggers for libc-bin (2.23-0ubuntu10) ...
m_fujii@none11:~$ sudo pkill -SIGHUP dockerd
m_fujii@none11:~$ sudo apt-get remove docker docker-engine docker-ce docker-ce-cli
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package 'docker-engine' is not installed, so not removed
Package 'docker' is not installed, so not removed
Package 'docker-ce-cli' is not installed, so not removed
Package 'docker-ce' is not installed, so not removed
The following packages were automatically installed and are no longer required:
  aufs-tools cgroupfs-mount containerd.io pigz
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
m_fujii@none11:~$ dpkg -l '*docker*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                      Version           Architecture      Description
+++-=========================-=================-=================-=======================================================
un  docker                    <none>            <none>            (no description available)
rc  docker-ce                 2:18.09.0~ce~0.4. amd64             Docker: the open-source application container engine
un  docker-ce-cli             <none>            <none>            (no description available)
un  docker-engine             <none>            <none>            (no description available)
un  docker-engine-cs          <none>            <none>            (no description available)
un  docker.io                 <none>            <none>            (no description available)
un  lxc-docker                <none>            <none>            (no description available)
un  lxc-docker-virtual-packag <none>            <none>            (no description available)
m_fujii@none11:~$ sudo apt-get autoclean
Reading package lists... Done
Building dependency tree       
Reading state information... Done
m_fujii@none11:~$ dpkg -l '*docker*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                      Version           Architecture      Description
+++-=========================-=================-=================-=======================================================
un  docker                    <none>            <none>            (no description available)
rc  docker-ce                 2:18.09.0~ce~0.4. amd64             Docker: the open-source application container engine
un  docker-ce-cli             <none>            <none>            (no description available)
un  docker-engine             <none>            <none>            (no description available)
un  docker-engine-cs          <none>            <none>            (no description available)
un  docker.io                 <none>            <none>            (no description available)
un  lxc-docker                <none>            <none>            (no description available)
un  lxc-docker-virtual-packag <none>            <none>            (no description available)
m_fujii@none11:~$ aptitude
The program 'aptitude' is currently not installed. You can install it by typing:
sudo apt install aptitude
m_fujii@none11:~$ sudo apt install aptitude
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  aufs-tools cgroupfs-mount containerd.io pigz
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  aptitude-common libcwidget3v5
Suggested packages:
  apt-xapian-index aptitude-doc-en | aptitude-doc debtags tasksel libcwidget-dev
The following NEW packages will be installed:
  aptitude aptitude-common libcwidget3v5
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,345 kB of archives.
After this operation, 9,865 kB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 http://jp.archive.ubuntu.com/ubuntu xenial/main amd64 aptitude-common all 0.7.4-2ubuntu2 [747 kB]
Get:2 http://jp.archive.ubuntu.com/ubuntu xenial/main amd64 libcwidget3v5 amd64 0.5.17-4ubuntu2 [292 kB]
Get:3 http://jp.archive.ubuntu.com/ubuntu xenial/main amd64 aptitude amd64 0.7.4-2ubuntu2 [1,306 kB]
Fetched 2,345 kB in 0s (7,103 kB/s) 
Selecting previously unselected package aptitude-common.
(Reading database ... 214966 files and directories currently installed.)
Preparing to unpack .../aptitude-common_0.7.4-2ubuntu2_all.deb ...
Unpacking aptitude-common (0.7.4-2ubuntu2) ...
Selecting previously unselected package libcwidget3v5:amd64.
Preparing to unpack .../libcwidget3v5_0.5.17-4ubuntu2_amd64.deb ...
Unpacking libcwidget3v5:amd64 (0.5.17-4ubuntu2) ...
Selecting previously unselected package aptitude.
Preparing to unpack .../aptitude_0.7.4-2ubuntu2_amd64.deb ...
Unpacking aptitude (0.7.4-2ubuntu2) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Setting up aptitude-common (0.7.4-2ubuntu2) ...
Setting up libcwidget3v5:amd64 (0.5.17-4ubuntu2) ...
Setting up aptitude (0.7.4-2ubuntu2) ...
update-alternatives: using /usr/bin/aptitude-curses to provide /usr/bin/aptitude (aptitude) in auto mode
Processing triggers for libc-bin (2.23-0ubuntu10) ...
m_fujii@none11:~$ aptitude purge docker-ce
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
m_fujii@none11:~$ sudo aptitude purge docker-ce
The following packages will be REMOVED:  
  aufs-tools{u} cgroupfs-mount{u} containerd.io{u} docker-ce{p} pigz{u} 
0 packages upgraded, 0 newly installed, 5 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 84.6 MB will be freed.
Do you want to continue? [Y/n/?] 
(Reading database ... 215094 files and directories currently installed.)
Removing aufs-tools (1:3.2+20130722-1.1ubuntu1) ...
Removing cgroupfs-mount (1.2) ...
Removing containerd.io (1.2.0~beta.0-1) ...
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Processing triggers for man-db (2.7.5-1) ...
(Reading database ... 215024 files and directories currently installed.)
Removing docker-ce (2:18.09.0~ce~0.4.tp4-0~ubuntu) ...
Purging configuration files for docker-ce (2:18.09.0~ce~0.4.tp4-0~ubuntu) ...
(Reading database ... 215022 files and directories currently installed.)
Removing pigz (2.3.1-2) ...
Processing triggers for man-db (2.7.5-1) ...
                                         
m_fujii@none11:~$ dpkg -l '*docker*'
dpkg-query: no packages found matching *docker*
m_fujii@none11:~$