Locking nvidia driver against upgrades.

Well, below is the information I found for the nvidia driver in my machine.
Code:
nvidia-driver-580.119.02_1     NVidia graphics card binary drivers for hardware OpenGL rendering
nvidia-drm-66-kmod-580.119.02.1500068_2 NVIDIA DRM Kernel Module
nvidia-drm-kmod-580.119.02     NVIDIA DRM Kernel Module
nvidia-kmod-580.119.02.1500068_1 kmod part of NVidia graphics card binary drivers for hardware OpenGL rendering
nvidia-settings-580.119.02     Display Control Panel for X NVidia driver
nvidia-xconfig-580.119.02      Tool to manipulate X configuration files for the NVidia driver

Also, below are the commands which I issued in an attempt to protect my nvidia driver against upgrades.
Code:
root@Asus:~ # pkg lock -l
Currently locked packages:
nvidia-driver-580.119.02_1

root@Asus:~ # pkg lock -y nvidia-settings
Locking nvidia-settings-580.119.02

root@Asus:~ # pkg lock -y nvidia-xconfig
Locking nvidia-xconfig-580.119.02

root@Asus:~ # pkg lock -l
Currently locked packages:
nvidia-driver-580.119.02_1
nvidia-settings-580.119.02
nvidia-xconfig-580.119.02

I notice that there are six lines in the upper section referencing my video driver, yet i only entered three commands to carry out the locking process. Did I miss anything?
 
I'm not sure what you're asking.

In the transcript, you had one package locked, locked two additional ones, and it reports three packages are locked.
Were you expecting the other three packages to be locked because of some dependency?

And what are you trying to accomplish with this? Is there an upcoming version that you want to avoid?
 
You have not shown the commands for six lines. However considering the output as installed packages. you need to lock nvidia-driver and nvidia-drm-66-kmod. But those are dependent to the corresponding kernel version. At some point you have to upgrade those along with the kernel if you use rolling version.
 
But those are dependent to the corresponding kernel version. At some point you have to upgrade those along with the kernel if you use rolling version.
Is there a mean to know in advance which minimal version a kernel is going to require before updating it? I have P40 cards, which are not going to be supported anymore by the newest Nvidia drivers (they dropped Pascal support), so I'm going to have to perform as well such lock in on the installs using them.
 
Back
Top