How to stay with Nvidia 470 driver with ubuntu 24.04?

Ubuntu Version:
24.04

Desktop Environment (if applicable):
XFCE

Problem Description:

Due to EOL, I chose to stay with 6.8.0-79-generic kernel to stray with nvidia drivers (for performance).
But there is many update proposed recently with ubuntu 24.04 :

:~$ apt list --upgradable |grep nvidia
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
libnvidia-cfg1-470/noble-updates 470.256.02-0ubuntu0.24.04.5 amd64 [pouvant être mis à jour depuis : 470.256.02-0ubuntu0.24.04.1]libnvidia-common-470/noble-updates,noble-updates 470.256.02-0ubuntu0.24.04.5 all [pouvant être mis à jour depuis : 470.256.02-0ubuntu0.24.04.1]libnvidia-compute-470/noble-updates 470.256.02-0ubuntu0.24.04.5 amd64 [pouvant être mis à jour depuis : 470.256.02-0ubuntu0.24.04.1]libnvidia-compute-470/noble-updates 470.256.02-0ubuntu0.24.04.5 i386 [pouvant être mis à jour depuis : 470.256.02-0ubuntu0.24.04.1]libnvidia-decode-470/noble-updates 470.256.02-0ubuntu0.24.04.5 amd64 [pouvant être mis à jour depuis : 470.256.02-0ubuntu0.24.04.1]libnvidia-decode-470/noble-updates 470.256.02-0ubuntu0.24.04.5 i386 [pouvant être mis à jour depuis : 470.256.02-0ubuntu0.24.04.1]libnvidia-encode-470/noble-updates 470.256.02-0ubuntu0.24.04.5 amd64 [pouvant être mis à jour depuis : 470.256.02-0ubuntu0.24.04.1]libnvidia-encode-470/noble-updates 470.256.02-0ubuntu0.24.04.5 i386 [pouvant être mis à jour depuis : 470.256.02-0ubuntu0.24.04.1]libnvidia-extra-470/noble-updates 470.256.02-0ubuntu0.24.04.5 amd64 [pouvant être mis à jour depuis : 470.256.02-0ubuntu0.24.04.1]libnvidia-fbc1-470/noble-updates 470.256.02-0ubuntu0.24.04.5 amd64 [pouvant être mis à jour depuis : 470.256.02-0ubuntu0.24.04.1]libnvidia-fbc1-470/noble-updates 470.256.02-0ubuntu0.24.04.5 i386 [pouvant être mis à jour depuis : 470.256.02-0ubuntu0.24.04.1]libnvidia-gl-470/noble-updates 470.256.02-0ubuntu0.24.04.5 amd64 [pouvant être mis à jour depuis : 470.256.02-0ubuntu0.24.04.1]libnvidia-gl-470/noble-updates 470.256.02-0ubuntu0.24.04.5 i386 [pouvant être mis à jour depuis : 470.256.02-0ubuntu0.24.04.1]libnvidia-ifr1-470/noble-updates 470.256.02-0ubuntu0.24.04.5 amd64 [pouvant être mis à jour depuis : 470.256.02-0ubuntu0.24.04.1]libnvidia-ifr1-470/noble-updates 470.256.02-0ubuntu0.24.04.5 i386 [pouvant être mis à jour depuis : 470.256.02-0ubuntu0.24.04.1]nvidia-compute-utils-470/noble-updates 470.256.02-0ubuntu0.24.04.5 amd64 [pouvant être mis à jour depuis : 470.256.02-0ubuntu0.24.04.1]nvidia-driver-470/noble-updates 470.256.02-0ubuntu0.24.04.5 amd64 [pouvant être mis à jour depuis : 470.256.02-0ubuntu0.24.04.1]nvidia-kernel-common-470/noble-updates 470.256.02-0ubuntu0.24.04.5 amd64 [pouvant être mis à jour depuis : 470.256.02-0ubuntu0.24.04.1]nvidia-kernel-source-470/noble-updates 470.256.02-0ubuntu0.24.04.5 amd64 [pouvant être mis à jour depuis : 470.256.02-0ubuntu0.24.04.1]nvidia-utils-470/noble-updates 470.256.02-0ubuntu0.24.04.5 amd64 [pouvant être mis à jour depuis : 470.256.02-0ubuntu0.24.04.1]xserver-xorg-video-nvidia-470/noble-updates 470.256.02-0ubuntu0.24.04.5 amd64 [pouvant être mis à jour depuis : 470.256.02-0ubuntu0.24.04.1]
:~$ apt list --upgradable | grep xserver
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
xserver-common/noble-updates,noble-updates 2:21.1.12-1ubuntu1.6 all [pouvant être mis à jour depuis : 2:21.1.12-1ubuntu1.5]xserver-xorg-core/noble-updates 2:21.1.12-1ubuntu1.6 amd64 [pouvant être mis à jour depuis : 2:21.1.12-1ubuntu1.5]xserver-xorg-legacy/noble-updates 2:21.1.12-1ubuntu1.6 amd64 [pouvant être mis à jour depuis : 2:21.1.12-1ubuntu1.5]xserver-xorg-video-nvidia-470/noble-updates 470.256.02-0ubuntu0.24.04.5 amd64 [pouvant être mis à jour depuis : 470.256.02-0ubuntu0.24.04.1]

linux-generic/noble-updates,noble-security 6.8.0-124.124 amd64 [pouvant être mis à jour depuis : 6.8.0-106.106]
linux-headers-generic/noble-updates,noble-security 6.8.0-124.124 amd64 [pouvant être mis à jour depuis : 6.8.0-106.106]
linux-image-generic/noble-updates,noble-security 6.8.0-124.124 amd64 [pouvant être mis à jour depuis : 6.8.0-106.106]

I would like to know what will happen with this updates ?

I want to stay with nvidia drivers.

Can someone explain me what these updates will do, please ?

Although, I do not have nvidia gpu, I stumbled across this info
May be useful or may not…?

I was expecting someone more knowledgable or more opinionated than I to quickly answer the question. But it did not happen.

You are being invited to upgrade Linux kernel 6.8.0-106 to Linux kernel 6.8.0-124.

Regards

I would go into more detail perhaps, if OP were to edit the lists, so they aren’t just one long line; something ate the line breaks (newline character).

Ah, I missed “legacy” key word. Thanks a lot ! That’s clearly what I was looking for.

Option 1 point 2 is seriously wrong and will result in more support requests here in the forum when people following it end up with messed up kernel updates…

One should never ever touch things like linux-image-generic or linux-headers-generic, they are lower level packages managed by the top level linux-generic meta package, if that package is missing (because you installed the above two manually) updates will go out of sync …

If you find such blog posts it would be good to notify the author about the mistake to prevent breakage for users (and extra work for community support)

1 Like