I have the same problem with a ZFS-based docker deployment. The issue in my case seems to be, that /var/lib/dpkg/info/docker.io.postinst assumes/hard-coded, that the docker content should be located under the the /var/lib/docker directory. It then tries to migrate this off into a separate dataset.
Too bad: I already created a dedicated ZFS dataset for Docker on my own. And it's also in a different place: My /etc/docker/daemon.json has the following content { "data-root" : "/srv/docker" } And this is also already a separate ZFS dataset: # findmnt -n -o SOURCE /srv/docker z4tank/docker Looking at the docker.io.postinst file, the problem is that it hard-coded always assume /var/lib/docker and does not respect a potential diverting "data-root" setting: https://git.launchpad.net/ubuntu/+source/docker.io/tree/debian/docker.io.postinst?h=applied/ubuntu /focal-updates#n38 @raczkow @etjohns2 : Do you both share something from my setting? i.e. a preconfigured ZFS dataset or a non-default data-root configuration? -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs