Bug#430742: grub-pc: Problem updating grup

Fabrizio fab at mailsicura.org
Wed Jul 4 08:12:59 UTC 2007


Package: grub-pc
Version: 1.95+20070604-1
Followup-For: Bug #430742

This is what happend when I try to update the package:


server:~# apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up grub-pc (1.95+20070604-1) ...
Running update-grub Legacy to hook our core.img in it
        Searching for GRUB installation directory ... found: /boot/grub
        Searching for default file ... found: /boot/grub/default
        Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
        Searching for splash image ... none found, skipping ...
        Found GRUB 2: /boot/grub/core.img
        Found kernel: /boot/vmlinuz
        Found kernel: /boot/vmlinuz.old
        Found kernel: /boot/vmlinuz-2.6.21.5.old
        Found kernel: /boot/vmlinuz-2.6.21.5
        Found kernel: /boot/vmlinuz-2.6.21.3
        Found kernel: /boot/vmlinuz-2.6.21.2
        Found kernel: /boot/vmlinuz-2.6.21.1
        Found kernel: /boot/vmlinuz-2.6.20.7
        Found kernel: /boot/vmlinuz-2.6.20.6
        Found kernel: /boot/vmlinuz-2.6.20.4.old
        Found kernel: /boot/vmlinuz-2.6.20.4
        Found kernel: /boot/vmlinuz-2.6.20.3
        Found kernel: /boot/vmlinuz-2.6.20.2
        Found kernel: /boot/vmlinuz-2.6.20.1
        Found kernel: /boot/vmlinuz-2.6.20.old
        Found kernel: /boot/vmlinuz-2.6.20
        Found kernel: /boot/vmlinuz-2.6.19.2.old
        Found kernel: /boot/vmlinuz-2.6.19.2
        Found kernel: /boot/vmlinuz-2.6.19.1.old
        Found kernel: /boot/vmlinuz-2.6.19.1
        Updating /boot/grub/menu.lst ... done

grub-probe: error: unknown filesystem
dpkg: error processing grub-pc (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of grub2:
 grub2 depends on grub-pc; however:
  Package grub-pc is not configured yet.
dpkg: error processing grub2 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 grub-pc
 grub2
E: Sub-process /usr/bin/dpkg returned an error code (1)


I try to remove it, but nothing changed.
Also try /var/lib/dpkg/info/grub-pc.postinst configure, but nothing change.



-- Package-specific info:

*********************** BEGIN /proc/mounts
rootfs / rootfs rw 0 0
/dev/root / reiserfs rw 0 0
tmpfs /lib/init/rw tmpfs rw,nosuid 0 0
proc /proc proc rw,nosuid,nodev,noexec 0 0
sysfs /sys sysfs rw,nosuid,nodev,noexec 0 0
usbfs /proc/bus/usb usbfs rw,nosuid,nodev,noexec 0 0
/dev/root /dev/.static/dev reiserfs rw 0 0
tmpfs /dev tmpfs rw 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
devpts /dev/pts devpts rw,nosuid,noexec 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)	/dev/sda
*********************** END /boot/grub/device.map

*********************** BEGIN /boot/grub/grub.cfg
# grub.cfg - See: grub(8), info grub, update-grub(8)
#            grub-install(8), grub-floppy(8),
#            grub-md5-crypt, /usr/share/doc/grub
#            and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
set default=0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
set timeout=5

# Pretty colours
# FIXME: use gfxterm here?

# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=/dev/sda2 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,2)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##      alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##      lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=

## should update-grub lock old automagic boot options
## e.g. lockold=false
##      lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(single-user) single
# altoptions=(single-user mode) single

## controls how many kernels should be put into the grub.cfg
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## ## End Default Options ##

menuentry "Debian GNU/Linux, linux 2.6.21.1 Default" {
	set root=(hd0,2)
	linux	/boot/vmlinuz root=/dev/sda2 ro 
}

menuentry "Debian GNU/Linux, linux 2.6.21.1 Default (single-user mode)" {
	set root=(hd0,2)
	linux	/boot/vmlinuz root=/dev/sda2 ro single
}

menuentry "Debian GNU/Linux, linux 2.6.20.7 Previous" {
	set root=(hd0,2)
	linux	/boot/vmlinuz.old root=/dev/sda2 ro 
}

menuentry "Debian GNU/Linux, linux 2.6.20.7 Previous (single-user mode)" {
	set root=(hd0,2)
	linux	/boot/vmlinuz.old root=/dev/sda2 ro single
}

menuentry "Debian GNU/Linux, linux 2.6.21.1" {
	set root=(hd0,2)
	linux	/boot/vmlinuz-2.6.21.1 root=/dev/sda2 ro 
}

menuentry "Debian GNU/Linux, linux 2.6.21.1 (single-user mode)" {
	set root=(hd0,2)
	linux	/boot/vmlinuz-2.6.21.1 root=/dev/sda2 ro single
}

menuentry "Debian GNU/Linux, linux 2.6.20.7" {
	set root=(hd0,2)
	linux	/boot/vmlinuz-2.6.20.7 root=/dev/sda2 ro 
}

menuentry "Debian GNU/Linux, linux 2.6.20.7 (single-user mode)" {
	set root=(hd0,2)
	linux	/boot/vmlinuz-2.6.20.7 root=/dev/sda2 ro single
}

menuentry "Debian GNU/Linux, linux 2.6.20.6" {
	set root=(hd0,2)
	linux	/boot/vmlinuz-2.6.20.6 root=/dev/sda2 ro 
}

