apt-install shim falls over a bit too hard when packages are unconfigured
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/
main()
File "/usr/bin/
install(
File "/usr/bin/
ret = wizard.run()
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
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/
install.run()
File "/usr/share/
self.
File "/usr/share/
raise InstallStepError(
InstallStepError: GrubInstaller failed with code 1
Related branches
Changed in ubiquity: | |
assignee: | nobody → kamion |
status: | Confirmed → Fix Committed |
Dec 3 11:29:40 ubuntu ubiquity: Tal vez quiera ejecutar `apt-get -f install' para corregirlo: support- es: Depende: openoffice. org-help- es pero no va a instalarse o org2-help- es pero no es instalable
Dec 3 11:29:40 ubuntu ubiquity: Los siguientes paquetes tienen dependencias incumplidas:
Dec 3 11:29:40 ubuntu ubiquity: language-
Dec 3 11:29:40 ubuntu ubiquity: openoffice.
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.