← Back to team overview

ubuntu-x-swat team mailing list archive

[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"

 

This issue has existed for some time, however in natty with Unity now
being the default interface users are shown a warning that they lack 3D.
This motivates them to try installing a binary driver via jockey.
Especially if they're just testing to kick the tires, they may attempt
to do so on media without sufficient space.  Since for all NVIDIA owners
the LiveCD boots with nouveau (currently defaulted to 2D-only), a lot of
people will be encountering this particular bug work flow.

Because of this, I think the severity of this bug is critical.

** 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.
+ 
  
  [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

** 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)
  
  [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

** Also affects: jockey (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: jockey (Ubuntu Natty)
       Status: New => Triaged

** Changed in: jockey (Ubuntu Natty)
   Importance: Undecided => Critical

-- 
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