nvidia kernel module failed to build [/bin/sh: 1: cc: not found]

Bug #1501972 reported by Aru
64
This bug affects 8 people
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-340 (Ubuntu)
Fix Released
Undecided
Unassigned
nvidia-graphics-drivers-346 (Ubuntu)
Fix Released
Undecided
Unassigned
nvidia-graphics-drivers-352 (Ubuntu)
Confirmed
Undecided
Unassigned
nvidia-graphics-drivers-352-updates (Ubuntu)
Confirmed
Undecided
Unassigned
nvidia-graphics-drivers-390 (Ubuntu)
Confirmed
Undecided
Unassigned
nvidia-graphics-drivers-435 (Ubuntu)
New
Undecided
Unassigned
nvidia-graphics-drivers-440 (Ubuntu)
New
Undecided
Unassigned

Bug Description

I really have no idea of this issue, i just booted up and ubuntu notified me that there was a problem... hopefully ubuntu is self reporting enough information.

ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: nvidia-346 346.96-0ubuntu0.0.1
ProcVersionSignature: Ubuntu 3.19.0-30.33~14.04.1-generic 3.19.8-ckt6
Uname: Linux 3.19.0-30-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.1-0ubuntu3.15
Architecture: amd64
DKMSKernelVersion: 3.13.0-65-generic
Date: Thu Oct 1 18:17:00 2015
InstallationDate: Installed on 2015-09-25 (6 days ago)
InstallationMedia: Ubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805)
PackageVersion: 346.96-0ubuntu0.0.1
RelatedPackageVersions:
 dpkg 1.17.5ubuntu5.4
 apt 1.0.1ubuntu2.10
SourcePackage: nvidia-graphics-drivers-346
Title: nvidia-346 346.96-0ubuntu0.0.1: nvidia-346 kernel module failed to build
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.modprobe.d.nvidia.346.hybrid.conf: [deleted]

Revision history for this message
Aru (idsaru) wrote :
summary: nvidia-346 346.96-0ubuntu0.0.1: nvidia-346 kernel module failed to build
+ [/bin/sh: 1: cc: not found]
Revision history for this message
Launchpad Janitor (janitor) wrote : Re: nvidia-346 346.96-0ubuntu0.0.1: nvidia-346 kernel module failed to build [/bin/sh: 1: cc: not found]

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

Changed in nvidia-graphics-drivers-346 (Ubuntu):
status: New → Confirmed
Changed in nvidia-graphics-drivers-352 (Ubuntu):
status: New → Confirmed
Changed in nvidia-graphics-drivers-352-updates (Ubuntu):
status: New → Confirmed
Changed in nvidia-graphics-drivers-340 (Ubuntu):
status: New → Confirmed
Revision history for this message
zrmx8q54pcxh (zrmx8q54pcxh-deactivatedaccount) wrote :

Fix:
sudo apt install -y --reinstall gcc g++ gcc-7 g++-7

Changed in nvidia-graphics-drivers-346 (Ubuntu):
status: Confirmed → Fix Released
Changed in nvidia-graphics-drivers-340 (Ubuntu):
status: Confirmed → Fix Released
summary: - nvidia-346 346.96-0ubuntu0.0.1: nvidia-346 kernel module failed to build
- [/bin/sh: 1: cc: not found]
+ nvidia kernel module failed to build [/bin/sh: 1: cc: not found]
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in nvidia-graphics-drivers-390 (Ubuntu):
status: New → Confirmed
Revision history for this message
Ken Sharp (kennybobs) wrote :

"Fix:
sudo apt install -y --reinstall gcc g++ gcc-7 g++-7"

How on Earth is that a fix? Does an updated package do this for you? I'm doubting it very much.

Revision history for this message
Robert van der Spek (rmvanderspek) wrote :

Any fix for this yet? I have been unable to use my second screen for months now :-(

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.