← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 450238] [NEW] nvidia-185-kernel-source cant add itself to dkms

 

Public bug reported:

The package installation fails in postinst:

+ dpkg-query -W -f=${Version} nvidia-185-kernel-source
+ awk -F - {print $1}
+ PKGVER=185.18.36
+ PKGVER=185.18.36
+ SOURCES=/var/lib/dkms/nvidia/
+ VERSION=185.71
+ dpkg --compare-versions 185.18.36 lt 185.71
+ echo True
+ STATUS=True
+ [ configure = configure ]
+ [ -z  ]
+ KERNEL_MATCHES=false
+ echo First Installation: checking all kernels...
First Installation: checking all kernels...
+ [ false = false ]
+ echo Directory for kernel  not found in /lib/modules
Directory for kernel  not found in /lib/modules
+ dpkg --print-architecture
+ FORCE_ARCH=x86_64
+ echo Adding Module to DKMS build system
Adding Module to DKMS build system
+ dkms add -m nvidia -v

Error! Invalid number of arguments passed.
Usage: add -m <module> -v <module-version>

The reason for this is, that the script uses a variable $CVERSION that
is never defined. Adding it manually works:

dkms add -m nvidia -v 185.18.36

Creating symlink /var/lib/dkms/nvidia/185.18.36/source ->
                 /usr/src/nvidia-185.18.36

DKMS: add Completed.

ProblemType: Bug
Architecture: amd64
Date: Tue Oct 13 12:15:49 2009
DistroRelease: Ubuntu 9.10
MachineType: Gigabyte Technology Co., Ltd. P43-ES3G
Package: nvidia-185-kernel-source 185.18.36-0ubuntu5
ProcCmdLine: root=/dev/sda6 ro
ProcEnviron:
 LANGUAGE=
 PATH=(custom, user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-13.44-generic
RelatedPackageVersions:
 xserver-xorg 1:7.4+3ubuntu5
 libgl1-mesa-glx 7.6.0-1ubuntu2
 libdrm2 2.4.14-1ubuntu1
 xserver-xorg-video-intel 2:2.9.0-1ubuntu1
 xserver-xorg-video-ati 1:6.12.99+git20090825.fc74e119-0ubuntu3
SourcePackage: nvidia-graphics-drivers-180
Uname: Linux 2.6.31-13-generic x86_64
XorgConf: Error: [Errno 2] No such file or directory: '/etc/X11/xorg.conf'
XsessionErrors:
 (polkit-gnome-authentication-agent-1:1694): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
 (acroread:3075): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libqtcurve.so: wrong ELF class: ELFCLASS64
 (acroread:3115): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libqtcurve.so: wrong ELF class: ELFCLASS64
dmi.bios.date: 01/14/2009
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: F4
dmi.board.name: P43-ES3G
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrF4:bd01/14/2009:svnGigabyteTechnologyCo.,Ltd.:pnP43-ES3G:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnP43-ES3G:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
dmi.product.name: P43-ES3G
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
fglrx: Not loaded
system:
 distro:             Ubuntu
 architecture:       x86_64kernel:             2.6.31-13-generic

** Affects: nvidia-graphics-drivers-180 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug

-- 
nvidia-185-kernel-source cant add itself to dkms
https://bugs.launchpad.net/bugs/450238
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to nvidia-graphics-drivers-180 in ubuntu.



Follow ups

References