package nvidia-dkms-390 390.129-0ubuntu1 failed to install/upgrade: installed nvidia-dkms-390 package post-installation script subprocess returned error exit status 10 [error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible]

Bug #1846995 reported by Alan Pope 🍺🐧🐱 🦄
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-390 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Doing a do-release-upgrade -d from 19.04 to 19.10.
The upgrade crashed out part way through, automatically reporting this bug.

update-initramfs: Generating /boot/initrd.img-5.3.0-13-generic
Processing triggers for libgdk-pixbuf2.0-0:amd64 (2.39.2-3) ...
Processing triggers for libc-bin (2.30-0ubuntu2) ...
Processing triggers for menu (2.1.47ubuntu3) ...
Errors were encountered while processing:
 nvidia-dkms-390
 nvidia-driver-390
Exception during pm.DoInstall(): E:Sub-process /usr/bin/dpkg returned an error code (1)

*** Send problem report to the developers?

After the problem report has been sent, please fill out the form in the
automatically opened web browser.

What would you like to do? Your options are:
  S: Send report (624.7 KB)
  V: View report
  K: Keep report file for sending later or copying to somewhere else
  I: Cancel and ignore future crashes of this program version
  C: Cancel
Please choose (S/V/K/I/C): s

ProblemType: Package
DistroRelease: Ubuntu 19.10
Package: nvidia-dkms-390 390.129-0ubuntu1
ProcVersionSignature: Ubuntu 5.0.0-27.28-generic 5.0.21
Uname: Linux 5.0.0-27-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair nvidia_uvm nvidia_drm nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu7
Architecture: amd64
Date: Mon Oct 7 01:17:46 2019
ErrorMessage: installed nvidia-dkms-390 package post-installation script subprocess returned error exit status 10
InstallationDate: Installed on 2018-04-23 (531 days ago)
InstallationMedia: Ubuntu-MATE 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180421.1)
Python3Details: /usr/bin/python3.7, Python 3.7.5rc1, python3-minimal, 3.7.3-1
PythonDetails: /usr/bin/python2.7, Python 2.7.16+, python-minimal, 2.7.16-1
RelatedPackageVersions:
 dpkg 1.19.7ubuntu2
 apt 1.9.4
SourcePackage: nvidia-graphics-drivers-390
Title: package nvidia-dkms-390 390.129-0ubuntu1 failed to install/upgrade: installed nvidia-dkms-390 package post-installation script subprocess returned error exit status 10
UpgradeStatus: Upgraded to eoan on 2019-10-07 (0 days ago)

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :
Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :

Running "dpkg --configure -a" results in..

steam@deep-blue:~$ sudo dpkg --configure -a
[sudo] password for steam:
Setting up nvidia-dkms-390 (390.129-0ubuntu1) ...
update-initramfs: deferring update (trigger activated)
update-initramfs: Generating /boot/initrd.img-5.0.0-27-generic
INFO:Enable nvidia
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
Removing old nvidia-390.129 DKMS files...

------------------------------
Deleting module version: 390.129
completely from the DKMS tree.
------------------------------
Done.
Loading new nvidia-390.129 DKMS files...
Building for 5.0.0-27-generic 5.3.0-13-generic
Building for architecture x86_64
Building initial module for 5.0.0-27-generic
ERROR (dkms apport): kernel package linux-headers-5.0.0-27-generic is not supported
Error! Bad return status for module build on kernel: 5.0.0-27-generic (x86_64)
Consult /var/lib/dkms/nvidia/390.129/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.129-0ubuntu1); however:
  Package nvidia-dkms-390 is not configured yet.

dpkg: error processing package nvidia-driver-390 (--configure):
 dependency problems - leaving unconfigured
Processing triggers for initramfs-tools (0.133ubuntu10) ...
update-initramfs: Generating /boot/initrd.img-5.3.0-13-generic
Errors were encountered while processing:
 nvidia-dkms-390
 nvidia-driver-390

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :

The make.log

tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nvidia-graphics-drivers-390 (Ubuntu):
status: New → Confirmed
Revision history for this message
Ken Sharp (kennybobs) wrote :

Did you build a custom kernel?

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :

Nope. Stock kernel.

summary: package nvidia-dkms-390 390.129-0ubuntu1 failed to install/upgrade:
installed nvidia-dkms-390 package post-installation script subprocess
- returned error exit status 10
+ returned error exit status 10 [error: ‘-mindirect-branch’ and
+ ‘-fcf-protection’ are not compatible]
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.