Jockey not offer to install nvidia/fglrx/etc. drivers in LiveCD environment, else get error "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 | |
---|---|---|---|---|---|
jockey (Ubuntu) |
Fix Released
|
High
|
Martin Pitt | ||
Natty |
Fix Released
|
High
|
Martin Pitt | ||
nvidia-graphics-drivers (Ubuntu) |
Invalid
|
Wishlist
|
Unassigned | ||
Natty |
Invalid
|
Wishlist
|
Unassigned |
Bug Description
[Problem]
This is a common issue encountered by users trying to install -nvidia on systems with insufficient space to install the driver. This can happen for instance if the user is booting from a usb disk.
It is further noticed that in many cases the system may appear to have enough space, but it still fails on an out of space issue. It is suspected that either more space is used than expected, or the amount of available space is overreported.
Jockey should check for available space on installation, and should include a sizable margin (like 2.5x space asked). If the user has less than that amount of space, it should give a dialog warning them that they won't have enough space.
Jockey also needs to be aware that in a LiveCD environment, there may be ample space available in the reserved persistent space (the casper-rw file on the usb key), but it needs to have space on the underlying filesystem too, for creating initrd and storing the kernel image and so on.
[Steps to Reproduce]
1. Download an ISO
2. Generate a USB install key using usb-creator. Select the 'Stored in reserved extra space' option and set it to the maximum available space.
3. Using df note the remaining free space (496k in my case)
4. Boot the usb device on a system with NVIDIA or AMD graphics
5. Go to the applications menu. Select 'Additional Drivers'. Install fglrx or nvidia (or any other proprietary driver).
6. Installation of the driver fails. (I see "SystemError: installArchives() failed" but might error differently depending on how much space was available).
7. Shut down system and re-examine usb drive. The persistence file has not changed size, but other things on the USB drive have increased and used up the remaining space. (I see initrd.lz.new of size 496k)
[Original Report]
Booted from usb disk
Got a notice saying that unity was not available because I didn't have 3D.
Went to System-
Apport detected crash, driver installation failed.
ProblemType: Package
DistroRelease: Ubuntu 11.04
Package: nvidia-current 260.19.21-0ubuntu1
ProcVersionSign
Uname: Linux 2.6.37-7-generic i686
Architecture: i386
Date: Fri Dec 3 23:57:10 2010
DkmsStatus:
ErrorMessage: subprocess installed post-installation script returned error exit status 1
GdmLog1: Error: command ['cat', '/var/log/
GdmLog2: Error: command ['cat', '/var/log/
LiveMediaBuild: Ubuntu 11.04 "Natty Narwhal" - Alpha i386 (20101203)
MachineType: System manufacturer System Product Name
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: 11/23/2007
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1226
dmi.board.
dmi.board.name: P5B-Deluxe
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: System Product Name
dmi.product.
dmi.sys.vendor: System manufacturer
glxinfo: Error: [Errno 2] No such file or directory
system:
distro: Ubuntu
codename: natty
architecture: i686
kernel: 2.6.37-7-generic
description: | updated |
description: | updated |
Changed in nvidia-graphics-drivers (Ubuntu Natty): | |
importance: | Critical → Wishlist |
Changed in jockey (Ubuntu Natty): | |
importance: | Critical → High |
assignee: | nobody → Martin Pitt (pitti) |
description: | updated |
Changed in jockey (Ubuntu Natty): | |
status: | Triaged → Fix Committed |
How much persistent storage space do you have allocated? nvidia-current needs quite a bit to install properly, it could be a case of just not having enough available here.