Bug#522345: Warning: update-grub_lib is deprecated, use grub-mkconfig_lib instead

Arthur Marsh arthur.marsh at internode.on.net
Thu Apr 2 23:20:12 UTC 2009


Package: grub-pc
Version: 1.96+20090317-1
Severity: minor


When I've created a kernel using make-kpkg from kernel-package and installed it, I get the following output:

victoria:/usr/src# ls -t *.deb|head -1|xargs dpkg -i
(Reading database ... 230715 files and directories currently installed.)
Preparing to replace linux-image-2.6.29 2.6.29-10.00.Custom (using linux-image-2.6.29_2.6.29-10.00.Custom_i386.deb) ...
Done.
Unpacking replacement linux-image-2.6.29 ...
Running postrm hook script /usr/sbin/update-grub.
Generating grub.cfg ...
Warning: update-grub_lib is deprecated, use grub-mkconfig_lib instead
Found linux image: /boot/vmlinuz-2.6.29-1-686
Found initrd image: /boot/initrd.img-2.6.29-1-686
Found linux image: /boot/vmlinuz-2.6.29
Found initrd image: /boot/initrd.img-2.6.29
Found linux image: /boot/vmlinuz-2.6.28-1-686
Found initrd image: /boot/initrd.img-2.6.28-1-686
Found linux image: /boot/vmlinuz-2.6.28
Found initrd image: /boot/initrd.img-2.6.28
Found linux image: /boot/vmlinuz-2.6.26-1-686
Found initrd image: /boot/initrd.img-2.6.26-1-686
Warning: update-grub_lib is deprecated, use grub-mkconfig_lib instead
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 95/98/Me on /dev/hda1
Found Windows 95/98/Me on /dev/sdb1
done
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools
Setting up linux-image-2.6.29 (2.6.29-10.00.Custom) ...
Running depmod.
Finding valid ramdisk creators.
Using mkinitramfs-kpkg to build the ramdisk.
Other valid candidates: mkinitramfs-kpkg mkinitrd.yaird
Deprecation WARNING: use update-initramfs(8)
Not updating initrd symbolic links since we are being updated/reinstalled
(2.6.29-10.00.Custom was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled
(2.6.29-10.00.Custom was configured last, according to dpkg)
Running postinst hook script /usr/sbin/update-grub.
Generating grub.cfg ...
Warning: update-grub_lib is deprecated, use grub-mkconfig_lib instead
Found linux image: /boot/vmlinuz-2.6.29-1-686
Found initrd image: /boot/initrd.img-2.6.29-1-686
Found linux image: /boot/vmlinuz-2.6.29
Found initrd image: /boot/initrd.img-2.6.29
Found linux image: /boot/vmlinuz-2.6.28-1-686
Found initrd image: /boot/initrd.img-2.6.28-1-686
Found linux image: /boot/vmlinuz-2.6.28
Found initrd image: /boot/initrd.img-2.6.28
Found linux image: /boot/vmlinuz-2.6.26-1-686
Found initrd image: /boot/initrd.img-2.6.26-1-686
Warning: update-grub_lib is deprecated, use grub-mkconfig_lib instead
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 95/98/Me on /dev/hda1
Found Windows 95/98/Me on /dev/sdb1
done
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools
victoria:/usr/src#

-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/disk/by-uuid/026a3f5c-0064-4ae7-869e-519d2cee05e7 / ext3 rw,errors=remount-ro,data=ordered 0 0
/dev/hda1 /victoriac vfat rw,uid=65534,gid=65534,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=utf8 0 0
/dev/sdb1 /scsic vfat rw,uid=65534,gid=65534,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=utf8 0 0
/dev/sda /mnt/usb8gig vfat rw,nosuid,nodev,noexec,uid=65534,gid=65534,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=utf8,shortname=win95 0 0
/dev/hda3 /mirror3 ext3 rw,errors=remount-ro,data=ordered 0 0
/dev/hda7 /victoriad vfat rw,uid=65534,gid=65534,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=utf8 0 0
/dev/sdb5 /scsid vfat rw,uid=65534,gid=65534,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=utf8 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)	/dev/hda
(hd1)   /dev/disk/by-id/scsi-SIBM_DCAS-34330W_F3T92021
(hd2)   /dev/disk/by-id/usb-Verbatim_STORE_N_GO_078A18B40293-0:0
#(hd2)   /dev/disk/by-id/usb-Flash_Drive_AU_USB2.0_OGUN4WMN-0:0
*********************** END /boot/grub/device.map

