Error while installing GRUB under nUbuntu

Bug #73849 reported by KoluCCi
18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubiquity (Baltix)
Invalid
Undecided
Unassigned
ubiquity (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

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

Tags: grub nubuntu
Revision history for this message
Holdlang (forjani) wrote :

Same here. Any idea?

Revision history for this message
Jeff Greene (jeffgreene) wrote :

You may want to check out the forum thread about this here:
http://forum.nubuntu.org/index.php?showtopic=210

Revision history for this message
Jeff Greene (jeffgreene) wrote :

Since your description was really long and making my browser take a long time to load, I took it out and I am going to upload your syslog and partman logs.

description: updated
Revision history for this message
Jeff Greene (jeffgreene) wrote :

Attached is /var/log/syslog.

Revision history for this message
Jeff Greene (jeffgreene) wrote :

Attached is /var/log/partman.

Revision history for this message
Jeff Greene (jeffgreene) wrote :

Attached is a syslog that I found on the forum.

Revision history for this message
Jeff Greene (jeffgreene) wrote :

Attached is another syslog that I found on the forum.

Jeff Greene (jeffgreene)
description: updated
Revision history for this message
Jeff Greene (jeffgreene) wrote :

I believe the cause of this problem is dependency problems with console-tools, which depends on console-setup and console-common.

Since nUbuntu isn't a standard Ubuntu distribution, I believe this isn't a problem with ubiquity, but a problem with nUbuntu and its packages.

Nov 27 00:31:06 nubuntu ubiquity: dpkg: error processing console-setup (--configure):
Nov 27 00:31:06 nubuntu ubiquity: subprocess post-installation script returned error exit status 1
Nov 27 00:31:06 nubuntu ubiquity: dpkg: dependency problems prevent configuration of console-tools:
Nov 27 00:31:06 nubuntu ubiquity: console-tools depends on console-setup | console-common; however:
Nov 27 00:31:06 nubuntu ubiquity: Package console-setup is not configured yet.
Nov 27 00:31:06 nubuntu ubiquity: Package console-common is not installed.
Nov 27 00:31:06 nubuntu ubiquity: dpkg: error processing console-tools (--configure):
Nov 27 00:31:06 nubuntu ubiquity: dependency problems - leaving unconfigured
Nov 27 00:31:06 nubuntu ubiquity: Errors were encountered while processing:
Nov 27 00:31:06 nubuntu ubiquity: console-setup
Nov 27 00:31:06 nubuntu ubiquity: console-tools
Nov 27 00:31:06 nubuntu ubiquity: E: Sub-process /usr/bin/dpkg returned an error code (1)
Nov 27 00:31:06 nubuntu grub-installer: info: Calling 'apt-install grub' failed
Nov 27 00:31:17 nubuntu python: ubiquity: ['log-output', '-t', 'ubiquity', '--pass-stdout', '/usr/share/grub-installer/grub-installer', '/target'] exited with code 1

Revision history for this message
John Vivirito (gnomefreak) wrote :

Marked as confirmed.

Changed in ubiquity:
status: Unconfirmed → Confirmed
Revision history for this message
asus3008 (edward-linux) wrote :

One more hire :(

    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/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
Colin Watson (cjwatson) wrote :

Indeed, Jeff's diagnosis is correct. To quote from my analysis of bug 160796:

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:
status: Confirmed → Fix Released
Przemek K. (azrael)
Changed in ubiquity (Baltix):
status: New → Invalid
Changed in senubuntu:
status: New → Invalid
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.