[Bug 609224] Re: update grub-common grub-pc broke apt

Launchpad Bug Tracker 609224 at bugs.launchpad.net
Fri Jun 1 21:03:51 UTC 2012


Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: debconf (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to debconf in Ubuntu.
https://bugs.launchpad.net/bugs/609224

Title:
  update grub-common grub-pc broke apt

Status in “debconf” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: debconf

  I had grub installed on a RAID-5 Array.

  `apt-get update` broke "grub". The last 30 lines repeat again and
  again...

  The following packages will be upgraded:
    grub-common grub-pc
  2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  Need to get 2156kB of archives.
  After this operation, 0B of additional disk space will be used.
  Get:1 http://va.archive.ubuntu.com/ubuntu/ lucid-updates/main grub-pc 1.98-1ubuntu7 [618kB]
  Get:2 http://va.archive.ubuntu.com/ubuntu/ lucid-updates/main grub-common 1.98-1ubuntu7 [1538kB]
  debconf: unable to initialize frontend: Dialog
  debconf: (TERM is not set, so the dialog frontend is not usable.)
  debconf: falling back to frontend: Readline
  debconf: unable to initialize frontend: Readline
  debconf: (This frontend requires a controlling tty.)
  debconf: falling back to frontend: Teletype
  dpkg-preconfigure: unable to re-open stdin: 
  Fetched 2156kB in 0s (4860kB/s)
  (Reading database ... 94533 files and directories currently installed.)
  Preparing to replace grub-pc 1.98-1ubuntu6 (using .../grub-pc_1.98-1ubuntu7_amd64.deb) ...
  Unpacking replacement grub-pc ...
  Preparing to replace grub-common 1.98-1ubuntu6 (using .../grub-common_1.98-1ubuntu7_amd64.deb) ...
  Unpacking replacement grub-common ...
  Processing triggers for man-db ...
  debconf: unable to initialize frontend: Dialog
  debconf: (TERM is not set, so the dialog frontend is not usable.)
  debconf: falling back to frontend: Readline
  debconf: unable to initialize frontend: Readline
  debconf: (This frontend requires a controlling tty.)
  debconf: falling back to frontend: Teletype
  Processing triggers for install-info ...
  Processing triggers for ureadahead ...
  ureadahead will be reprofiled on next reboot
  Setting up grub-common (1.98-1ubuntu7) ...

  Setting up grub-pc (1.98-1ubuntu7) ...
  debconf: unable to initialize frontend: Dialog
  debconf: (TERM is not set, so the dialog frontend is not usable.)
  debconf: falling back to frontend: Readline
  debconf: unable to initialize frontend: Readline
  debconf: (This frontend requires a controlling tty.)
  debconf: falling back to frontend: Teletype
  Configuring grub-pc
  -------------------

  The GRUB boot loader was previously installed to a disk that is no longer 
  present, or whose normally unique identifier has changed for some reason. It is 
  important to make sure that the installed GRUB stays in sync with other 
  components such as grub.cfg or with newer Linux images it will have to load, and
  so you should check again to make sure that GRUB is installed to the appropriate
  boot devices.

  If you're unsure which drive is designated as boot drive by your BIOS, it is 
  often a good idea to install GRUB to all of them.

  Note: It is possible to install GRUB to partition boot records as well, and some
  appropriate partitions are offered here.  However, this forces GRUB to use the 
  blocklist mechanism, which makes it less reliable, and therefore is not 
  recommended.

    1. /dev/sda (1997149 MB, Morphed_JBOD_00)
    2. /dev/sdb (1997149 MB, Morphed_JBOD_01)
    3. /dev/sdc (1997149 MB, Morphed_JBOD_02)
    4. /dev/sdd (1997149 MB, Morphed_JBOD_03)
    5. /dev/sde (1997149 MB, Morphed_JBOD_04)
    6. /dev/sdf (1997149 MB, Morphed_JBOD_05)
    7. /dev/sdg (1997149 MB, Morphed_JBOD_06)
    8. /dev/sdh (1997149 MB, Morphed_JBOD_07)
    9. /dev/sdi (1997149 MB, Morphed_JBOD_08)
    10. /dev/sdj (1997149 MB, Morphed_JBOD_09)
    11. /dev/sdk (1997149 MB, Morphed_JBOD_10)
    12. /dev/sdl (1997149 MB, Morphed_JBOD_11)

  (Enter the items you want to select, separated by spaces.)

  GRUB install devices: Use of uninitialized value $ret in chomp at
  /usr/share/perl5/Debconf/FrontEnd/Teletype.pm line 70.

  Use of uninitialized value $_[1] in join or string at /usr/share/perl5/Debconf/DbDriver/Stack.pm line 104.
  You chose not to install GRUB to any devices.  If you continue, the boot loader 
  may not be properly configured, and when your computer next starts up it will 
  use whatever was previously in the boot sector.  If there is an earlier version 
  of GRUB 2 in the boot sector, it may be unable to load modules or handle the 
  current configuration file.

  If you are already running a different boot loader and want to carry on doing 
  so, or if this is a special environment where you do not need a boot loader, 
  then you should continue anyway.  Otherwise, you should install GRUB somewhere.

  Continue without installing GRUB? Use of uninitialized value $ret in
  chomp at /usr/share/perl5/Debconf/FrontEnd/Teletype.pm line 70.

  Use of uninitialized value $_[1] in join or string at /usr/share/perl5/Debconf/DbDriver/Stack.pm line 104.
  The GRUB boot loader was previously installed to a disk that is no longer 
  present, or whose normally unique identifier has changed for some reason. It is 
  important to make sure that the installed GRUB stays in sync with other 
  components such as grub.cfg or with newer Linux images it will have to load, and
  so you should check again to make sure that GRUB is installed to the appropriate
  boot devices.

  If you're unsure which drive is designated as boot drive by your BIOS, it is 
  often a good idea to install GRUB to all of them.

  ----------------------------------------------------------------------

  `dpkg --configure -a`:

  Setting up grub-pc (1.98-1ubuntu7) ...
  debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
  dpkg: error processing grub-pc (--configure):
   subprocess installed post-installation script returned error exit status 1
  Errors were encountered while processing:
   grub-pc

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debconf/+bug/609224/+subscriptions




More information about the foundations-bugs mailing list