package nvidia-current 260.19.21-0ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #690964 reported by Victor Ashik
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers (Ubuntu)
New
Undecided
Unassigned

Bug Description

I tried to install proprietary NVidia graphics card driver on Nautty Alpha 1 booted from USB.

ubuntu@ubuntu:~$ LANG=C sudo apt-get install nvidia-current
Reading package lists... Done
Building dependency tree
Reading state information... Done
nvidia-current is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]?
Setting up initramfs-tools (0.98.1ubuntu7) ...
update-initramfs: deferring update (trigger activated)
cp: cannot stat `/vmlinuz': No such file or directory
dpkg: error processing initramfs-tools (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up nvidia-current (260.19.21-0ubuntu1) ...
update-initramfs: deferring update (trigger activated)
cp: cannot stat `/vmlinuz': No such file or directory
dpkg: error processing nvidia-current (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.C.cache...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for python-support ...
Errors were encountered while processing:
 initramfs-tools
 nvidia-current
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 11.04
Package: nvidia-current 260.19.21-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.37-7.19-generic 2.6.37-rc3
Uname: Linux 2.6.37-7-generic i686
Architecture: i386
DRM.card0.HDMI_Type_A.1:
 status: disconnected
 enabled: disabled
 dpms: Off
 modes:
 edid-base64:
DRM.card0.VGA.1:
 status: connected
 enabled: enabled
 dpms: On
 modes: 1920x1200 1600x1200 1680x1050 1400x1050 1280x1024 1280x1024 1440x900 1360x768 1152x864 1280x720 1024x768 1024x768 1024x768 832x624 800x600 800x600 800x600 800x600 640x480 640x480 640x480 640x480 720x400
 edid-base64: AP///////wA4o+VmAQEBARESAQMONCB46u+Vo1RMmyYPUFS/74CBwIGAkECLwJUAqUCzANEAfUuAoHKwLUCIyDYABkQhAAAcAAAA/QA4VR9eFQAKICAgICAgAAAA/ABMQ0QyNDcwV05YCiAgAAAA/wA4NDAwMTg3NERCCiAgAG0=
Date: Thu Dec 16 09:57:17 2010
DkmsStatus:

ErrorMessage: subprocess installed post-installation script returned error exit status 1
LiveMediaBuild: Ubuntu 11.04 "Natty Narwhal" - Alpha i386 (20101202)
MachineType: Hewlett-Packard HP Elite 7100 Microtower PC
ProcKernelCmdLine: BOOT_IMAGE=/casper/vmlinuz noprompt cdrom-detect/try-usb=true persistent file=/cdrom/preseed/hostname.seed boot=casper initrd=/casper/initrd.lz quiet splash -- debian-installer/language=ru console-setup/layoutcode?=ru
SourcePackage: nvidia-graphics-drivers
Title: package nvidia-current 260.19.21-0ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
dmi.bios.date: 06/25/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 5.15
dmi.board.name: 2A9Ch
dmi.board.vendor: MSI
dmi.board.version: 1.0
dmi.chassis.asset.tag: CZC0325QZZ
dmi.chassis.type: 3
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr5.15:bd06/25/2010:svnHewlett-Packard:pnHPElite7100MicrotowerPC:pvrxxx0204GRxxxxxxxx0:rvnMSI:rn2A9Ch:rvr1.0:cvnHewlett-Packard:ct3:cvr:
dmi.product.name: HP Elite 7100 Microtower PC
dmi.product.version: xxx0204GRxxxxxxxx0
dmi.sys.vendor: Hewlett-Packard
glxinfo: Error: [Errno 2] Нет такого файла или каталога
system:
 distro: Ubuntu
 codename: natty
 architecture: i686
 kernel: 2.6.37-7-generic

Revision history for this message
Victor Ashik (vashik+) wrote :
Revision history for this message
Victor Ashik (vashik+) wrote :

Looks like vmlinuz kernel is absent inside RAM disk. Copying it from outside helps:

ubuntu@ubuntu:~$ ls /vmlinuz -l
lrwxrwxrwx 1 root root 29 2010-12-02 04:51 /vmlinuz -> boot/vmlinuz-2.6.37-7-generic
ubuntu@ubuntu:~$ cp /cdrom/casper/vmlinuz /boot/vmlinuz-2.6.37-7-generic
cp: невозможно создать обычный файл `/boot/vmlinuz-2.6.37-7-generic': Отказано в доступе
ubuntu@ubuntu:~$ sudo cp /cdrom/casper/vmlinuz /boot/vmlinuz-2.6.37-7-generic
ubuntu@ubuntu:~$ LANG=C sudo apt-get install nvidia-current
Reading package lists... Done
Building dependency tree
Reading state information... Done
nvidia-current is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]?
Setting up initramfs-tools (0.98.1ubuntu7) ...
update-initramfs: deferring update (trigger activated)
Setting up nvidia-current (260.19.21-0ubuntu1) ...
update-initramfs: deferring update (trigger activated)
Loading new nvidia-current-260.19.21 DKMS files...
First Installation: checking all kernels...
Building only for 2.6.37-7-generic
Building for architecture i686
Building initial module for 2.6.37-7-generic
Done.

nvidia-current.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/2.6.37-7-generic/updates/dkms/

depmod....

DKMS: install Completed.
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.37-7-generic
cryptsetup: WARNING: failed to detect canonical device of aufs
cryptsetup: WARNING: could not determine root device from /etc/fstab
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.C.cache...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for python-support ...
ubuntu@ubuntu:~$

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.