docker.io upgrade to 20.10.2-0ubuntu1~20.04.2 failed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
docker.io (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Updating docker.io from focal-proposed (19.03.
mv: cannot stat '/var/lib/
dpkg: error processing package docker.io (--configure):
installed docker.io package post-installation script subprocess returned error exit status 1
After adding "set -x" to "/var/lib/
# dpkg --configure -a
Setting up docker.io (20.10.
+ . /usr/share/
+ [ ! ]
+ PERL_DL_NONLAZY=1
+ export PERL_DL_NONLAZY
+ [ ]
+ exec /usr/share/
+ . /usr/share/
+ [ ! 1 ]
+ [ -z ]
+ exec
+ [ ]
+ exec
+ DEBCONF_REDIR=1
+ export DEBCONF_REDIR
+ [ -z 19.03.8-
+ dpkg --compare-versions 19.03.8-
+ command -v zfs
+ [ -x /usr/sbin/zfs ]
+ modinfo zfs
+ zfs mount
+ awk $2=="/" {print $1}
+ cut -d/ -f1
+ rpool=rpool
+ [ -n rpool ]
+ findmnt -n -o SOURCE /var/lib/docker
+ dockermnt=
+ echo rpool/var/
+ grep -qE ^$|/ROOT/
+ dpkg --compare-versions 19.03.8-
+ mv /var/lib/
mv: cannot stat '/var/lib/
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
If it's any help, my /var/lib/docker is zfs, but it's not under rpool/ROOT:
TARGET SOURCE FSTYPE OPTIONS
/ rpool/ROOT/
├─/var/lib rpool/ROOT/
│ ├─/var/lib/apt rpool/ROOT/
│ ├─/var/lib/docker rpool/var/
Status changed to 'Confirmed' because the bug affects multiple users.