Hirsute: Cannot install ubuntu-desktop due to unmet dependencies
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Hirsute |
Fix Released
|
High
|
Unassigned | ||
Impish |
Fix Released
|
High
|
Unassigned |
Bug Description
[Impact]
Phased upgrades were only applied to already installed packages, so if we had a source package foo building foo-core and foo-extra, and foo-core=1 was installed, and we tried to install foo-extra, it would fail because it would try to install 0% foo-extra=2 while blocking foo-core as it's "not for us".
[Test Plan]
The autopkgtests ensure we don't regress and they kind of check this by checking the policy output to see that "foo-extra=2" above is also not the candidate, but foo-extra=1 is (so installing it alongside foo-core=1 would work fine) but they don't install it, so it might be nice to verify this too:
Find a package that is phased, but not for us (maybe just setting the never-include-
At the moment, installing libsystemd-dev would trigger it.
[Where problems could occur]
This is a change in behavior when installing new packages that might cause regression in image building tools for example, if those don't use a chroot (chroots being detected).
Apart from that risk, the change is just removing a flag check inside an if, so not much else.
[Original bug report]
I'm using the ubuntu-
After installation, I'm trying to install the desktop via "apt install ubuntu-desktop".
This fails with:
"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:
ubuntu-
E: Unable to correct problems, you have held broken packages."
"apt policy ubuntu-
"ubuntu-
Installed: 1:21.04.10
Candidate: 1:21.04.10
Version table:
1:21.04.11 1 (phased 20%)
500 http://
*** 1:21.04.10 500
500 http://
100 /var/lib/
I could not find any information what "phased 20%" means. It's obviously a major problem not being able to install the desktop on a fresh installation.
tags: | added: rls-ii-incoming |
affects: | ubuntu-meta (Ubuntu) → apt (Ubuntu) |
tags: | added: fr-1322 |
tags: | removed: rls-ii-incoming |
Changed in apt (Ubuntu Hirsute): | |
status: | New → Confirmed |
Changed in apt (Ubuntu Impish): | |
status: | Confirmed → Fix Committed |
Changed in apt (Ubuntu Hirsute): | |
importance: | Undecided → High |
Changed in apt (Ubuntu Impish): | |
importance: | Undecided → High |
description: | updated |
Status changed to 'Confirmed' because the bug affects multiple users.