Public bug reported:
SRU Justification:
[ Impact ]
Attempting to run `sudo ubuntu-drivers install` or `sudo ubuntu-drivers
install --gpgpu` on some machines that support multiple Nvidia driver
version branches can sometimes result in the generated `apt install`
command including multiple conflicting packages, which causes the
installation to be stopped.
[ Test Plan ]
1. On a device with an impacted Nvidia GPU and an impacted Ubuntu
version, run `sudo ubuntu-drivers install`
[ Expected Behavior ]
A working Nvidia driver solution is installed
[ Actual Behavior ]
The `apt install` command does not complete successfully due to an
invalid set of packages being requested for install
[ Fix ]
Before passing the to_install package list to `apt install`, filter out
all but the first packages matching `nvidia-driver-*` since only one
such package should be allowed in a valid solution.
[ Where problems could occur ]
If the Nvidia driver packaging in the archives is ever updated in the
future to allow for multiple valid packages with this glob pattern, this
filtering mechanism would potentially prevent such solutions from being
recommended.
** Affects: ubuntu-drivers-common (Ubuntu)
Importance: High
Assignee: Mitchell Augustin (mitchellaugustin)
Status: In Progress
** Affects: ubuntu-drivers-common (Ubuntu Jammy)
Importance: Undecided
Status: New
** Affects: ubuntu-drivers-common (Ubuntu Noble)
Importance: Undecided
Status: New
** Affects: ubuntu-drivers-common (Ubuntu Plucky)
Importance: Undecided
Status: New
** Affects: ubuntu-drivers-common (Ubuntu Questing)
Importance: High
Assignee: Mitchell Augustin (mitchellaugustin)
Status: In Progress
** Changed in: ubuntu-drivers-common (Ubuntu)
Assignee: (unassigned) => Mitchell Augustin (mitchellaugustin)
** Changed in: ubuntu-drivers-common (Ubuntu)
Status: New => In Progress
** Changed in: ubuntu-drivers-common (Ubuntu)
Importance: Undecided => High
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to ubuntu-drivers-common in Ubuntu.
https://bugs.launchpad.net/bugs/2125156
Title:
ubuntu-drivers recommends conflicting nvidia packages in some
circumstances
Status in ubuntu-drivers-common package in Ubuntu:
In Progress
Status in ubuntu-drivers-common source package in Jammy:
New
Status in ubuntu-drivers-common source package in Noble:
New
Status in ubuntu-drivers-common source package in Plucky:
New
Status in ubuntu-drivers-common source package in Questing:
In Progress
Bug description:
SRU Justification:
[ Impact ]
Attempting to run `sudo ubuntu-drivers install` or `sudo ubuntu-
drivers install --gpgpu` on some machines that support multiple Nvidia
driver version branches can sometimes result in the generated `apt
install` command including multiple conflicting packages, which causes
the installation to be stopped.
[ Test Plan ]
1. On a device with an impacted Nvidia GPU and an impacted Ubuntu
version, run `sudo ubuntu-drivers install`
[ Expected Behavior ]
A working Nvidia driver solution is installed
[ Actual Behavior ]
The `apt install` command does not complete successfully due to an
invalid set of packages being requested for install
[ Fix ]
Before passing the to_install package list to `apt install`, filter
out all but the first packages matching `nvidia-driver-*` since only
one such package should be allowed in a valid solution.
[ Where problems could occur ]
If the Nvidia driver packaging in the archives is ever updated in the
future to allow for multiple valid packages with this glob pattern,
this filtering mechanism would potentially prevent such solutions from
being recommended.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/2125156/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp