dpkg: error processing console-setup caused installer crash on Edgy (=Ubiquity 1.2.5)

Bug #160796 reported by garifo
2
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Fix Released
Medium
Colin Watson

Bug Description

Binary package hint: ubiquity

-----------------------------------------------------
Traceback (most recent call last):
  File "/usr/bin/ubiquity", line 166, in ?
    main()
  File "/usr/bin/ubiquity", line 163, in main
    install()
  File "/usr/bin/ubiquity", line 57, in install
    ret = wizard.run()
  File "/usr/lib/ubiquity/ubiquity/frontend/gtkui.py", line 305, in run
    self.process_step()
  File "/usr/lib/ubiquity/ubiquity/frontend/gtkui.py", line 856, in process_step
    self.progress_loop()
  File "/usr/lib/ubiquity/ubiquity/frontend/gtkui.py", line 628, 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

Revision history for this message
garifo (genius-gza) wrote :

Here's the partman log to the installation error

Revision history for this message
garifo (genius-gza) wrote :

Here's the syslog to the installation error

Revision history for this message
Paul Dufresne (paulduf) wrote :

Extracting hopefully useful info from syslog:
Nov 7 09:55:51 nubuntu ubiquity: Setting up console-setup (1.7ubuntu19) ...
Nov 7 09:55:52 nubuntu ubiquity: /usr/share/debconf/confmodule: line 42: 3: Bad file descriptor
Nov 7 09:55:52 nubuntu ubiquity: dpkg: error processing console-setup (--configure):
Nov 7 09:55:52 nubuntu ubiquity: subprocess post-installation script returned error exit status 1
Nov 7 09:55:52 nubuntu ubiquity: dpkg: dependency problems prevent configuration of console-tools:
Nov 7 09:55:52 nubuntu ubiquity: console-tools depends on console-setup | console-common; however:
Nov 7 09:55:52 nubuntu ubiquity: Package console-setup is not configured yet.
Nov 7 09:55:52 nubuntu ubiquity: Package console-common is not installed.
Nov 7 09:55:52 nubuntu ubiquity: dpkg: error processing console-tools (--configure):
Nov 7 09:55:52 nubuntu ubiquity: dependency problems - leaving unconfigured
Nov 7 09:55:52 nubuntu ubiquity: Errors were encountered while processing:
Nov 7 09:55:52 nubuntu ubiquity: console-setup
Nov 7 09:55:52 nubuntu ubiquity: console-tools
Nov 7 09:55:52 nubuntu ubiquity: E: Sub-process /usr/bin/dpkg returned an error code (1)
Nov 7 09:55:52 nubuntu grub-installer: info: Calling 'apt-install grub' failed
Nov 7 09:57:55 nubuntu dhclient: DHCPREQUEST on eth0 to 192.168.213.254 port 67
Nov 7 09:57:55 nubuntu dhclient: DHCPACK from 192.168.213.254
Nov 7 09:57:57 nubuntu dhclient: bound to 192.168.213.136 -- renewal in 844 seconds.

Revision history for this message
Paul Dufresne (paulduf) wrote : Re: dpkg: error processing console-setup caused installer crash

Thank you for taking the time to report this bug and helping to make Ubuntu better.
We are confirming this bug as attached files seems to contain relevant info.

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

I'm not familiar with nUbuntu, which you seem to be installing, and so it's difficult for me to support this.

However, the problem here seems to be that console-setup isn't in the read-only file system on the live CD, and so ubiquity has to install it in a context where it isn't quite prepared to do so. In Hardy, this should be fixed because ubiquity will instead queue it for installation and install it when it actually is ready:

ubiquity (1.7.7) hardy; urgency=low

[...]
  [ Colin Watson ]
  * Prevent apt-install from installing packages directly unless
    install_extras has been run (previously, it would do so once apt was
    configured, which produced some confusing error messages).
[...]

 -- Evan Dandrea <email address hidden> Wed, 13 Feb 2008 15:03:15 -0500

Changed in ubiquity:
assignee: nobody → kamion
status: Confirmed → 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.