Discussion:
grub2.00-7 from experimental
(too old to reply)
Valery Mamonov
2012-09-27 15:10:01 UTC
Permalink
Hello all.


I'm using mixed unstable/experimental system.

$ uname -a
Linux vmamonov 3.5.0-4.dmz.1-liquorix-amd64 #1 ZEN SMP PREEMPT Sun Sep 16
23:41:08 UTC 2012 x86_64 GNU/Linux

Some days ago I had updated grub2 packages to 2.00-7 version.
Now I have such situation:

# 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.

# grub-mkconfig -o /boot/grub/grub.cfg
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.

What must I do to resolve problem, except reverting grub2 to 1.99-23 from
unstable?
--
Best regards,

Valery Mamonov.
Tom H
2012-09-27 17:10:02 UTC
Permalink
On Thu, Sep 27, 2012 at 11:08 AM, Valery Mamonov
Post by Valery Mamonov
I'm using mixed unstable/experimental system.
Some days ago I had updated grub2 packages to 2.00-7 version.
# 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.
# grub-mkconfig -o /boot/grub/grub.cfg
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.
What must I do to resolve problem, except reverting grub2 to 1.99-23 from
unstable?
Try dpkg's "--configure" or apt-get's "-f".
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Archive: http://lists.debian.org/CAOdo=SwnL6F=YfD0O_m+tFo=8G8cZ1AbR8+ChN-N12ZzSn-***@mail.gmail.com
Valery Mamonov
2012-09-27 18:10:02 UTC
Permalink
Post by Tom H
On Thu, Sep 27, 2012 at 11:08 AM, Valery Mamonov
Post by Valery Mamonov
I'm using mixed unstable/experimental system.
Some days ago I had updated grub2 packages to 2.00-7 version.
# 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.
# grub-mkconfig -o /boot/grub/grub.cfg
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.
What must I do to resolve problem, except reverting grub2 to 1.99-23 from
unstable?
Try dpkg's "--configure" or apt-get's "-f".
--
with a subject of "unsubscribe". Trouble? Contact
No luck :(

# dpkg --configure -a
# 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.
--
Best regards,

Valery Mamonov.
Martin Steigerwald
2012-09-27 18:50:02 UTC
Permalink
Post by Valery Mamonov
Post by Tom H
On Thu, Sep 27, 2012 at 11:08 AM, Valery Mamonov
Post by Valery Mamonov
I'm using mixed unstable/experimental system.
Some days ago I had updated grub2 packages to 2.00-7 version.
# 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.
# grub-mkconfig -o /boot/grub/grub.cfg
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.
What must I do to resolve problem, except reverting grub2 to
1.99-23 from unstable?
Try dpkg's "--configure" or apt-get's "-f".
[…]
Post by Valery Mamonov
No luck :(
# dpkg --configure -a
# 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.
Works here:

merkaba:~> apt-get install -t experimental grub-pc
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Die folgenden zusätzlichen Pakete werden installiert:
grub-common grub-pc-bin grub2-common
[…]
grub-pc (2.00-7) wird eingerichtet ...
installation beendet. Keine Fehler aufgetreten.
grub.cfg wird erstellt …
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Linux-Abbild gefunden: /boot/vmlinuz-3.6.0-rc7-tp520
initrd-Abbild gefunden: /boot/initrd.img-3.6.0-rc7-tp520
[…]
Found memtest86+ image: /memtest86+.bin
Found memtest86+ multiboot image: /memtest86+_multiboot.bin
erledigt

merkaba:~> LANG=C update-grub
Generating grub.cfg ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-3.6.0-rc7-tp520
Found initrd image: /boot/initrd.img-3.6.0-rc7-tp520
Found linux image: /boot/vmlinuz-3.6.0-rc6-tp520
Found initrd image: /boot/initrd.img-3.6.0-rc6-tp520
Found linux image: /boot/vmlinuz-3.6.0-rc5-tp520
Found initrd image: /boot/initrd.img-3.6.0-rc5-tp520
Found linux image: /boot/vmlinuz-3.5.2-tp520
Found initrd image: /boot/initrd.img-3.5.2-tp520
Found linux image: /boot/vmlinuz-3.5-trunk-amd64
Found initrd image: /boot/initrd.img-3.5-trunk-amd64
Found linux image: /boot/vmlinuz-3.2.0-3-amd64
Found initrd image: /boot/initrd.img-3.2.0-3-amd64
Found memtest86+ image: /memtest86+.bin
Found memtest86+ multiboot image: /memtest86+_multiboot.bin
done


What does apt-cache policy?

merkaba:~> LANG=C apt-cache policy grub-pc
grub-pc:
Installed: 2.00-7
Candidate: 2.00-7
Version table:
*** 2.00-7 0
200 http://ftp.de.debian.org/debian/ experimental/main amd64
Packages
100 /var/lib/dpkg/status
1.99-23 0
500 http://ftp.de.debian.org/debian/ sid/main amd64 Packages


What does

merkaba:~> dpkg -s grub-pc | grep Status
Status: install ok installed

say on your system?


Does

dpkg-reconfigure grub-pc

work?


Why does your system have a non-standard kernel? Are any other non
standard package repositories active?


My recommendation from the other post still applies ;).

With some luck you should be able to downgrade to older grub-pc:

apt-get install grub-pc=1.99-23

or something like that. But that might not work in the current state your
grub-pc package is in.


Now, lets test whether this new grub2 boots ;). (GRML USB-Stick in reach.)

Thanks,
--
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Archive: http://lists.debian.org/***@lichtvoll.de
Valery Mamonov
2012-09-27 19:20:01 UTC
Permalink
Post by Martin Steigerwald
Post by Valery Mamonov
Post by Tom H
On Thu, Sep 27, 2012 at 11:08 AM, Valery Mamonov
Post by Valery Mamonov
I'm using mixed unstable/experimental system.
Some days ago I had updated grub2 packages to 2.00-7 version.
# 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.
# grub-mkconfig -o /boot/grub/grub.cfg
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.
What must I do to resolve problem, except reverting grub2 to
1.99-23 from unstable?
Try dpkg's "--configure" or apt-get's "-f".
[
]
Post by Valery Mamonov
No luck :(
# dpkg --configure -a
# 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.
merkaba:~> apt-get install -t experimental grub-pc
Paketlisten werden gelesen... Fertig
AbhÀngigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
grub-common grub-pc-bin grub2-common
[
]
grub-pc (2.00-7) wird eingerichtet ...
installation beendet. Keine Fehler aufgetreten.
grub.cfg wird erstellt 

Found background image: /usr/share/images/desktop-base/desktop-grub.png
Linux-Abbild gefunden: /boot/vmlinuz-3.6.0-rc7-tp520
initrd-Abbild gefunden: /boot/initrd.img-3.6.0-rc7-tp520
[
]
Found memtest86+ image: /memtest86+.bin
Found memtest86+ multiboot image: /memtest86+_multiboot.bin
erledigt
merkaba:~> LANG=C update-grub
Generating grub.cfg ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-3.6.0-rc7-tp520
Found initrd image: /boot/initrd.img-3.6.0-rc7-tp520
Found linux image: /boot/vmlinuz-3.6.0-rc6-tp520
Found initrd image: /boot/initrd.img-3.6.0-rc6-tp520
Found linux image: /boot/vmlinuz-3.6.0-rc5-tp520
Found initrd image: /boot/initrd.img-3.6.0-rc5-tp520
Found linux image: /boot/vmlinuz-3.5.2-tp520
Found initrd image: /boot/initrd.img-3.5.2-tp520
Found linux image: /boot/vmlinuz-3.5-trunk-amd64
Found initrd image: /boot/initrd.img-3.5-trunk-amd64
Found linux image: /boot/vmlinuz-3.2.0-3-amd64
Found initrd image: /boot/initrd.img-3.2.0-3-amd64
Found memtest86+ image: /memtest86+.bin
Found memtest86+ multiboot image: /memtest86+_multiboot.bin
done
What does apt-cache policy?
merkaba:~> LANG=C apt-cache policy grub-pc
Installed: 2.00-7
Candidate: 2.00-7
*** 2.00-7 0
200 http://ftp.de.debian.org/debian/ experimental/main amd64
Packages
100 /var/lib/dpkg/status
1.99-23 0
500 http://ftp.de.debian.org/debian/ sid/main amd64 Packages
----------------------------------------------------
LANG=C apt-cache policy grub-pc
grub-pc:
Installed: 2.00-7
Candidate: 2.00-7
Version table:
*** 2.00-7 0
1000 http://mirrors.kernel.org/debian/ experimental/main amd64
Packages
1000 ftp://ftp.de.debian.org/debian/ experimental/main amd64 Packages
1000 http://mirror.yandex.ru/debian/ experimental/main amd64 Packages
100 /var/lib/dpkg/status
1.99-23 0
990 http://mirrors.kernel.org/debian/ unstable/main amd64 Packages
990 http://mirror.yandex.ru/debian/ unstable/main amd64 Packages
800 http://mirror.yandex.ru/debian/ testing/main amd64 Packages
1.98+20100804-14+squeeze1 0
500 ftp://ftp.de.debian.org/debian/ stable/main amd64 Packages


What does
Post by Martin Steigerwald
merkaba:~> dpkg -s grub-pc | grep Status
Status: install ok installed
say on your system?
--------------------------------------
dpkg -s grub-pc | grep Status
Status: install ok installed
--------------------------------------
Post by Martin Steigerwald
Does
dpkg-reconfigure grub-pc
work?
LANG=C dpkg-reconfigure grub-pc
Installation finished. No error reported.
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.
Post by Martin Steigerwald
Why does your system have a non-standard kernel? Are any other non
standard package repositories active?
Good question :) Quote from liquorix.net: Liquorix is a distro kernel
replacement built using the best configuration and kernel sources for
desktop, multimedia, and gaming workloads.
Тhis kernel works for а long time and I never had any problems .
Yes, I have some non-standard repos, but for specific applications, not for
grub-pc.
Post by Martin Steigerwald
My recommendation from the other post still applies ;).
apt-get install grub-pc=1.99-23
That's obvious and I'll try this, thanks.

or something like that. But that might not work in the current state your
Post by Martin Steigerwald
grub-pc package is in.
Now, lets test whether this new grub2 boots ;). (GRML USB-Stick in reach.)
It booted with version 2.00-4 at least.
Thanks,
--
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7
--
with a subject of "unsubscribe". Trouble? Contact
--
Best regards,

Valery Mamonov.
Valery Mamonov
2012-09-27 20:10:01 UTC
Permalink
Downgrading grub packages to 1.99-23 from unstable did the trick, as I
thought.
System boots and works fine.
--
Best regards,

Valery Mamonov.
Martin Steigerwald
2012-09-28 11:30:02 UTC
Permalink
Post by Valery Mamonov
Downgrading grub packages to 1.99-23 from unstable did the trick, as I
thought.
System boots and works fine.
Ok, good.

Would be interesting to know what the error was.

In case you spare any free time, I´d look in the shell script update-grub
or grub-mkconfig for the occurence of a part of the error message and look
whats going on there.
--
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Archive: http://lists.debian.org/***@lichtvoll.de
Valery Mamonov
2012-09-28 11:40:01 UTC
Permalink
Post by Martin Steigerwald
Post by Valery Mamonov
Downgrading grub packages to 1.99-23 from unstable did the trick, as I
thought.
System boots and works fine.
Ok, good.
Would be interesting to know what the error was.
In case you spare any free time, IÂŽd look in the shell script update-grub
or grub-mkconfig for the occurence of a part of the error message and look
whats going on there.
--
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7
--
with a subject of "unsubscribe". Trouble? Contact
Thanks, I'll look in scripts.
--
Best regards,

Valery Mamonov.
Tom H
2012-09-28 13:30:03 UTC
Permalink
Post by Martin Steigerwald
Post by Valery Mamonov
Downgrading grub packages to 1.99-23 from unstable did the trick, as I
thought.
System boots and works fine.
Ok, good.
Would be interesting to know what the error was.
In case you spare any free time, I´d look in the shell script update-grub
or grub-mkconfig for the occurence of a part of the error message and look
whats going on there.
(FYI, update-grub just calls grub-mkconfig)

I've just looked at Debian's grub2 source and there's a Debian
grub-mkconfig patch, "mkconfig_mid_upgrade.patch":

Description: Bail out if trying to run grub-mkconfig during upgrade to 2.00
Since files in /etc/grub.d/ are conffiles, they are not put in place until
grub-common is configured, meaning that they may be out of sync with the
parts of grub-mkconfig that reside in /usr/. In GRUB 1.99,
/etc/grub.d/00_header contained a reference to ${GRUB_PREFIX}/video.lst.
This and other code from 1.99 breaks with 2.00's grub-mkconfig. Deferring
this to when grub-PLATFORM.postinst eventually runs is safe and avoids this
problem.
Author: Colin Watson <***@ubuntu.com>
Forwarded: no
Last-Update: 2012-09-13

Index: b/util/grub-mkconfig.in
===================================================================
--- a/util/grub-mkconfig.in
+++ b/util/grub-mkconfig.in
@@ -99,6 +99,13 @@
esac
done

+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
+
if [ "x$EUID" = "x" ] ; then
EUID=`id -u`
fi
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Archive: http://lists.debian.org/CAOdo=SwDjvsk0PUgR48dOvkTuwpCyenhG-***@mail.gmail.com
Martin Steigerwald
2012-09-27 18:30:03 UTC
Permalink
Post by Valery Mamonov
Hello all.
Hi Valery!
Post by Valery Mamonov
I'm using mixed unstable/experimental system.
$ uname -a
Linux vmamonov 3.5.0-4.dmz.1-liquorix-amd64 #1 ZEN SMP PREEMPT Sun Sep
16 23:41:08 UTC 2012 x86_64 GNU/Linux
With a non-standard kernel. Thats no official Debian kernel.
Post by Valery Mamonov
Some days ago I had updated grub2 packages to 2.00-7 version.
# 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.
# grub-mkconfig -o /boot/grub/grub.cfg
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.
What must I do to resolve problem, except reverting grub2 to 1.99-23
from unstable?
You install software from experimental. You even install a bootloader (!)
package from experimental. But you do not know how to configure a package
or do not know that above error message refers to configuring a package?

I recommend to learn package management basics before using *any* package
from experimental. Heck, I´d even stay away from unstable, before I knew a
bit more about package management. (Although unstable is IMHO quite tame
at the moment.)

What did you expect to gain from installing grub 2.00 anyway?

I omit answer to your question as Tom already gave it.

If you still have problems please post output of the dpkg / apt-get
command you tried.

Thanks,
--
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Archive: http://lists.debian.org/***@lichtvoll.de
Valery Mamonov
2012-09-27 19:00:01 UTC
Permalink
Post by Martin Steigerwald
Post by Valery Mamonov
Hello all.
Hi Valery!
Post by Valery Mamonov
I'm using mixed unstable/experimental system.
$ uname -a
Linux vmamonov 3.5.0-4.dmz.1-liquorix-amd64 #1 ZEN SMP PREEMPT Sun Sep
16 23:41:08 UTC 2012 x86_64 GNU/Linux
With a non-standard kernel. Thats no official Debian kernel.
Yes, I know. Never experienced any problem with it.
Post by Martin Steigerwald
Post by Valery Mamonov
Some days ago I had updated grub2 packages to 2.00-7 version.
# 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.
# grub-mkconfig -o /boot/grub/grub.cfg
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.
What must I do to resolve problem, except reverting grub2 to 1.99-23
from unstable?
You install software from experimental. You even install a bootloader (!)
package from experimental. But you do not know how to configure a package
or do not know that above error message refers to configuring a package?
I recommend to learn package management basics before using *any* package
from experimental. Heck, IÂŽd even stay away from unstable, before I knew a
bit more about package management. (Although unstable is IMHO quite tame
at the moment.)
What did you expect to gain from installing grub 2.00 anyway?
I omit answer to your question as Tom already gave it.
If you still have problems please post output of the dpkg / apt-get
command you tried.
Thanks,
--
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7
--
with a subject of "unsubscribe". Trouble? Contact
Well, I know about experimental repository and unstability of packages
within it. But my Debian system is working over 3 years, and i've decided
all problems i've faced with. Usually I use google for this, but couldn't
find anything about my issue, that's because i've decided to ask some help
in debian-user.
--
Best regards,

Valery Mamonov.
Continue reading on narkive:
Loading...