Public bug reported: After installing docker.io in Artful, then attempting to purge it, it asks for confirmation, then complains it cannot nuke /var/lib/docker. An almost identical error to this Debian bug
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=856149 /var/lib/docker/nuke-graph-directory.sh: 64: /var/lib/docker/nuke-graph- directory.sh: shopt: not found Running rm -rf /var/lib/docker then trying to purge docker.io again worked and then gave me a warning about /etc/docker not being empty. So rm -rf /etc/docker and purge again then worked. ProblemType: Bug DistroRelease: Ubuntu 17.10 Package: docker.io (not installed) ProcVersionSignature: Ubuntu 4.13.0-39.44-generic 4.13.16 Uname: Linux 4.13.0-39-generic x86_64 ApportVersion: 2.20.7-0ubuntu3.8 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Tue May 1 10:16:19 2018 InstallationDate: Installed on 2018-04-15 (15 days ago) InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20180105.1) SourcePackage: docker.io UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: docker.io (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug artful -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1768212 Title: Package docker.io cannot be purged To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/docker.io/+bug/1768212/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs