On 2021-10-15 19:23, Andreas Beckmann wrote:
On 14/10/2021 12.15, Drew Parsons wrote:
Package: nvidia-kernel-dkms
Version: 470.74-1
Severity: serious
Justification: fails to configure

Upgrade to the new nvidia-driver 470.74-1 (nvidia-kernel-dkms) fails
at the configuration step with this error message:

$ sudo aptitude
Performing actions...
Setting up nvidia-kernel-dkms (470.74-1) ...
Removing old nvidia-current-470.74 DKMS files...
Loading new nvidia-current-470.74 DKMS files...
Error! DKMS tree already contains: nvidia-current-470.74
You cannot add the same module/version combo more than once.

What happened earlier?
Did you somehow try to manually install the 470.74 driver from the .run file?

No, I didn't try any manual installations. Only upgrading nvidia-driver and nvidia-kernel-dkms etc to the version in experimental at times.


What happened at the first configuration attempt of the package?
You should find the full transcript of upgrading to 470 somewhere in
/var/log/apt/term.log*


/var/log/apt/term.log tells me it was upgrading from 470.63.01-1

Nothing unusual in the unpacking step (I guess we can ignore the message "Deleting from: /lib/modules/5.14.0-1-amd64/
rmdir: failed to remove '': No such file or directory"),

...
Unpacking nvidia-vdpau-driver:i386 (470.74-1) over (470.63.01-1) ...
Preparing to unpack .../056-nvidia-kernel-dkms_470.74-1_amd64.deb ...
Module nvidia-current-470.63.01 for kernel 5.14.0-1-amd64 (x86_64).
Before uninstall, this module version was ACTIVE on this kernel.

nvidia-current.ko:
 - Uninstallation
   - Deleting from: /lib/modules/5.14.0-1-amd64/
rmdir: failed to remove '': No such file or directory
 - Original module
   - No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


nvidia-current-modeset.ko:
 - Uninstallation
   - Deleting from: /lib/modules/5.14.0-1-amd64/
rmdir: failed to remove '': No such file or directory
 - Original module
   - No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
...
Deleting module nvidia-current-470.63.01 completely from the DKMS tree.
Unpacking nvidia-kernel-dkms (470.74-1) over (470.63.01-1) ...
Preparing to unpack .../057-nvidia-kernel-support_470.74-1_amd64.deb ...
Unpacking nvidia-kernel-support (470.74-1) over (470.63.01-1) ...
...


Then setup step shows no errors, until
...
Setting up nvidia-vdpau-driver:amd64 (470.74-1) ...
Setting up nvidia-vdpau-driver:i386 (470.74-1) ...
Setting up libgl1-nvidia-glvnd-glx:amd64 (470.74-1) ...
Setting up nvidia-kernel-dkms (470.74-1) ...
Loading new nvidia-current-470.74 DKMS files...
Building for 5.14.0-2-amd64
Building initial module for 5.14.0-2-amd64
+ [ clean = modules ]
At main.c:160:
- SSL error:02001002:system library:fopen:No such file or directory: ../crypto/bio/bss_file.c:69 - SSL error:2006D080:BIO routines:BIO_new_file:no such file: ../crypto/bio/bss_file.c:76
sign-file: /root/dkms.key: No such file or directory
Error! Bad exit status 1 for sign tool.
Consult /var/lib/dkms/nvidia-current/470.74/5.14.0-2-amd64/x86_64/log/make.log for more information.
dpkg: error processing package nvidia-kernel-dkms (--configure):
installed nvidia-kernel-dkms package post-installation script subprocess returned error exit status 11
Setting up libgles-nvidia1:amd64 (470.74-1) ...
Setting up libegl-nvidia0:amd64 (470.74-1) ...
Setting up nvidia-smi (470.74-1) ...
dpkg: dependency problems prevent configuration of nvidia-driver:
nvidia-driver depends on nvidia-kernel-dkms (= 470.74-1) | nvidia-kernel-470.74; however:
  Package nvidia-kernel-dkms is not configured yet.
  Package nvidia-kernel-470.74 is not installed.
Package nvidia-kernel-dkms which provides nvidia-kernel-470.74 is not configured yet.

dpkg: error processing package nvidia-driver (--configure):
 dependency problems - leaving unconfigured
Setting up nvidia-driver-bin (470.74-1) ...


I guess that reference to bss_file.c must be a clue, if not the reference to the missing /root/dkms.key

The 470.74/5.14.0-2 make.log in the error message shows no errors itself, but the last line is
"Signing /var/lib/dkms/nvidia-current/470.74/build/nvidia.ko"

Drew

Reply via email to