package nvidia-dkms-390 390.132-0ubuntu0.19.10.1 failed to install/upgrade: installed nvidia-dkms-390 package post-installation script subprocess returned error exit status 10

Bug #1876434 reported by Chris Taylor
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-390 (Ubuntu)
New
Undecided
Unassigned

Bug Description

The nvidia package failed to install on a routine update from the GUI. I then dropped to a terminal window to try again manually. It looks like the compile is failing.

Copy of /var/lib/dkms/nvidia/390.132/build/make.log is attached.

# lsb_release -rd
Description: Ubuntu 19.10
Release: 19.10

# apt update
Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu eoan InRelease
Get:3 http://us.archive.ubuntu.com/ubuntu eoan-updates InRelease [97.5 kB]
Hit:4 http://dl.google.com/linux/chrome/deb stable Release
Get:5 http://security.ubuntu.com/ubuntu eoan-security InRelease [97.5 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu eoan-backports InRelease [88.8 kB]
Fetched 284 kB in 1s (360 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.

# apt dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
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] y
Setting up nvidia-dkms-390 (390.132-0ubuntu0.19.10.1) ...
update-initramfs: deferring update (trigger activated)
update-initramfs: Generating /boot/initrd.img-5.3.0-46-generic
I: The initramfs will attempt to resume from /dev/dm-3
I: (/dev/mapper/vgubuntu-swap_1)
I: Set the RESUME variable to override this.
INFO:Enable nvidia
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
Removing old nvidia-390.132 DKMS files...

------------------------------
Deleting module version: 390.132
completely from the DKMS tree.
------------------------------
Done.
Loading new nvidia-390.132 DKMS files...
Building for 5.3.0-46-generic 5.3.0-51-generic
Building for architecture x86_64
Building initial module for 5.3.0-46-generic
Done.

nvidia.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.3.0-46-generic/updates/dkms/

nvidia-modeset.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.3.0-46-generic/updates/dkms/

nvidia-drm.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.3.0-46-generic/updates/dkms/

nvidia-uvm.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.3.0-46-generic/updates/dkms/

depmod...

DKMS: install completed.
Building initial module for 5.3.0-51-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/nvidia-dkms-390.0.crash'
Error! Bad return status for module build on kernel: 5.3.0-51-generic (x86_64)
Consult /var/lib/dkms/nvidia/390.132/build/make.log for more information.
dpkg: error processing package nvidia-dkms-390 (--configure):
 installed nvidia-dkms-390 package post-installation script subprocess returned error exit status 10
dpkg: dependency problems prevent configuration of nvidia-driver-390:
 nvidia-driver-390 depends on nvidia-dkms-390 (= 390.132-0ubuntu0.19.10.1); however:
  Package nvidia-dkms-390 is not configured yet.

dpkg: error processing package nvidia-driver-390 (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          Process
ing triggers for initramfs-tools (0.133ubuntu10) ...
update-initramfs: Generating /boot/initrd.img-5.3.0-51-generic
I: The initramfs will attempt to resume from /dev/dm-3
I: (/dev/mapper/vgubuntu-swap_1)
I: Set the RESUME variable to override this.
Errors were encountered while processing:
 nvidia-dkms-390
 nvidia-driver-390
E: Sub-process /usr/bin/dpkg returned an error code (1)
#

ProblemType: Package
DistroRelease: Ubuntu 19.10
Package: nvidia-dkms-390 390.132-0ubuntu0.19.10.1
ProcVersionSignature: Ubuntu 5.3.0-46.38-generic 5.3.18
Uname: Linux 5.3.0-46-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu8.8
Architecture: amd64
Date: Sat May 2 02:33:36 2020
ErrorMessage: installed nvidia-dkms-390 package post-installation script subprocess returned error exit status 10
InstallationDate: Installed on 2020-04-15 (17 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
Python3Details: /usr/bin/python3.7, Python 3.7.5, python3-minimal, 3.7.5-1
PythonDetails: /usr/bin/python2.7, Python 2.7.17, python-minimal, 2.7.17-1
RelatedPackageVersions:
 dpkg 1.19.7ubuntu2
 apt 1.9.4
SourcePackage: nvidia-graphics-drivers-390
Title: package nvidia-dkms-390 390.132-0ubuntu0.19.10.1 failed to install/upgrade: installed nvidia-dkms-390 package post-installation script subprocess returned error exit status 10
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Chris Taylor (ctaylor-g) wrote :
tags: removed: need-duplicate-check
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.