Public bug reported:
[ Impact ]
Many users will naively run `sudo apt update && sudo apt upgrade` by
default, even when using NVIDIA GPU drivers which require `apt full-
upgrade` (due to package removals being required on account of the non-
coinstallability of different versions).
This patch provides a warning that fires any time an upgrade is
completed via `apt upgrade`, instructing the users that they likely want
to use `full-upgrade` instead.
[ Fix ]
Add a new package to dgx-desktop-defaults that contains the script and
dpkg hook necessary for this warning, then declare it as a dependency of
the NVIDIA GPU driver packages.
[ Test Plan ]
Run `sudo apt upgrade` on a system with apt updates available and
confirm the message displays. Then, run `full-upgrade` and `dist-
upgrade` on systems with updates available and confirm the message does
*not* display.
[ Where problems could occur ]
If any users have built scripts around `apt upgrade` that do not
properly handle the additional output, they may need to refactor those.
Otherwise, the regression risk should be very minimal. I confirmed that
the only utilities used here are preinstalled by default (awk and tr),
and confirmed that the regexes should be robust in how they parse their
input, given that their inputs should be stable in their formats.
[ Other Info ]
Related to this effort, we have identified a fix for a broad class of
issues that can occur when GPU driver updates and kernel updates occur
out of sync with each other, causing GPU driver load failures on next
boot.
We have changes to the kernel packages expected to release the week of
September 2nd, 2026 (which tighten the apt dependencies such that those
situations should no longer be satisfiable to apt, causing half-upgrades
to be prevented entirely). Ideally, we'd like to land this warning
around the same (but neither is a blocker for the other).
** Affects: dgx-desktop-defaults (Ubuntu)
Importance: Undecided
Assignee: Mitchell Augustin (mitchellaugustin)
Status: In Progress
** Affects: dgx-desktop-defaults (Ubuntu Resolute)
Importance: Undecided
Assignee: Mitchell Augustin (mitchellaugustin)
Status: In Progress
** Affects: dgx-desktop-defaults (Ubuntu Stonking)
Importance: Undecided
Assignee: Mitchell Augustin (mitchellaugustin)
Status: In Progress
** Also affects: dgx-desktop-defaults (Ubuntu Resolute)
Importance: Undecided
Status: New
** Also affects: dgx-desktop-defaults (Ubuntu Stonking)
Importance: Undecided
Status: New
** Changed in: dgx-desktop-defaults (Ubuntu Resolute)
Assignee: (unassigned) => Mitchell Augustin (mitchellaugustin)
** Changed in: dgx-desktop-defaults (Ubuntu Stonking)
Assignee: (unassigned) => Mitchell Augustin (mitchellaugustin)
** Changed in: dgx-desktop-defaults (Ubuntu Stonking)
Status: New => In Progress
** Changed in: dgx-desktop-defaults (Ubuntu Resolute)
Status: New => In Progress
** Summary changed:
- [SRU][R/N] Warn users running apt upgrade that they should run full-upgrade
instead
+ [SRU][R] Warn users running apt upgrade that they should run full-upgrade
instead
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2164262
Title:
[SRU][R] Warn users running apt upgrade that they should run full-
upgrade instead
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dgx-desktop-defaults/+bug/2164262/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs