ubuntu-x-swat team mailing list archive
-
ubuntu-x-swat team
-
Mailing list archive
-
Message #102542
[Bug 685017] Re: Jockey should warn on insufficient disk space 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"
** Description changed:
[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.
[Steps to Reproduce]
- (Sarvatt, please fill in)
+ 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->Administration->Hardware drivers, selected to install
nvidia drivers.
Apport detected crash, driver installation failed.
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
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/gdm/:0.log.1'] failed with exit code 1: cat: /var/log/gdm/:0.log.1: No such file or directory
GdmLog2: Error: command ['cat', '/var/log/gdm/:0.log.2'] failed with exit code 1: cat: /var/log/gdm/:0.log.2: No such file or directory
LiveMediaBuild: Ubuntu 11.04 "Natty Narwhal" - Alpha i386 (20101203)
MachineType: System manufacturer System Product Name
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 -- maybe-ubiquity
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: 11/23/2007
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1226
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: P5B-Deluxe
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1226:bd11/23/2007:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP5B-Deluxe:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
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
--
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to nvidia-graphics-drivers in ubuntu.
https://bugs.launchpad.net/bugs/685017
Title:
Jockey should warn on insufficient disk space 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"
References