nvidia-kernel-source-390 390.87-0ubuntu2: nvidia kernel module failed to build [error: implicit declaration of function ‘drm_connector_attach_encoder’]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-graphics-drivers-390 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Loading new nvidia-390.87 DKMS files...
Building for 4.18.0-10-generic
Building for architecture x86_64
Building initial module for 4.18.0-10-generic
Error! Bad return status for module build on kernel: 4.18.0-10-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
Setting up libnvidia-
Setting up libnvidia-
Setting up hplip (3.18.10+dfsg0-3) ...
Creating/updating hplip user account...
dpkg: dependency problems prevent configuration of nvidia-driver-390:
nvidia-driver-390 depends on nvidia-dkms-390 (= 390.87-0ubuntu2); however:
Package nvidia-dkms-390 is not configured yet.
dpkg: error processing package nvidia-driver-390 (--configure):
dependency problems - leaving unconfigured
Setting up printer-
No apport report written because the error message indicates its a followup error from a previous failure.
Setting up libnvidia-
Processing triggers for initramfs-tools (0.131ubuntu15) ...
update-initramfs: Generating /boot/initrd.
Processing triggers for libc-bin (2.28-0ubuntu1) ...
Errors were encountered while processing:
nvidia-dkms-390
nvidia-driver-390
E: Sub-process /usr/bin/dpkg returned an error code (1)
sysop@x1904:~$
ProblemType: Package
DistroRelease: Ubuntu 19.04
Package: nvidia-
ProcVersionSign
Uname: Linux 4.18.0-10-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.10-0ubuntu14
Architecture: amd64
DKMSKernelVersion: 4.18.0-10-generic
Date: Tue Nov 13 22:56:33 2018
Dependencies:
DuplicateSignature: dkms:nvidia-
InstallationDate: Installed on 2018-05-20 (177 days ago)
InstallationMedia: Xubuntu 18.10 "Cosmic Cuttlefish" - Alpha amd64 (20180520)
PackageVersion: 390.87-0ubuntu2
Python3Details: /usr/bin/python3.7, Python 3.7.1, python3-minimal, 3.7.1-1ubuntu1
PythonDetails: /usr/bin/python2.7, Python 2.7.15+, python-minimal, 2.7.15-3
RelatedPackageV
dpkg 1.19.0.5ubuntu5
apt 1.7.0
SourcePackage: nvidia-
Title: nvidia-
UpgradeStatus: Upgraded to disco on 2018-11-07 (7 days ago)
tags: | removed: need-duplicate-check |
summary: |
nvidia-kernel-source-390 390.87-0ubuntu2: nvidia kernel module failed to - build + build [error: implicit declaration of function + ‘drm_connector_attach_encoder’] |
sudo apt purge nvidia-dkms-390 successful in also removing nvidia-driver-390*.
However, sudo apt install nvidia-driver-390 results in same error condition of
"Errors were encountered while processing:
nvidia-dkms-390
nvidia-driver-390
E: Sub-process /usr/bin/dpkg returned an error code (1)
"