nvidia-dkms-570 570.133.07-0ubuntu0.22.04.1: nvidia kernel module failed to build
This bug report will be marked for expiration in 50 days if no further activity occurs. (find out why)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-graphics-drivers-570 (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
I updated my Operating system from 20.04 to 22.04, but I don't think the NVIDIA kernel module built correctly.
ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: nvidia-dkms-570 570.133.
ProcVersionSign
Uname: Linux 5.15.0-139-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.6
Architecture: amd64
CasperMD5CheckR
DKMSKernelVersion: 5.15.0-139-generic
Date: Thu May 8 13:10:40 2025
InstallationDate: Installed on 2019-01-22 (2297 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
PackageVersion: 570.133.
Python3Details: /usr/bin/
PythonDetails: /usr/bin/python2.7, Python 2.7.18, python-is-python2, 2.7.17-4
RelatedPackageV
dpkg 1.21.1ubuntu2.3
apt 2.4.13
SourcePackage: nvidia-
Title: nvidia-dkms-570 570.133.
UpgradeStatus: Upgraded to jammy on 2025-05-08 (0 days ago)
Something is wrong with your gcc setup. Make sure you have build-essential package installed.
The C compiler '/usr/bin/gcc' does not appear to be able to
create object files. Please make sure you have
your Linux distribution's libc development package
installed and that '/usr/bin/gcc' is a valid C compiler
name.