I've found this bug too.
It fails on postinst script. I've checked it and I'm wondering why does it try 
to create zfs dataset when it already exists?

When I applied this patch, everything works OK:

--- /var/lib/dpkg/info/docker.io.postinst.orig  2020-11-08 23:21:14.561453080 
+0100
+++ /var/lib/dpkg/info/docker.io.postinst       2020-11-08 23:21:25.104740749 
+0100
@@ -31,7 +31,7 @@
                        # /var with canmount off if doesn’t exist
                        rpool="$(zfs mount | awk '$2=="/" {print $1}'|  cut -d/ 
-f1)"
 
-                       if [ -n "$rpool" ]; then
+                       if [ -z "$rpool" ]; then
                                dockermnt="$(findmnt -n -o SOURCE 
/var/lib/docker || true)"
 
                                # Create <currentpool>/var/lib/docker if 
doesn’t exist

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1901648

Title:
  docker.io package: cannot stat /var/lib/docker.migrating/*

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/docker.io/+bug/1901648/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to