Package: docker.io Version: 20.10.11+dfsg1-2+b1 Severity: normal X-Debbugs-Cc: Olaf Meeuwissen <o...@ueda.ne.jp>
Dear Maintainer, When running `apt install docker.io` installation fails with [...] invoke-rc.d: initscript docker, action "restart" failed. dpkg: error processing package docker.io (--configure): installed docker.io package post-installation script subprocess returned error exit status 1 [...] Errors were encountered while processing: docker.io This happens because there is no daemon running yet that can be restarted. I cleaned up with invoke-rc.d docker start dpkg --configure docker.io but the post-install script should check whether it is a fresh install or upgrade to decide what should be done. Actually, I think even in the case of an upgrade it should check whether the daemon is running. If not, perhaps it should not start the daemon as it may have been stopped by the sysadmin for some reason. -- System Information: Distributor ID: Devuan Description: Devuan GNU/Linux 5 (daedalus/ceres) Release: 5 Codename: daedalus ceres Architecture: x86_64 Kernel: Linux 5.15.0-3-amd64 (SMP w/16 CPU threads) Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: runit (via /run/runit.stopit) LSM: AppArmor: enabled Versions of packages docker.io depends on: ii adduser 3.118 ii containerd 1.5.9~ds1-1 ii init-system-helpers 1.60+devuan1 ii iptables 1.8.7-1 ii libc6 2.33-5 ii libdevmapper1.02.1 2:1.02.175-2.1 ii libelogind0 [libsystemd0] 246.10-3 ii lsb-base 11.1.0 ii runc 1.0.3+ds1-1 ii tini 0.19.0-1 Versions of packages docker.io recommends: ii apparmor 3.0.3-6 ii ca-certificates 20210119 pn cgroupfs-mount <none> ii git 1:2.34.1-1 pn needrestart <none> pn xz-utils <none> Versions of packages docker.io suggests: pn aufs-tools <none> pn btrfs-progs <none> pn debootstrap <none> pn docker-doc <none> ii e2fsprogs 1.46.5-2 pn rinse <none> pn rootlesskit <none> pn xfsprogs <none> pn zfs-fuse | zfsutils-linux <none> -- no debconf information Hope this helps, -- Olaf Meeuwissen FSF Associate Member since 2004-01-27 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13 F43E B8A4 A88A F84A 2DD9 Support Free Software https://my.fsf.org/donate Join the Free Software Foundation https://my.fsf.org/join