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]
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.
Processing triggers for libgdk-
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
ProcVersionSign
Uname: Linux 5.0.0-27-generic x86_64
NonfreeKernelMo
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
RelatedPackageV
dpkg 1.19.7ubuntu2
apt 1.9.4
SourcePackage: nvidia-
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)
tags: | removed: need-duplicate-check |
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] |
Running "dpkg --configure -a" results in..
steam@deep-blue:~$ sudo dpkg --configure -a img-5.0. 0-27-generic ubuntu- drivers- common/ quirks/ put_your_ quirks_ here ubuntu- drivers- common/ quirks/ dell_latitude ubuntu- drivers- common/ quirks/ lenovo_ thinkpad
[sudo] password for steam:
Setting up nvidia-dkms-390 (390.129-0ubuntu1) ...
update-initramfs: deferring update (trigger activated)
update-initramfs: Generating /boot/initrd.
INFO:Enable nvidia
DEBUG:Parsing /usr/share/
DEBUG:Parsing /usr/share/
DEBUG:Parsing /usr/share/
Removing old nvidia-390.129 DKMS files...
------- ------- ------- ------- -- ------- ------- ------- -- 5.0.0-27- generic is not supported dkms/nvidia/ 390.129/ build/make. log for more information.
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-
Error! Bad return status for module build on kernel: 5.0.0-27-generic (x86_64)
Consult /var/lib/
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): img-5.3. 0-13-generic
dependency problems - leaving unconfigured
Processing triggers for initramfs-tools (0.133ubuntu10) ...
update-initramfs: Generating /boot/initrd.
Errors were encountered while processing:
nvidia-dkms-390
nvidia-driver-390