MASTER: do_remove BrokenCount assertion can fail

Bug #80938 reported by JasonB
88
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Fix Released
Medium
Colin Watson

Bug Description

Binary package hint: ubiquity

This may be related to bug 80934 but it happened much further in the install process.

Near the end of install, at least 85-90% I would estimate, I get this crash.

Traceback (most recent call last):
  File "/usr/lib/ubiquity/bin/ubiquity", line 185, in ?
    main()
  File "/usr/lib/ubiquity/bin/ubiquity", line 182, in main
    install()
  File "/usr/lib/ubiquity/bin/ubiquity", line 56, in install
    ret = wizard.run()
  File "/usr/lib/ubiquity/ubiquity/frontend/gtkui.py", line 310, in run
    self.process_step()
  File "/usr/lib/ubiquity/ubiquity/frontend/gtkui.py", line 879, in process_step
    self.progress_loop()
  File "/usr/lib/ubiquity/ubiquity/frontend/gtkui.py", line 654, in progress_loop
    raise RuntimeError, ("Install failed with exit code %s\n%s" %
RuntimeError: Install failed with exit code 1
Traceback (most recent call last):
  File "/usr/share/ubiquity/install.py", line 1448, in ?
    install.run()
  File "/usr/share/ubiquity/install.py", line 390, in run
    self.remove_extras()
  File "/usr/share/ubiquity/install.py", line 1385, in remove_extras
    self.do_remove(difference)
  File "/usr/share/ubiquity/install.py", line 1280, in do_remove
    assert cache._depcache.BrokenCount == 0
AssertionError

Related branches

Revision history for this message
JasonB (jbitterly) wrote :
Revision history for this message
JasonB (jbitterly) wrote :
Revision history for this message
Colin Watson (cjwatson) wrote : Re: do_remove BrokenCount assertion can fail

I fixed this for another code path, but apparently not for this one. Thanks. This will be a bit more complicated ...

Changed in ubiquity:
importance: Undecided → Medium
status: Unconfirmed → Confirmed
Revision history for this message
Colin Watson (cjwatson) wrote :

As far as I can tell by divination from the packages that are being upgraded in these logs, most of the reports of this are from users of Xubuntu Feisty Herd 2 (they all seem to have python-exo installed, for example, and the versions are consistent with Herd 2). I'm grabbing that image from the archives now and will see if I can reproduce it from that.

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

ubiquity (1.4.5) feisty; urgency=low

  * Handle migration-assistant/failed-unmount being asked from ma-apply.
  * If installing or removing packages fails, then display a helpful error
    message and try to continue rather than crashing; furthermore, avoid
    installing language packs or removing packages when there are broken
    packages on the target system (LP: #54282, #69470, #80938).
  * Don't crash if Install exits due to SIGINT, SIGTERM, or SIGKILL, since
    these are probably user-generated.
  * Prepare for partman-partitioning/confirm_resize being asked during
    autopartitioning (partman-auto 62ubuntu9).
  * Do a better job of trying to get the exit code of subsidiary processes.
  * Update translations from Rosetta.
  * Automatic update of included source packages: hw-detect 1.45ubuntu3,
    migration-assistant 0.4.3, partman-auto 62ubuntu9, partman-base
    105ubuntu2, user-setup 1.8ubuntu3.

 -- Colin Watson <email address hidden> Sat, 31 Mar 2007 01:26:33 +0100

Changed in ubiquity:
status: Fix Committed → Fix Released
Revision history for this message
nefertiti (annatatti) wrote :

Il programma di installazione è andato in crash.
Segnalare un bug all'indirizzo http://launchpad.net/ubuntu/+source/ubiquity/+filebug etc etc.
Per aiutare gli sviluppatori a capire il problema, includere i seguenti dettagli nella segnalazione e allegare i file /var/log/syslog e /var/log/partman.

Traceback ( most recent call last) :
File "/usr/lib/ubiquity/bin/ubiquity", line 229, <module>
main()
File "/usr/lib/ubiquity/bin/ubiquity", line 226, in main
install()
File "/usr/lib/ubiquity/bin/ubiquity", line 68, in install
ret = wizard.run()
File "/usr/lib/ubiquity/ubiquity/frontend/gtk_ui.py", line 428, in run
self.progress_loop()
File "/usr/lib/ubiquity/ubiquity/frontend/gtk_ui.py", line 797, in progress_loop
(ret, realtb))
Runtime error : install failed with exit code 1
Tracce back (most recent call last ):
File " /usr/share/ubiquity/install.py", line 1913 <module>
install.run()
File " /usr/share/ubiquity,/install.py", line 419, in run
self.configure_bootloader()
File " /usr/share/ubiquity/install.py", line 1422, in configure_bootloader
"Grubinstaller failed with code %d" % ret)
InstallStepError: Grubinstaller failed with code 1

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.