Packages have unmet dependencies/Conflicts - libnvidia

Hi, when trying to update packages, get the following errors:

Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
libnvidia-common-450 libnvidia-common-460
0 to upgrade, 0 to newly install, 0 to remove and 2 not to upgrade.

Using sudo apt install libnvidia-common-450 libnvidia-common-460 i get this:

Reading package lists... Done
Building dependency tree
Reading state 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 created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libnvidia-common-450 : Conflicts: libnvidia-common
libnvidia-common-460 : Conflicts: libnvidia-common
E: Unable to correct problems, you have held broken packages.

I recognise these as probably something to do with the graphics drviers so don't want to go removing packages that may mean my display stops working :slight_smile:

Any suggestions on the proper way to get these installed? Or is it nothing to worry about and should ignore.

Thanks.

libnvidia-common-450 is the commons package for the Nvidia-450 driver. libnvidia-common is more general, encompassing multile Nvidia drivers. It probably is nothing to worry about, but if you want to get rid of the annoying message in your terminal, you can try:

sudo apt update

sudop apt full-upgrade

sudo ubuntu-drivers install

If this does not resolve, please follow the more detailed steps outlined in this guide to identify your needed driver and install:
https://www.cyberciti.biz/faq/ubuntu-linux-install-nvidia-driver-latest-proprietary-driver/

1 Like

Thanks for that. The command sudo apt full-upgrade did it.

1 Like