Package: docker.io Version: 1.11.2~ds1-6 Severity: grave I tried to install docker.io in Debian stretch (I know, it's banned, but I figured I'd try my luck) and it completely hangs apt-get install:
$ LANG=C sudo dpkg --configure -a Setting up docker.io (1.11.2~ds1-6) ... addgroup: The group `docker' already exists as a system group. Exiting. That is a rerun with a english locale, the original run was actually this: Paramétrage de docker.io (1.11.2~ds1-6) ... Ajout du groupe « docker » (GID 136)... Fait. Created symlink /etc/systemd/system/sockets.target.wants/docker.socket → /lib/systemd/system/docker.socket. ... it hung there. I see those two processes launched by the postinst script: systemctl start docker.service /bin/systemd-tty-ask-password-agent --watch Killing both gives me: Terminated 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: activating (start) since Tue 2017-03-21 20:00:33 EDT; 3min 34s ago Docs: https://docs.docker.com Main PID: 27169 (docker) Tasks: 8 Memory: 4.9M CPU: 50ms CGroup: /system.slice/docker.service └─27169 /usr/bin/docker daemon -H fd:// mar 21 20:00:33 curie systemd[1]: Starting Docker Application Container Engine... mar 21 20:00:33 curie docker[27169]: time="2017-03-21T20:00:33.334891574-04:00" level=info msg="New containerd process, pid: 27175\n" mar 21 20:00:33 curie docker[27169]: time="2017-03-21T20:00:33.344914324-04:00" level=fatal msg="bad listen address format /var/run/docker/libcontainerd/d…to://address" mar 21 20:00:39 curie docker[27169]: time="2017-03-21T20:00:39.336564442-04:00" level=info msg="New containerd process, pid: 27182\n" mar 21 20:00:39 curie docker[27169]: time="2017-03-21T20:00:39.346250248-04:00" level=fatal msg="bad listen address format /var/run/docker/libcontainerd/d…to://address" Hint: Some lines were ellipsized, use -l to show in full. dpkg: erreur de traitement du paquet docker.io (--configure) : le sous-processus script post-installation installé a retourné une erreur de sortie d'état 143 The ellipsized line is something like this: mar 21 20:00:33 curie docker[27169]: time="2017-03-21T20:00:33.344914324-04:00" level=fatal msg="bad listen address format /var/run/docker/libcontainerd/docker-containerd.sock, expected proto://address" This is hardcoded in the Go source code... a. -- System Information: Debian Release: 9.0 APT prefers testing APT policy: (500, 'testing'), (1, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: armhf Kernel: Linux 4.9.0-2-amd64 (SMP w/4 CPU cores) Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) Versions of packages docker.io depends on: ii adduser 3.115 ii containerd 0.2.3~git20161117.78.03e5862~ds1-1 ii init-system-helpers 1.47 ii iptables 1.6.0+snapshot20161117-5 ii libapparmor1 2.11.0-2 ii libc6 2.24-9 ii libdevmapper1.02.1 2:1.02.137-1 ii libsqlite3-0 3.16.2-3 ii libsystemd0 232-19 ii runc 0.1.1+dfsg1-2 Versions of packages docker.io recommends: ii ca-certificates 20161130 ii cgroupfs-mount 1.3 ii git 1:2.11.0-2 ii xz-utils 5.2.2-1.2+b1 Versions of packages docker.io suggests: pn aufs-tools <none> ii btrfs-progs 4.7.3-1 ii debootstrap 1.0.88 pn docker-doc <none> pn rinse <none> pn zfs-fuse | zfsutils <none> -- no debconf information