Copying over my workaround from
https://github.com/ubuntu/zsys/issues/170#issuecomment-826359558 :

Just to chime in, I've been having the same issue myself.
Following @ddnexus's [analysis of the 
issue](https://github.com/ubuntu/zsys/issues/170#issuecomment-715901655_), the 
workaround is rather simple:
```
sudo mkdir /var/lib/docker.migrating
echo 'dummy' | sudo tee /var/lib/docker.migrating/workaround.txt
```
this will allow the `stat '/var/lib/docker.migrating/*'` to not fail with an 
error.

After the successful `apt update docker.io` run, you can remove the workaround 
dummy file:
```
sudo rm /var/lib/docker/workaround.txt
```

Hope others find this useful.

** Bug watch added: github.com/ubuntu/zsys/issues #170
   https://github.com/ubuntu/zsys/issues/170

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

Title:
  mv: cannot stat '/var/lib/docker.migrating/*': No such file or
  directory

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

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

Reply via email to