package nvidia-current 260.19.21-0ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
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.
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/
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/
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
ProcVersionSign
Uname: Linux 2.6.37-7-generic i686
Architecture: i386
DRM.card0.
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/////
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=
SourcePackage: nvidia-
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.
dmi.chassis.type: 3
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnAmerican
dmi.product.name: HP Elite 7100 Microtower PC
dmi.product.
dmi.sys.vendor: Hewlett-Packard
glxinfo: Error: [Errno 2] Нет такого файла или каталога
system:
distro: Ubuntu
codename: natty
architecture: i686
kernel: 2.6.37-7-generic
Looks like vmlinuz kernel is absent inside RAM disk. Copying it from outside helps:
ubuntu@ubuntu:~$ ls /vmlinuz -l 2.6.37- 7-generic casper/ vmlinuz /boot/vmlinuz- 2.6.37- 7-generic vmlinuz- 2.6.37- 7-generic' : Отказано в доступе casper/ vmlinuz /boot/vmlinuz- 2.6.37- 7-generic 21-0ubuntu1) ... current- 260.19. 21 DKMS files...
lrwxrwxrwx 1 root root 29 2010-12-02 04:51 /vmlinuz -> boot/vmlinuz-
ubuntu@ubuntu:~$ cp /cdrom/
cp: невозможно создать обычный файл `/boot/
ubuntu@ubuntu:~$ sudo cp /cdrom/
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.
update-initramfs: deferring update (trigger activated)
Loading new nvidia-
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: 2.6.37- 7-generic/ updates/ dkms/
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/
depmod....
DKMS: install Completed. img-2.6. 37-7-generic applications/ desktop. C.cache. .. applications/ bamf.index. ..
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.
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/
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/
Processing triggers for python-support ...
ubuntu@ubuntu:~$