[Bug 1407790] Re: GRUB >= 2.00 has been unpacked but not yet configured.

Phillip Susi psusi at ubuntu.com
Tue Jan 6 01:55:57 UTC 2015


That should not have made any difference since the script is not
actually referencing GRUB_PREFIX since it was removed.  The script is
checking to see if /etc/grub.d/00_header still references it, which it
shouldn't as it has been removed.  Does your 00_header still reference
it?   If so something must have gone wrong in the upgrade somewhere.
Purge grub-common and reinstall and it should reinstall that file which
should no longer reference that variable.


** Changed in: grub (Ubuntu)
       Status: New => Incomplete

** Package changed: grub (Ubuntu) => grub2 (Ubuntu)

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

Title:
  GRUB >= 2.00 has been unpacked but not yet configured.

Status in grub2 package in Ubuntu:
  Incomplete

Bug description:
  I've upgraded my htpc box several times but only recently i found out
  im still on the generic 12.04 kernel. So i tried udating grub

  root at htpc:/# update-grub
  GRUB >= 2.00 has been unpacked but not yet configured.
  grub-mkconfig will not work until the upgrade is complete.
  It should run later as part of configuring the new GRUB packages.

  I then tried the usual: apt-get -f install, reinstallation and removal
  of grub-pc, but still the error. grub-install works fine

  root at htpc:/home/bart# grub-install /dev/sda
  Installing for i386-pc platform.
  Installation finished. No error reported.

  I started digging around a bit in /usr/sbin/grub-mkconfig and found:

  if fgrep -qs '${GRUB_PREFIX}/video.lst' "${grub_mkconfig_dir}/00_header"; then
    echo "GRUB >= 2.00 has been unpacked but not yet configured." >&2
    echo "grub-mkconfig will not work until the upgrade is complete." >&2
    echo "It should run later as part of configuring the new GRUB packages." >&2
    exit 0
  fi

  but GRUB_PREFIX is nowhere defined??? Is this file delivered like that in the distribution? If so, it looks like a pretty silly bug. Anyway, I've added:
  GRUB_PREFIX="/boot/grub/i386-pc"
  export GRUB_PREFIX
   and now everything works fine.

  root at htpc:/# apt-cache policy grub-pc
  grub-pc:
    Installed: 2.02~beta2-9ubuntu1
    Candidate: 2.02~beta2-9ubuntu1
    Version table:
   *** 2.02~beta2-9ubuntu1 0
          500 http://nl.archive.ubuntu.com/ubuntu/ trusty-updates/main i386 Packages
          100 /var/lib/dpkg/status
       2.02~beta2-9 0
          500 http://nl.archive.ubuntu.com/ubuntu/ trusty/main i386 Packages

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: grub (not installed)
  ProcVersionSignature: Ubuntu 3.2.0-63.95-generic-pae 3.2.57
  Uname: Linux 3.2.0-63-generic-pae i686
  ApportVersion: 2.14.1-0ubuntu3.6
  Architecture: i386
  Date: Mon Jan  5 21:40:55 2015
  InstallationDate: Installed on 2012-12-09 (756 days ago)
  InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release i386 (20120817.3)
  SourcePackage: grub
  UpgradeStatus: Upgraded to trusty on 2014-05-29 (220 days ago)

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



More information about the foundations-bugs mailing list