*********************** BEGIN /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from  and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
set default=0
set timeout=10
set root=(hd0,5)
search --fs-uuid --set 026a3f5c-0064-4ae7-869e-519d2cee05e7
if loadfont /usr/share/grub/ascii.pf2 ; then
  set gfxmode=640x480
  insmod gfxterm
  insmod vbe
  if terminal_output gfxterm ; then true ; else
    # For backward compatibility with versions of terminal.mod that don't
    # understand terminal_output
    terminal gfxterm
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_hurd ###
### END /etc/grub.d/10_hurd ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "Debian GNU/Linux, linux 2.6.29-1-686" {
	set root=(hd0,5)
	search --fs-uuid --set 026a3f5c-0064-4ae7-869e-519d2cee05e7
	linux	/boot/vmlinuz-2.6.29-1-686 root=UUID=026a3f5c-0064-4ae7-869e-519d2cee05e7 ro  
	initrd	/boot/initrd.img-2.6.29-1-686
}
menuentry "Debian GNU/Linux, linux 2.6.29-1-686 (recovery mode)" {
	set root=(hd0,5)
	search --fs-uuid --set 026a3f5c-0064-4ae7-869e-519d2cee05e7
	linux	/boot/vmlinuz-2.6.29-1-686 root=UUID=026a3f5c-0064-4ae7-869e-519d2cee05e7 ro single 
	initrd	/boot/initrd.img-2.6.29-1-686
}
menuentry "Debian GNU/Linux, linux 2.6.29" {
	set root=(hd0,5)
	search --fs-uuid --set 026a3f5c-0064-4ae7-869e-519d2cee05e7
	linux	/boot/vmlinuz-2.6.29 root=UUID=026a3f5c-0064-4ae7-869e-519d2cee05e7 ro  
	initrd	/boot/initrd.img-2.6.29
}
menuentry "Debian GNU/Linux, linux 2.6.29 (recovery mode)" {
	set root=(hd0,5)
	search --fs-uuid --set 026a3f5c-0064-4ae7-869e-519d2cee05e7
	linux	/boot/vmlinuz-2.6.29 root=UUID=026a3f5c-0064-4ae7-869e-519d2cee05e7 ro single 
	initrd	/boot/initrd.img-2.6.29
}
menuentry "Debian GNU/Linux, linux 2.6.28-1-686" {
	set root=(hd0,5)
	search --fs-uuid --set 026a3f5c-0064-4ae7-869e-519d2cee05e7
	linux	/boot/vmlinuz-2.6.28-1-686 root=UUID=026a3f5c-0064-4ae7-869e-519d2cee05e7 ro  
	initrd	/boot/initrd.img-2.6.28-1-686
}
menuentry "Debian GNU/Linux, linux 2.6.28-1-686 (recovery mode)" {
	set root=(hd0,5)
	search --fs-uuid --set 026a3f5c-0064-4ae7-869e-519d2cee05e7
	linux	/boot/vmlinuz-2.6.28-1-686 root=UUID=026a3f5c-0064-4ae7-869e-519d2cee05e7 ro single 
	initrd	/boot/initrd.img-2.6.28-1-686
}
menuentry "Debian GNU/Linux, linux 2.6.28" {
	set root=(hd0,5)
	search --fs-uuid --set 026a3f5c-0064-4ae7-869e-519d2cee05e7
	linux	/boot/vmlinuz-2.6.28 root=UUID=026a3f5c-0064-4ae7-869e-519d2cee05e7 ro  
	initrd	/boot/initrd.img-2.6.28
}
menuentry "Debian GNU/Linux, linux 2.6.28 (recovery mode)" {
	set root=(hd0,5)
	search --fs-uuid --set 026a3f5c-0064-4ae7-869e-519d2cee05e7
	linux	/boot/vmlinuz-2.6.28 root=UUID=026a3f5c-0064-4ae7-869e-519d2cee05e7 ro single 
	initrd	/boot/initrd.img-2.6.28
}
menuentry "Debian GNU/Linux, linux 2.6.26-1-686" {
	set root=(hd0,5)
	search --fs-uuid --set 026a3f5c-0064-4ae7-869e-519d2cee05e7
	linux	/boot/vmlinuz-2.6.26-1-686 root=UUID=026a3f5c-0064-4ae7-869e-519d2cee05e7 ro  
	initrd	/boot/initrd.img-2.6.26-1-686
}
menuentry "Debian GNU/Linux, linux 2.6.26-1-686 (recovery mode)" {
	set root=(hd0,5)
	search --fs-uuid --set 026a3f5c-0064-4ae7-869e-519d2cee05e7
	linux	/boot/vmlinuz-2.6.26-1-686 root=UUID=026a3f5c-0064-4ae7-869e-519d2cee05e7 ro single 
	initrd	/boot/initrd.img-2.6.26-1-686
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
	linux	/boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	linux	/boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 95/98/Me (on /dev/hda1)" {
	set root=(hd0,1)
	chainloader +1
}
menuentry "Windows 95/98/Me (on /dev/sdb1)" {
	set root=(hd1,1)
	chainloader +1
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file is an example on how to add custom entries
### END /etc/grub.d/40_custom ###
*********************** END /boot/grub/grub.cfg

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.29 (SMP w/1 CPU core; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages grub-pc depends on:
ii  debconf [debconf-2.0]    1.5.26          Debian configuration management sy
ii  grub-common              1.96+20090317-1 GRand Unified Bootloader, version 
ii  libc6                    2.9-6           GNU C Library: Shared libraries

grub-pc recommends no packages.

Versions of packages grub-pc suggests:
pn  desktop-base                  <none>     (no description available)
ii  os-prober                     1.29       utility to detect other OSes on a 

-- debconf-show failed





More information about the Pkg-grub-devel mailing list