package nvidia-dkms-390 (not installed) failed to install/upgrade: installed nvidia-dkms-390 package post-installation script subprocess returned error exit status 1

Bug #1766321 reported by Leif on 2018-04-23
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-390 (Ubuntu)
Undecided
Unassigned

Bug Description

Happens after upgrading from ubuntu 16.04 to 18.04.

Kernel gets stuck at 4.13, and nvidia drivers won't install due to headers removed during installation.

For fixing in installation: Remove nvidia drivers before installing new kernel.

Steps to fix manually after upgrading:
Remove nvidia
Remove new kernel
Install new kernel
Reboot
Remove old kernel
Install nvidia
Reboot

ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: nvidia-dkms-390 (not installed)
ProcVersionSignature: Ubuntu 4.13.0-38.43~16.04.1-generic 4.13.16
Uname: Linux 4.13.0-38-generic x86_64
ApportVersion: 2.20.9-0ubuntu6
Architecture: amd64
Date: Mon Apr 23 20:23:15 2018
ErrorMessage: installed nvidia-dkms-390 package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2016-06-30 (662 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
RelatedPackageVersions:
 dpkg 1.19.0.5ubuntu2
 apt 1.6.1
SourcePackage: nvidia-graphics-drivers-390
Title: package nvidia-dkms-390 (not installed) failed to install/upgrade: installed nvidia-dkms-390 package post-installation script subprocess returned error exit status 1
UpgradeStatus: Upgraded to bionic on 2018-04-17 (6 days ago)

Leif (leifcr) wrote :
Brian Murray (brian-murray) wrote :

From DpkgTerminalLog:

Loading new nvidia-390.48 DKMS files...
Building for 4.13.0-38-generic 4.15.0-15-generic
Building for architecture x86_64
Module build for kernel 4.13.0-38-generic was skipped since the
kernel headers for this kernel does not seem to be installed.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers