daily software update on ubuntu20.04 removed docker cannot reinstall!

Bug #1920583 reported by Ivan Devon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu
Expired
Undecided
Unassigned

Bug Description

Yesterday, I clicked and accepted a software update dialog. Later that afternoon, I could no longer run docker. it was gone!
I tried to reinstall but found the following:

$ sudo apt-get install docker.io
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 docker.io : Depends: containerd (>= 1.2.6-0ubuntu1~)
E: Unable to correct problems, you have held broken packages.

Yet, containerd exists.

$ dpkg -l containerd*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-================-============-==============================>
rc containerd 1.3.3-0ubuntu2.3 amd64 daemon to control runC
ii containerd.io 1.4.4-1 amd64 An open and reliable container>
$

-------------------

Anyone have any idea, why 1) docker would get removed in the first place? it was working fine for months!

Revision history for this message
Chris Guiver (guiverc) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

Bug reporting is mostly about finding & fixing problems thus preventing future users from hitting the same bug.

I suspect a Support site would be more appropriate, eg. https://answers.launchpad.net/ubuntu. You can also find help with your problem in the support forum of your local Ubuntu community http://loco.ubuntu.com/ or asking at https://askubuntu.com or https://ubuntuforums.org, or for more support options please look at https://discourse.ubuntu.com/t/community-support/709

I've marked this 'incomplete' as it looks like a support issue, and a quick look at packages in your messages and they are available and meet the requirements (https://packages.ubuntu.com/focal/docker.io https://packages.ubuntu.com/focal/containerd etc). If you believe I'm in error, please leave a status as to why, and you can change the status back to "New". (you'll then be asked to run apport-collect after package change)

Changed in ubuntu:
status: New → Incomplete
Revision history for this message
Chris Guiver (guiverc) wrote :

FYI: You can click on the "Convert to a Question" link and this will be changed to a support ticket, you've filed it as a bug report.

Revision history for this message
Ivan Devon (ivanixdev) wrote :

actually, i believe i originally installed using snap, but trying to reinstall that one caused other errors. For a specific docker setup that works fine, I now get the following permission errors,

nable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /var/lib/snapd/void/Dockerfile: no such file or directory
rm: descend into write-protected directory 'node_modules/jest-haste-map'?
rm: descend into write-protected directory 'node_modules/npm-run-path'? y
rm: remove write-protected regular file 'node_modules/npm-run-path/license'? y
rm: cannot remove 'node_modules/npm-run-path/license': Permission denied
rm

Revision history for this message
Ivan Devon (ivanixdev) wrote :

There seems to be a lot of conflicting information about how best to install docker on Ubuntu.
One way is using snap, the other way is using apt install
To be honest, I don't recall which one I had working well for several months until this last update.
I would kindly ask that Ubuntu maintainers work closely with the Docker maintainers to resolve this because it creates too much churn and confusion.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Ubuntu because there has been no activity for 60 days.]

Changed in ubuntu:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.