Spent a chunk of time trying to get cuda / openCL working in python, and seemed to have negatively impacted something I should not have.
I'll preface that my plan is to reinstall proxmox, but I hope to try to learn what has happened by diagnosing the issue before that.
When I try to 'apt-get install' anything, I get the same DKMS issue, example shown below with nvidia-driver (as this is what I was working on when I began to run into this issue)
However, I get this same issue for any 'apt-get install' I try to run...
e.g.
I've spent a couple of hours trying to trace the errors shown, but generally keep stumbing upon unrelated bugs, and unfortunately am not making progress in understanding what went wrong exactly. I am hoping someone can point me in the right direction.
I'll preface that my plan is to reinstall proxmox, but I hope to try to learn what has happened by diagnosing the issue before that.
When I try to 'apt-get install' anything, I get the same DKMS issue, example shown below with nvidia-driver (as this is what I was working on when I began to run into this issue)
Code:
root@server:~# apt install nvidia-driver
Reading package lists... Done
Building dependency tree
Reading state information... Done
nvidia-driver is already the newest version (418.74-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Setting up nvidia-kernel-dkms (418.74-1) ...
Removing old nvidia-current-418.74 DKMS files...
------------------------------
Deleting module version: 418.74
completely from the DKMS tree.
------------------------------
Done.
Loading new nvidia-current-418.74 DKMS files...
Building for 5.3.13-1-pve
Building initial module for 5.3.13-1-pve
Error! Bad return status for module build on kernel: 5.3.13-1-pve (x86_64)
Consult /var/lib/dkms/nvidia-current/418.74/build/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 10
dpkg: dependency problems prevent configuration of nvidia-driver:
nvidia-driver depends on nvidia-kernel-dkms (= 418.74-1) | nvidia-kernel-418.74; however:
Package nvidia-kernel-dkms is not configured yet.
Package nvidia-kernel-418.74 is not installed.
Package nvidia-kernel-dkms which provides nvidia-kernel-418.74 is not configured yet.
dpkg: error processing package nvidia-driver (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
nvidia-kernel-dkms
nvidia-driver
E: Sub-process /usr/bin/dpkg returned an error code (1)
However, I get this same issue for any 'apt-get install' I try to run...
e.g.
Code:
root@server:~# apt-get install iperf
Reading package lists... Done
Building dependency tree
Reading state information... Done
iperf is already the newest version (2.0.12+dfsg1-2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Setting up nvidia-kernel-dkms (418.74-1) ...
Removing old nvidia-current-418.74 DKMS files...
------------------------------
Deleting module version: 418.74
completely from the DKMS tree.
------------------------------
Done.
Loading new nvidia-current-418.74 DKMS files...
Building for 5.3.13-1-pve
Building initial module for 5.3.13-1-pve
Error! Bad return status for module build on kernel: 5.3.13-1-pve (x86_64)
Consult /var/lib/dkms/nvidia-current/418.74/build/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 10
dpkg: dependency problems prevent configuration of nvidia-driver:
nvidia-driver depends on nvidia-kernel-dkms (= 418.74-1) | nvidia-kernel-418.74; however:
Package nvidia-kernel-dkms is not configured yet.
Package nvidia-kernel-418.74 is not installed.
Package nvidia-kernel-dkms which provides nvidia-kernel-418.74 is not configured yet.
dpkg: error processing package nvidia-driver (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
nvidia-kernel-dkms
nvidia-driver
E: Sub-process /usr/bin/dpkg returned an error code (1)
I've spent a couple of hours trying to trace the errors shown, but generally keep stumbing upon unrelated bugs, and unfortunately am not making progress in understanding what went wrong exactly. I am hoping someone can point me in the right direction.
Last edited: