apt cannot upgrade phased updates if the current security version is same as updates
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
apt (Ubuntu) | Status tracked in Noble | |||||
Jammy |
Fix Released
|
Undecided
|
Unassigned | |||
Mantic |
Fix Released
|
Undecided
|
Unassigned | |||
Noble |
Fix Released
|
Critical
|
Julian Andres Klode |
Bug Description
[Impact]
A package that has the same version in -security and -updates, with the latter having a Phased-
[Test plan]
An automatic test case has been added to apt's comprehensive integration test suite that simulates the problem. Passing of the autopkgtests is a successful test.
[Where problems could occur]
The fix in question changes the behavior, some people may have relied on that, but also this should not have happened server side (normally security updates do not receive a value but the real one in this case went a different route).
Otherwise the fix is fairly contained, it removes a single OtherVer++ increment which made it go one version below the current version, so we do not expect any problems; setting aside the usual regression potential from bugs in the compiler and so on.
[Original bug report]
When I finished installation with Jammy 22.04.3, I noticed that nvidia-driver-535 cannot be upgrade by either `apt upgrade` nor `apt dist-upgrade`.
Below is the log of apt upgrade:
ubuntu@ubuntu:~$ sudo apt -o Debug::
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Entering ResolveByKeep 10%
Dependencies are not satisfied for nvidia-
Package nvidia-
Keeping Package linux-modules-
Dependencies are not satisfied for linux-modules-
Keeping package linux-modules-
Dependencies are not satisfied for linux-modules-
Package linux-modules-
Keeping Package linux-modules-
Dependencies are not satisfied for linux-modules-
Keeping package linux-modules-
Dependencies are not satisfied for linux-modules-
Keeping package linux-modules-
Dependencies are not satisfied for linux-modules-
Package linux-modules-
Keeping Package linux-signature
Dependencies are not satisfied for linux-modules-
Dependencies are not satisfied for linux-modules-
Dependencies are not satisfied for linux-modules-
Package linux-modules-
Keeping Package linux-objects-
tags: | added: foundations-todo |
Changed in apt (Ubuntu): | |
importance: | Undecided → Critical |
assignee: | nobody → Julian Andres Klode (juliank) |
status: | New → In Progress |
status: | In Progress → Triaged |
Fixed in apt git.