-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ubuntu 20.04 apt upgrade
fails to upgrade containers-common
#2703
Comments
Using
|
ubuntu-latest is in the process of being migrated which means the jobs can run on either 18.04 or 20.04: actions/runner-images#1816 We've seen some failures on 20.04 that we'll need to address before upgrading. https://github.com/timberio/vector/actions/runs/559968325 Also replace `ubuntu-latest` with `ubuntu-20.04` for jobs that seem to be fine on 20.04. I ended up including a fix for actions/runner-images#2703 as well.
tmp workaround until bug upstream is resolved:actions/runner-images#2703
Same problem here with Linux Mint 20 (Ulyana). The cause of this error is probably the somewhat older |
Same Ubuntu 20.04.2 , but i found a workaround for my situation:
At the end, these installed side by side without incident.
Maybe some variation on above will work for you @jszwedko ? |
@vctrstrm thanks for your hint. It worked for me. |
Just now, I tried
Then I ran upgrade with
So, I purged both of them as-well-as |
On Ubuntu Bionic (18.x):
The same manpage is in both packges. Workaround:
|
Hi @jszwedko! I've checked your script on the latest generated Ubuntu20 image from today, and there is no such issue anymore. We're going to start a new image rollout tomorrow, and it'll take about 3-4 days to propagate to all the environments. I'll keep you posted. |
This here worked for me (on Pop-OS 20.04): sudo dpkg -P skopeo podman builah
sudo apt --fix-broken install
sudo apt update
sudo apt upgrade
sudo apt autoremove
sudo apt install skopeo podman builah Thanks @vctrstrm and @rokibhasansagar for the hints! |
and https://bugzilla.redhat.com/show_bug.cgi?id=1928643." This reverts commit 54d464f. Package dependencies got fixed and podman 3.0.1 fixes 1928643.
and https://bugzilla.redhat.com/show_bug.cgi?id=1928643." This reverts commit 54d464f. Package dependencies got fixed. Podman 3.0.1 fixes 1928643, a.k.a. containers/podman#9354.
@jszwedko the image was deployed, everything looks good so far. I'm going to close the issue, feel free to contact us if you have any concerns. |
A similar error occurred when I tried to install buildah version 1.26.2. It seems that the |
This is the only thing that worked for me |
Description
Running
apt upgrade
on the Ubuntu 20.04 runner fails due to dpkg not being able to upgradecontainers-common
because it wants to write a file that is owned bycontainers-image
package.I imagine this is probably an upstream package issue, but figured I'd file it here to be triaged.
Area for Triage:
Packages
Question, Bug, or Feature?:
Bug
Virtual environments affected
I didn't verify the other environments.
Image version
20210208.0
Expected behavior
apt upgrade --yes
succeeds.Actual behavior
apt upgrade --yes
fails.Log:
Repro steps
Run
apt update && apt upgrade
on an Ubuntu 20.04 runner.Link to failure: https://github.com/timberio/vector/runs/1889495611?check_suite_focus=true
The script that is run by that workflow is https://github.com/timberio/vector/blob/ac42f501608cf1055830bd29b38c0f5f710550a0/scripts/environment/bootstrap-ubuntu-20.04.sh#L28
The text was updated successfully, but these errors were encountered: