GRUB >= 2.00 has been unpacked but not yet configured.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
New
|
Medium
|
Unassigned |
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@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@htpc:
Installing for i386-pc platform.
Installation finished. No error reported.
I started digging around a bit in /usr/sbin/
if fgrep -qs '${GRUB_
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=
export GRUB_PREFIX
and now everything works fine.
root@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://
100 /var/lib/
2.02~beta2-9 0
500 http://
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: grub (not installed)
ProcVersionSign
Uname: Linux 3.2.0-63-
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)
Changed in grub2 (Ubuntu): | |
status: | Expired → Opinion |
Changed in grub2 (Ubuntu): | |
status: | Opinion → New |
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.