Public bug reported: Installed Ubuntu 17.10 fresh, ran sudo apt-get install docker.io, but the subprocess is failing.
Second attempt at running the command gives the following information: Reading package lists... Done Building dependency tree Reading state information... Done docker.io is already the newest version (1.13.1-0ubuntu6). 0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] y Setting up docker.io (1.13.1-0ubuntu6) ... addgroup: The group `docker' already exists as a system group. Exiting. Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details. invoke-rc.d: initscript docker, action "start" failed. ● docker.service - Docker Application Container Engine Loaded: loaded (/lib/systemd/system/docker.service; disabled; vendor preset: enabled) Active: failed (Result: exit-code) since Sun 2017-11-05 20:02:54 GMT; 7ms ago Docs: https://docs.docker.com Process: 19637 ExecStart=/usr/bin/dockerd -H fd:// $DOCKER_OPTS (code=exited, status=1/FAILURE) Main PID: 19637 (code=exited, status=1/FAILURE) CPU: 17ms Nov 05 20:02:54 orc systemd[1]: Starting Docker Application Container Engine... Nov 05 20:02:54 orc dockerd[19637]: no sockets found via socket activation: make sure the service was started by systemd Nov 05 20:02:54 orc systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE Nov 05 20:02:54 orc systemd[1]: Failed to start Docker Application Container Engine. Nov 05 20:02:54 orc systemd[1]: docker.service: Unit entered failed state. Nov 05 20:02:54 orc systemd[1]: docker.service: Failed with result 'exit-code'. dpkg: error processing package docker.io (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: docker.io E: Sub-process /usr/bin/dpkg returned an error code (1) ProblemType: Package DistroRelease: Ubuntu 17.10 Package: docker.io 1.13.1-0ubuntu6 ProcVersionSignature: Ubuntu 4.13.0-16.19-generic 4.13.4 Uname: Linux 4.13.0-16-generic x86_64 ApportVersion: 2.20.7-0ubuntu3.1 Architecture: amd64 Date: Sun Nov 5 19:55:07 2017 ErrorMessage: subprocess installed post-installation script returned error exit status 1 InstallationDate: Installed on 2017-11-05 (0 days ago) InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20171018) Python3Details: /usr/bin/python3.6, Python 3.6.3, python3-minimal, 3.6.3-0ubuntu2 PythonDetails: /root/Error: command ['which', 'python'] failed with exit code 1:, Error: [Errno 2] No such file or directory: "/root/Error: command ['which', 'python'] failed with exit code 1:": "/root/Error: command ['which', 'python'] failed with exit code 1:", unpackaged RelatedPackageVersions: dpkg 1.18.24ubuntu1 apt 1.5 SourcePackage: docker.io Title: package docker.io 1.13.1-0ubuntu6 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: docker.io (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-package artful -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1730230 Title: package docker.io 1.13.1-0ubuntu6 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/docker.io/+bug/1730230/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs