DKMS error prevents successful configuration

Bug #913332 reported by Adam Porter
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

This is using 290.10 from the X-Swat PPA. Even though it actually works fine, and the driver works fine, that exit code 3 prevents "successful" configuration, causing aptitude to try to reconfigure it twice every time aptitude does anything, which takes a long time, because it makes the initramfs twice.
----
$ sai nvidia-current
The following NEW packages will be installed:
  nvidia-current
0 packages upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
Need to get 0 B/33.5 MB of archives. After unpacking 99.7 MB will be used.
Selecting previously deselected package nvidia-current.
(Reading database ... 434121 files and directories currently installed.)
Unpacking nvidia-current (from .../nvidia-current_290.10-0ubuntu1~oneiric~xup1_i386.deb) ...
Processing triggers for man-db ...
Setting up nvidia-current (290.10-0ubuntu1~oneiric~xup1) ...
update-alternatives: using /usr/lib/nvidia-current/ld.so.conf to provide /etc/ld.so.conf.d/i386-linux-gnu_GL.conf (i386-linux-gnu_gl_conf) in auto mode.
update-alternatives: warning: skip creation of /usr/lib32/libOpenCL.so because associated file /usr/lib32/nvidia-current/libOpenCL.so (of link group i386-linux-gnu_gl_conf) doesn't exist.
update-alternatives: warning: skip creation of /usr/lib32/vdpau/libvdpau_nvidia.so.1 because associated file /usr/lib32/nvidia-current/vdpau/libvdpau_nvidia.so.1 (of link group i386-linux-gnu_gl_conf) doesn't exist.
update-alternatives: warning: skip creation of /usr/lib32/libvdpau_nvidia.so because associated file /usr/lib32/nvidia-current/vdpau/libvdpau_nvidia.so (of link group i386-linux-gnu_gl_conf) doesn't exist.
update-initramfs: deferring update (trigger activated)
Removing old nvidia-current-290.10 DKMS files...
Loading new nvidia-current-290.10 DKMS files...
Error! DKMS tree already contains: nvidia-current-290.10
You cannot add the same module/version combo more than once.
dpkg: error processing nvidia-current (--configure):
 subprocess installed post-installation script returned error exit status 3
No apport report written because MaxReports is reached already
                                                              Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.0.0-14-generic
This kernel does not seem to support TuxOnIce user interface, skipping...
Errors were encountered while processing:
 nvidia-current
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up nvidia-current (290.10-0ubuntu1~oneiric~xup1) ...
update-initramfs: deferring update (trigger activated)
Removing old nvidia-current-290.10 DKMS files...
Loading new nvidia-current-290.10 DKMS files...
Error! DKMS tree already contains: nvidia-current-290.10
You cannot add the same module/version combo more than once.
dpkg: error processing nvidia-current (--configure):
 subprocess installed post-installation script returned error exit status 3
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.0.0-14-generic
This kernel does not seem to support TuxOnIce user interface, skipping...
Errors were encountered while processing:
 nvidia-current

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in nvidia-graphics-drivers (Ubuntu):
status: New → Confirmed
Revision history for this message
Matt Jones (workhorsy) wrote :

I'm getting something similar on 11.10 with default repos:

sudo apt-get install nvidia-current

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  nvidia-settings
The following NEW packages will be installed:
  nvidia-current nvidia-settings
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/32.5 MB of archives.
After this operation, 94.9 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Selecting previously deselected package nvidia-current.
(Reading database ... 218371 files and directories currently installed.)
Unpacking nvidia-current (from .../nvidia-current_280.13-0ubuntu6_i386.deb) ...
Selecting previously deselected package nvidia-settings.
Unpacking nvidia-settings (from .../nvidia-settings_280.13-0ubuntu2_i386.deb) ...
Processing triggers for man-db ...
Setting up nvidia-current (280.13-0ubuntu6) ...
update-alternatives: using /usr/lib/nvidia-current/ld.so.conf to provide /etc/ld.so.conf.d/i386-linux-gnu_GL.conf (i386-linux-gnu_gl_conf) in auto mode.
update-alternatives: error: unable to install /usr/lib32/libOpenCL.so.dpkg-tmp as /usr/lib32/libOpenCL.so: No such file or directory
dpkg: error processing nvidia-current (--configure):
 subprocess installed post-installation script returned error exit status 2
Setting up nvidia-settings (280.13-0ubuntu2) ...
Processing triggers for gnome-menus ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Errors were encountered while processing:
 nvidia-current
E: Sub-process /usr/bin/dpkg returned an error code (1)

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.