Problem Description:
After updating Ubuntu my Nvidia drivers stopped working. I think the kernel headers were updated. I am using Ubuntu 24.10.
When running nvidia-smi I get:
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
Running sudo apt upgrade I get:
Not upgrading:
linux-modules-nvidia-560-open-generic
Summary:
Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 1
When I try to install it with sudo apt-get install --only-upgrade linux-modules-nvidia-560-open-generic it fails:
Reading package lists... Done
Building dependency tree... Done
Reading status information... Done
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
built or have not left Incoming.
The following information may help you resolve the situation:
The following packages have unmet dependencies:
linux-modules-nvidia-560-open-generic : Depends on: linux-modules-nvidia-560-open-6.11.0-18-generic (= 6.11.0-18.18) but is not installable
E: Problems cannot be corrected, you have held back broken packages.
Why exactly did you use this ? It tells apt to only upgrade this single package and nothing else … since this package is a meta package you can not do this as it needs to upgrade the depending package too (which you explicitly deny it to do with that switch)
I see. Would sudo apt install linux-modules-nvidia-560-open-generic be correct in this case?
With that I also get:
Unsatisfied dependencies:
linux-modules-nvidia-560-open-generic: Depends on: linux-modules-nvidia-560-open-6.11.0-18-generic (= 6.11.0-18.18) but cannot be installed
Error: Problems cannot be resolved, you have held back broken packages.
That is what i wanted you to check with the apt policy ... commands, it clearly shows if a package is still phasing … great it solved itself now though