need to detect partman exit status

Bug #92442 reported by TheDoorway
2
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Fix Released
High
Colin Watson

Bug Description

Binary package hint: ubiquity

I haven't used Linux except to play with a Live CD. I was installing onto a Windows ME system. I told installer the to erase the entire 30GB hard disk and install onto it. Here is the info from the crash report, copied and pasted here.

We're sorry; the installer crashed. Please file a bug report at https://launchpad.net/distros/ubuntu/+source/ubiquity/+filebug and a developer will attend to the problem as soon as possible. To help the developers understand what went wrong, include the following detail in your bug report, and attach the files /var/log/installer/syslog, /var/log/syslog, and /var/log/partman:

Traceback (most recent call last):
  File "/usr/bin/ubiquity", line 130, in ?
    install(sys.argv[1])
  File "/usr/bin/ubiquity", line 55, in install
    ret = wizard.run()
  File "/usr/lib/python2.4/site-packages/ubiquity/frontend/gtkui.py", line 264, in run
    self.progress_loop()
  File "/usr/lib/python2.4/site-packages/ubiquity/frontend/gtkui.py", line 538, in progress_loop
    raise RuntimeError, ("Install failed with exit code %s; see "
RuntimeError: Install failed with exit code 1; see /var/log/installer/syslog and /var/log/syslog

Related branches

Revision history for this message
TheDoorway (thedoor) wrote :

Per installer crash instructions, I am attaching the files /var/log/installer/syslog, /var/log/syslog, and /var/log/partman

Revision history for this message
TheDoorway (thedoor) wrote :

Per installer crash instructions, I am attaching the files /var/log/installer/syslog, /var/log/syslog, and /var/log/partman

Revision history for this message
TheDoorway (thedoor) wrote :

Per installer crash instructions, I am attaching the files /var/log/installer/syslog, /var/log/syslog, and /var/log/partman

Revision history for this message
Colin Watson (cjwatson) wrote :

So, there are lots and lots of errors from your hard disk in those logs; it looks like either the hard disk is dying or the kernel can't drive it properly. That's the root of the problem.

The installer bug here is that we don't notice an error exit status from partman and do something about it; instead we just merrily carry on and try to install into the live CD's ramdisk. Of course this results in running out of space ...

Changed in ubiquity:
importance: Undecided → High
status: Unconfirmed → Confirmed
Revision history for this message
TheDoorway (thedoor) wrote :

Hello,

Thank you for your helpful reply.

I discovered, just yesterday, that the hard disk was on the way out and is now dead. Good thing I'd moved to another machine. I've been able to get Ubuntu installed and working on it and am becoming quite familiar with using it and Linux. I like this new world. It beats Windows in so many ways.

Colin Watson (cjwatson)
Changed in ubiquity:
assignee: nobody → kamion
Colin Watson (cjwatson)
Changed in ubiquity:
status: Confirmed → Fix Committed
Revision history for this message
Colin Watson (cjwatson) wrote :

ubiquity (1.4.7) feisty; urgency=low

  [ Colin Watson ]
  * Set PARTMAN_ALREADY_CHECKED when committing changes from the new
    advanced partitioner, to avoid duplicate warnings (LP: #100009).
  * Use debconf escape capability to simplify migration-assistant summary
    handling.
  * Update Japanese keyboard layout handling to match console-setup
    1.7ubuntu18, which uses jp(latin),jp by default (LP: #63915).
  * Display an error dialog if a subsidiary process fails (LP: #92442).
  * Update translations from Rosetta.
  * Automatic update of included source packages: console-setup
    1.13ubuntu12, migration-assistant 0.4.5, partman-base 105ubuntu3.

  [ Jonathan Riddell ]
  * KDE frontend
    - Disable all widgets in autopartition subchoices
      when selecting another parent choice
    - Fix misplaced widgets on user details page (LP: #86175)
    - Hide error messages from user info at start of each evaluation
    - Use Apport as crash handler when available
    - Add a graphical disk partition widget

  [ Evan Dandrea ]
  * Catch exceptions in migration-assistant to avoid bringing down the
    entire installer.

 -- Colin Watson <email address hidden> Thu, 5 Apr 2007 12:27:58 +0100

Changed in ubiquity:
status: Fix Committed → Fix Released
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.