Similar issue, during Ubuntu 20.04 update and upgrade at 14:48 UTC today I got an error installing package nvidia-340 340.108-0ubuntu2. After reboot, video flashes several times, can only get to CLI. I am new to Linux; I have not taken any actions to correct the problem and get the GUI to work. I captured _some_ of the error info...
Crash report Sorry, a problem occurred while installing software. - Package nvidia-340 340.108-0ubuntu2 - ProblemType Package - Title nvidia-340 340.108-0ubuntu2: nvidia-340 kernel module failed to build - ApportVersion 2.20.11-0ubuntu27.14 - Date Fri Jan 8 08:23:25 2021 - DistroRelease Ubuntu 20.04 - Duplicateof https://bugs.launchpad.net/bugs/1885344 - DuplicateSignature dkms:nvidia-340:340.108-0-ubuntu2:/var/lib/dkms/nvidia-340/340.108/build/nv-drm.c:54:25: error: implicit declaration of function 'drm_pci_init'; did you mean 'drm_mm_init'? [-Werror=implicit-function-declaration] - InstallationDate Installed on 2020-08-28 (132 days ago) - InstallationMedia Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731) -- 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/1885344 Title: nvidia-340 340.108-0ubuntu2: nvidia-340 kernel module failed to build (oem 5.6 kernel) Status in nvidia-graphics-drivers-340 package in Ubuntu: Confirmed Bug description: Nvidia kernel module fails to build with linux kernel 5.6.0. Exits with error code 2. Description: Ubuntu 20.04 LTS Release: 20.04 linux-image-unsigned-5.6.0-1018-oem: Installed: 5.6.0-1018.18 Candidate: 5.6.0-1018.18 Version table: *** 5.6.0-1018.18 500 500 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 Packages 100 /var/lib/dpkg/status ProblemType: Package DistroRelease: Ubuntu 20.04 Package: nvidia-340 340.108-0ubuntu2 ProcVersionSignature: Ubuntu 5.4.0-40.44-generic 5.4.44 Uname: Linux 5.4.0-40-generic x86_64 NonfreeKernelModules: talpa_vfshook talpa_pedconnector talpa_pedevice talpa_vcdevice talpa_core talpa_linux talpa_syscallhook nvidia ApportVersion: 2.20.11-0ubuntu27.3 Architecture: amd64 CasperMD5CheckResult: skip DKMSKernelVersion: 5.6.0-1018-oem Date: Sat Jun 27 02:15:51 2020 DuplicateSignature: dkms:nvidia-340:340.108-0ubuntu2:/var/lib/dkms/nvidia-340/340.108/build/nv-drm.c:54:25: error: implicit declaration of function ‘drm_pci_init’; did you mean ‘drm_mm_init’? [-Werror=implicit-function-declaration] InstallationDate: Installed on 2020-04-24 (63 days ago) InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423) PackageVersion: 340.108-0ubuntu2 Python3Details: /usr/bin/python3.8, Python 3.8.2, python3-minimal, 3.8.2-0ubuntu2 PythonDetails: N/A RelatedPackageVersions: dpkg 1.19.7ubuntu3 apt 2.0.3 SourcePackage: nvidia-graphics-drivers-340 Title: nvidia-340 340.108-0ubuntu2: nvidia-340 kernel module failed to build 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/1885344/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

