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

Catalin Bararu 1407790 at bugs.launchpad.net
Thu Dec 15 07:53:52 UTC 2016


Hey, the same thing is happening to me. I saw that @Phillip Susi said that "The script is checking to see if /etc/grub.d/00_header still references it, which it shouldn't as it has been removed". Do you mean that the script has been removed or that the script has changed and is no longer referencing it ?
I am doing an upgrade from 12.04 to 14.04 then to 16.04. From what i saw, the 00_header does not change from 12 -> 14 -> 16.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 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:
  Expired

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