menuentry "Debian GNU/Linux, linux 2.6.20.6 (single-user mode)" {
	set root=(hd0,2)
	linux	/boot/vmlinuz-2.6.20.6 root=/dev/sda2 ro single
}

menuentry "Debian GNU/Linux, linux 2.6.20.4.old" {
	set root=(hd0,2)
	linux	/boot/vmlinuz-2.6.20.4.old root=/dev/sda2 ro 
}

menuentry "Debian GNU/Linux, linux 2.6.20.4.old (single-user mode)" {
	set root=(hd0,2)
	linux	/boot/vmlinuz-2.6.20.4.old root=/dev/sda2 ro single
}

menuentry "Debian GNU/Linux, linux 2.6.20.4" {
	set root=(hd0,2)
	linux	/boot/vmlinuz-2.6.20.4 root=/dev/sda2 ro 
}

menuentry "Debian GNU/Linux, linux 2.6.20.4 (single-user mode)" {
	set root=(hd0,2)
	linux	/boot/vmlinuz-2.6.20.4 root=/dev/sda2 ro single
}

menuentry "Debian GNU/Linux, linux 2.6.20.3" {
	set root=(hd0,2)
	linux	/boot/vmlinuz-2.6.20.3 root=/dev/sda2 ro 
}

menuentry "Debian GNU/Linux, linux 2.6.20.3 (single-user mode)" {
	set root=(hd0,2)
	linux	/boot/vmlinuz-2.6.20.3 root=/dev/sda2 ro single
}

menuentry "Debian GNU/Linux, linux 2.6.20.2" {
	set root=(hd0,2)
	linux	/boot/vmlinuz-2.6.20.2 root=/dev/sda2 ro 
}

menuentry "Debian GNU/Linux, linux 2.6.20.2 (single-user mode)" {
	set root=(hd0,2)
	linux	/boot/vmlinuz-2.6.20.2 root=/dev/sda2 ro single
}

menuentry "Debian GNU/Linux, linux 2.6.20.1" {
	set root=(hd0,2)
	linux	/boot/vmlinuz-2.6.20.1 root=/dev/sda2 ro 
}

menuentry "Debian GNU/Linux, linux 2.6.20.1 (single-user mode)" {
	set root=(hd0,2)
	linux	/boot/vmlinuz-2.6.20.1 root=/dev/sda2 ro single
}

menuentry "Debian GNU/Linux, linux 2.6.20.old" {
	set root=(hd0,2)
	linux	/boot/vmlinuz-2.6.20.old root=/dev/sda2 ro 
}

menuentry "Debian GNU/Linux, linux 2.6.20.old (single-user mode)" {
	set root=(hd0,2)
	linux	/boot/vmlinuz-2.6.20.old root=/dev/sda2 ro single
}

menuentry "Debian GNU/Linux, linux 2.6.20" {
	set root=(hd0,2)
	linux	/boot/vmlinuz-2.6.20 root=/dev/sda2 ro 
}

menuentry "Debian GNU/Linux, linux 2.6.20 (single-user mode)" {
	set root=(hd0,2)
	linux	/boot/vmlinuz-2.6.20 root=/dev/sda2 ro single
}

menuentry "Debian GNU/Linux, linux 2.6.19.2.old" {
	set root=(hd0,2)
	linux	/boot/vmlinuz-2.6.19.2.old root=/dev/sda2 ro 
}

menuentry "Debian GNU/Linux, linux 2.6.19.2.old (single-user mode)" {
	set root=(hd0,2)
	linux	/boot/vmlinuz-2.6.19.2.old root=/dev/sda2 ro single
}

menuentry "Debian GNU/Linux, linux 2.6.19.2" {
	set root=(hd0,2)
	linux	/boot/vmlinuz-2.6.19.2 root=/dev/sda2 ro 
}

menuentry "Debian GNU/Linux, linux 2.6.19.2 (single-user mode)" {
	set root=(hd0,2)
	linux	/boot/vmlinuz-2.6.19.2 root=/dev/sda2 ro single
}

menuentry "Debian GNU/Linux, linux 2.6.19.1.old" {
	set root=(hd0,2)
	linux	/boot/vmlinuz-2.6.19.1.old root=/dev/sda2 ro 
}

menuentry "Debian GNU/Linux, linux 2.6.19.1.old (single-user mode)" {
	set root=(hd0,2)
	linux	/boot/vmlinuz-2.6.19.1.old root=/dev/sda2 ro single
}

menuentry "Debian GNU/Linux, linux 2.6.19.1" {
	set root=(hd0,2)
	linux	/boot/vmlinuz-2.6.19.1 root=/dev/sda2 ro 
}

menuentry "Debian GNU/Linux, linux 2.6.19.1 (single-user mode)" {
	set root=(hd0,2)
	linux	/boot/vmlinuz-2.6.19.1 root=/dev/sda2 ro single
}

### END DEBIAN AUTOMAGIC KERNELS LIST
*********************** END /boot/grub/grub.cfg

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.21.5 (SMP w/2 CPU cores)
Locale: LANG=it_IT at euro, LC_CTYPE=it_IT at euro (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/bash

Versions of packages grub-pc depends on:
ii  libc6                         2.5-9+b1   GNU C Library: Shared libraries
ii  liblzo2-2                     2.02-3     data compression library

grub-pc recommends no packages.

-- no debconf information




More information about the Pkg-grub-devel mailing list