nvidia-331 kernel module failed to install lubuntu 14.04 [cc: error trying to exec 'as': execvp: No such file or directory]

Bug #1310140 reported by S. H. Yoon
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-331 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

got bbswitch-dkms error while installing

ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: nvidia-331 331.38-0ubuntu7
ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
Uname: Linux 3.13.0-24-generic i686
ApportVersion: 2.14.1-0ubuntu3
Architecture: i386
DKMSKernelVersion: 3.13.0-24-generic
Date: Sun Apr 20 09:55:43 2014
DuplicateSignature: dkms:nvidia-331:331.38-0ubuntu7:/var/lib/dkms/nvidia-331/331.38/build/conftest/macros.h:1:2: error: #error INIT_WORK() conftest failed!
PackageVersion: 331.38-0ubuntu7
SourcePackage: nvidia-graphics-drivers-331
Title: nvidia-331 331.38-0ubuntu7: nvidia-331 kernel module failed to build
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
S. H. Yoon (mailhyoon) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in nvidia-graphics-drivers-331 (Ubuntu):
status: New → Confirmed
Revision history for this message
S. H. Yoon (mailhyoon) wrote :

Ok - I think this dumb cow has managed to somehow stepped on the bug/rat & squashed it (old Asian proverb)
To make the long story short:
binutil was installed but ld was not = prob problem was missing items from the package
so:
$ sudo apt-get remove binutils
$ sudo apt-get install binutils

Solved the missing 'ld' problem, which was reported by an error when I attempted to install
$sudo ./NVIDIA-Linux-x86-331.67.run
Even after 'binutils' re-install NVIDIA-Linux-x86-331.67.run failed for unknown reason
>>>>nvidia-installer log file '/var/log/nvidia-installer.log'
>>>>creation time: Mon Apr 21 20:58:15 2014
>>>>installer version: 331.67
>>>>PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
>>>>nvidia-installer command line:
>>>> ./nvidia-installer
>>>>Using: nvidia-installer ncurses user interface
>>>>-> License accepted.
>>>>-> Installing NVIDIA driver version 331.67.
>>>>-> Running distribution scripts
>>>> executing: '/usr/lib/nvidia/pre-install'...
>>>>-> done.
>>>>-> The distribution-provided pre-install script failed!
>>>>Continue installation anyway? (Answer: No)

As last attempt (& sick of loud fan noise after coming back from 'suspend' state) I typed in, which worked:

$ sudo apt-get install nvidia-current-updates

>DKMS: install completed.
>Setting up nvidia-current-updates (304.117-0ubuntu1) ...
>Setting up nvidia-libopencl1-304-updates (304.117-0ubuntu1) ...
>Setting up nvidia-opencl-icd-304-updates (304.117-0ubuntu1) ...
>Processing triggers for libc-bin (2.19-0ubuntu6) ...
>Processing triggers for initramfs-tools (0.103ubuntu4) ...
>update-initramfs: Generating /boot/initrd.img-3.13.0-24-generic

Of course we need to, but did see an ERROR
$ sudo nvidia-xconfig

>Using X configuration file: "/etc/X11/xorg.conf".
>VALIDATION ERROR: Data incomplete in file /etc/X11/xorg.conf.
> Device section "Default Device" must have a Driver line.
>Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.nvidia-xconfig-original'
>Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.backup'
>New X configuration file written to '/etc/X11/xorg.conf'

Did it again
$ sudo nvidia-xconfig
>Using X configuration file: "/etc/X11/xorg.conf".
>Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.backup'
>New X configuration file written to '/etc/X11/xorg.conf'

After this I simply switched to latest Nvidia driver from "Software & Update" by choosing
(o) Using NVIDIA binary driver - version 331.38 from nvidia-331 (proprietary, tested)

So this is now solved - at least for me!

summary: - nvidia-331 kernel module failed to install lubuntu 14.04
+ nvidia-331 kernel module failed to install lubuntu 14.04 [cc: error
+ trying to exec 'as': execvp: No such file or directory]
Revision history for this message
Apport retracing service (apport) wrote : This bug is a duplicate

Thank you for taking the time to report this crash and helping to make this software better. This particular crash has already been reported and is a duplicate of bug #1311104, so is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.

tags: removed: need-duplicate-check
Revision history for this message
NShell32 (nshell32) wrote :

In my case, was helped previously switched up bumblebee:
sudo tee /proc/acpi/bbswitch <<<ON

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.