package nvidia-340 340.106-0ubuntu3 failed to install/upgrade: new nvidia-340 package pre-installation script subprocess returned error exit status 1

Bug #1771413 reported by cariboo
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-340 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I was doing daily updates when the error came up.

ProblemType: Package
DistroRelease: Ubuntu 18.10
Package: nvidia-340 340.106-0ubuntu3
ProcVersionSignature: Ubuntu 4.15.0-21.22-generic 4.15.17
Uname: Linux 4.15.0-21-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia
ApportVersion: 2.20.10-0ubuntu2
Architecture: amd64
Date: Tue May 15 12:08:02 2018
ErrorMessage: new nvidia-340 package pre-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2017-10-21 (205 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Beta amd64 (20171015)
Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3
PythonDetails: /usr/bin/python2.7, Python 2.7.15, python-minimal, 2.7.15~rc1-1
RelatedPackageVersions:
 dpkg 1.19.0.5ubuntu3
 apt 1.7.0~alpha0ubuntu1
SourcePackage: nvidia-graphics-drivers-340
Title: package nvidia-340 340.106-0ubuntu3 failed to install/upgrade: new nvidia-340 package pre-installation script subprocess returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
cariboo (cariboo) wrote :
Revision history for this message
Guilherme G. Piccoli (gpiccoli) wrote :

Hello, I was experiencing something similar. I'd like to request some data from you; seems we might have duplicate bugs, so I'm trying to narrowing if they all are reporting the same failures, and I have a potential fix for it.

Please, try to rebuild the packages by running (as root):
"/usr/lib/dkms/dkms_autoinstaller start <your_kernel_version>"
For example: "/usr/lib/dkms/dkms_autoinstaller start 4.15.0-21-generic"

After that, collect the build log and attach it here. It's present usually at:
"/var/lib/dkms/nvidia-340/<your_nvidia_pkg_version>/build/make.log"

Thanks,

Guilherme

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in nvidia-graphics-drivers-340 (Ubuntu):
status: New → Confirmed
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.