package nvidia-dkms-450 450.51.05-0ubuntu1 failed to install/upgrade: installed nvidia-dkms-450 package post-installation script subprocess returned error exit status 10
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-graphics-drivers-450 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I am trying to install cuda 11.0.2. I am following this guideline
my system is Ubuntu 20.04
sudo apt-get -y install cuda
Reading package lists... Done
Building dependency tree
Reading state information... Done
cuda is already the newest version (11.0.2-1).
The following packages were automatically installed and are no longer required:
libatomic1:i386 libbsd0:i386 libdrm-amdgpu1:i386 libdrm-intel1:i386
libdrm-
libelf1:i386 libexpat1:i386 libffi7:i386 libgl1:i386 libgl1-
libglapi-
libllvm12:i386 libpciaccess0:i386 libsensors5:i386 libstdc++6:i386
libvulkan1:i386 libwayland-
libxau6:i386 libxcb-dri2-0:i386 libxcb-dri3-0:i386 libxcb-glx0:i386
libxcb-
libxcb-
libxfixes3:i386 libxshmfence1:i386 libxxf86vm1:i386 mesa-vulkan-
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 205 not upgraded.
8 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up nvidia-dkms-450 (450.51.
update-initramfs: deferring update (trigger activated)
A modprobe blacklist file has been created at /etc/modprobe.d to prevent Nouveau
from loading. This can be reverted by deleting the following file:
/etc/modprobe.
A new initrd image has also been created. To revert, please regenerate your
initrd by running the following command after deleting the modprobe.d file:
`/usr/sbin/
*******
*** Reboot your computer and verify that the NVIDIA graphics driver can ***
*** be loaded. ***
*******
INFO:Enable nvidia
DEBUG:Parsing /usr/share/
DEBUG:Parsing /usr/share/
DEBUG:Parsing /usr/share/
Removing old nvidia-450.51.05 DKMS files...
-------
Deleting module version: 450.51.05
completely from the DKMS tree.
-------
Done.
Loading new nvidia-450.51.05 DKMS files...
Building for 5.15.0-60-generic
Building for architecture x86_64
Building initial module for 5.15.0-60-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/
Error! Bad return status for module build on kernel: 5.15.0-60-generic (x86_64)
Consult /var/lib/
dpkg: error processing package nvidia-dkms-450 (--configure):
installed nvidia-dkms-450 package post-installation script subprocess returned error exit status 10
dpkg: dependency problems prevent configuration of nvidia-driver-450:
nvidia-driver-450 depends on nvidia-dkms-450 (= 450.51.
Package nvidia-dkms-450 is not configured yet.
dpkg: error processing package nvidia-driver-450 (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because MaxReports is reached already
cuda-drivers-450 depends on nvidia-dkms-450 (>= 450.51.05); however:
Package nvidia-dkms-450 is not configured yet.
cuda-drivers-450 depends on nvidia-driver-450 (>= 450.51.05); however:
Package nvidia-driver-450 is not configured yet.
dpkg: error processing package cuda-drivers-450 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of cuda-drivers:
cuda-drivers depends on cuda-drivers-450 (= 450.51.05-1); however:
Package cuda-drivers-450 is not configured yet.
dpkg: error processing package cuda-drivers (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of cuda-runtime-11-0:
cuda-runtime-11-0 depends on cuda-drivers (>= 450.51.05); however:
Package cuda-drivers is not configured yet.
dpkg: error processing package cuda-runtime-11-0 (--configure):
dependency problems - leaving unconfigured
dpkg:No apport report written because MaxReports is reached already
cuda-11-0 depends on cuda-runtime-11-0 (>= 11.0.2); however:
Package cuda-runtime-11-0 is not configured yet.
dpkg: error processing package cuda-11-0 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of cuda-demo-
cuda-demo-
Package cuda-runtime-11-0 is not configured yet.
dpkg: error processing package cuda-demo-
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of cuda:
cuda depends on cuda-11-0 (>= 11.0.2); however:
Package cuda-11-0 is not configured yet.
dpkg: error processing package cuda (--configure):
dependency problems - leaving unconfigured
Processing triggers for initramfs-tools (0.136ubuntu6.7) ...
update-initramfs: Generating /boot/initrd.
I: The initramfs will attempt to resume from /dev/nvme0n1p4
I: (UUID=42b9442a-
I: Set the RESUME variable to override this.
Errors were encountered while processing:
nvidia-dkms-450
nvidia-driver-450
cuda-drivers-450
cuda-drivers
cuda-runtime-11-0
cuda-11-0
cuda-demo-
cuda
E: Sub-process /usr/bin/dpkg returned an error code (1)
Please your help.
ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: nvidia-dkms-450 450.51.05-0ubuntu1
ProcVersionSign
Uname: Linux 5.15.0-60-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-
AptOrdering: NULL: ConfigurePending
Architecture: amd64
CasperMD5CheckR
Date: Mon Feb 27 17:24:57 2023
ErrorMessage: installed nvidia-dkms-450 package post-installation script subprocess returned error exit status 10
InstallationDate: Installed on 2023-02-27 (0 days ago)
InstallationMedia: Ubuntu 20.04.5 LTS "Focal Fossa" - Release amd64 (20220831)
Python3Details: /usr/bin/python3.8, Python 3.8.10, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: N/A
RelatedPackageV
dpkg 1.19.7ubuntu3.2
apt 2.0.9
SourcePackage: nvidia-
Title: package nvidia-dkms-450 450.51.05-0ubuntu1 failed to install/upgrade: installed nvidia-dkms-450 package post-installation script subprocess returned error exit status 10
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |