apt-install shim falls over a bit too hard when packages are unconfigured

Bug #74241 reported by Damaraland
12
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Fix Released
High
Colin Watson

Bug Description

I runned kubuntu 6.10 desktop
After that I did "sudo apt-get dist-upgrade" with no errors
During installation. Almost when it was finished I got this message:

Traceback (most recent call last):
  File "/usr/bin/ubiquity", line 166, in ?
    main()
  File "/usr/bin/ubiquity", line 161, in main
    install(sys.argv[1])
  File "/usr/bin/ubiquity", line 57, in install
    ret = wizard.run()
  File "/usr/lib/ubiquity/ubiquity/frontend/kde-ui.py", line 338, in run
    self.process_step()
  File "/usr/lib/ubiquity/ubiquity/frontend/kde-ui.py", line 828, in process_step
    self.progress_loop()
  File "/usr/lib/ubiquity/ubiquity/frontend/kde-ui.py", line 599, 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 1404, in ?
    install.run()
  File "/usr/share/ubiquity/install.py", line 385, in run
    self.configure_bootloader()
  File "/usr/share/ubiquity/install.py", line 1163, in configure_bootloader
    raise InstallStepError(
InstallStepError: GrubInstaller failed with code 1

Related branches

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

Dec 3 11:29:40 ubuntu ubiquity: Tal vez quiera ejecutar `apt-get -f install' para corregirlo:
Dec 3 11:29:40 ubuntu ubiquity: Los siguientes paquetes tienen dependencias incumplidas:
Dec 3 11:29:40 ubuntu ubiquity: language-support-es: Depende: openoffice.org-help-es pero no va a instalarse o
Dec 3 11:29:40 ubuntu ubiquity: openoffice.org2-help-es pero no es instalable
Dec 3 11:29:40 ubuntu ubiquity: E:
Dec 3 11:29:40 ubuntu ubiquity: Dependencias incumplidas. Intente 'apt-get -f install' sin paquetes (o especifique una solución).
Dec 3 11:29:40 ubuntu grub-installer: info: Calling 'apt-install grub' failed

grub should already be installed, though, so I wonder why apt isn't just a no-op. Maybe our apt-install shim needs to be a bit more conservative by first checking whether the requested package is already installed.

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

ubiquity (1.3.4) feisty; urgency=low

  * apt-install only attempts to install packages not already installed,
    making it more robust when packages on the target filesystem are broken
    (LP: #74241).
  * KDE frontend: Don't infinite-loop on EOF from qtparted (LP: #67565).
  * Make sure localechooser doesn't clobber the selected country if it
    differs from the default (LP: #68026).
  * Add a check-manifest tool to ensure that d-i/manifest is in sync with
    d-i/source/ on upload.
  * Upgrade to automake 1.10.
  * Configure and build the desktop, pixmaps, and po subdirectories even if
    UBIQUITY_NO_GTK is set.
  * Automatic update of included source packages: apt-setup 1:0.16ubuntu2,
    base-installer 1.70ubuntu1, localechooser 1.33ubuntu1, partman-auto
    62ubuntu2, partman-base 100ubuntu1.

 -- Colin Watson <email address hidden> Fri, 15 Dec 2006 17:52:53 +0000

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.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.