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 -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to nvidia-graphics-drivers-340 in Ubuntu. https://bugs.launchpad.net/bugs/1770269 Title: package nvidia-340 340.106-0ubuntu3 failed to install/upgrade: installed nvidia-340 package post-installation script subprocess returned error exit status 139 Status in nvidia-graphics-drivers-340 package in Ubuntu: New Bug description: Can't install NVIDIA proprietary driver - no obvious symptoms, just failed. Virgin install of xubuntu 18.04 + updates. ProblemType: Package DistroRelease: Ubuntu 18.04 Package: nvidia-340 340.106-0ubuntu3 ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17 Uname: Linux 4.15.0-20-generic x86_64 ApportVersion: 2.20.9-0ubuntu7 Architecture: amd64 Date: Wed May 9 22:02:19 2018 ErrorMessage: installed nvidia-340 package post-installation script subprocess returned error exit status 139 InstallationDate: Installed on 2018-05-08 (1 days ago) InstallationMedia: Xubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) 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-340 Title: package nvidia-340 340.106-0ubuntu3 failed to install/upgrade: installed nvidia-340 package post-installation script subprocess returned error exit status 139 UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-340/+bug/1770269/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp