[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#552815: upgrade-reports: Upgrade of Lenny 5.0 -> 5.03 rendered system unbootable by incorrectly updating grub menu.lst file



Package: upgrade-reports
Severity: critical
Justification: breaks the whole system

I acquired and and used the 5.03 Lenny UPDATES DVD ISO image, as I have a slow-ish broadband link and have been delaying network security updates.
I upgraded using aptitude safe-upgrade
186 packages were to be upgraded
It appeared to go OK.  I continued to use the system for another hour without any issues
At next reboot, I had a GRUB error where it could not boot the kernel.
After rebooting using a rescue CD I eventually discovered that the upgrade process had modified the GRUB menu.lst file and transposed the partition number of my /boot partition, and thus the system could not boot.

I checked the list of packages upgraded, and grub was not one of them.  So one of the other packages installed must have called grub-upate, possibly the kernel.  Note I am using a rebuilt kernel not the stock kernel, but any kernel I tried failed, obviously because hte hd reference was incorrect.

Problem resolved by restoring a backup of menu.lst

The following extract is from the original grub menu.lst file:

root		(hd0,0)
kernel		/vmlinuz-2.6.26-1-amd64-amm-preempt-cx88 root=/dev/mapper/sys-lenny1 ro

The following extract is from the incorrectly modified menu.lst file, which rendered the system unbootable

root		(hd0,1)
kernel		/vmlinuz-2.6.26-1-amd64-amm-preempt-cx88 root=/dev/mapper/system-lenny ro

I also noted that the LVM volume group name was incorrectly changed as well

I dont know whether this is a bug against grub, or the package(s) that updated grub?


Extract from aptitude.log:

Aptitude 0.4.11.11: log report
Tue, Oct 27 2009 21:11:55 +1030

IMPORTANT: this log only lists intended actions; actions which fail due to
dpkg problems may not be completed.

Will install 186 packages, and remove 0 packages.
81.0MB of disk space will be used
===============================================================================
[INSTALL, DEPENDENCIES] linux-image-2.6.26-2-amd64
[HOLD] amrwb
[HOLD] mplayer
[HOLD] mplayer-doc
[UPGRADE] acpid 1.0.8-1 -> 1.0.8-1lenny1
[UPGRADE] apache2 2.2.9-10+lenny2 -> 2.2.9-10+lenny4
[UPGRADE] apache2-doc 2.2.9-10+lenny2 -> 2.2.9-10+lenny4
[UPGRADE] apache2-mpm-prefork 2.2.9-10+lenny2 -> 2.2.9-10+lenny4
[UPGRADE] apache2-utils 2.2.9-10+lenny2 -> 2.2.9-10+lenny4
[UPGRADE] apache2.2-common 2.2.9-10+lenny2 -> 2.2.9-10+lenny4
[UPGRADE] apt 0.7.20.2 -> 0.7.20.2+lenny1
[UPGRADE] apt-utils 0.7.20.2 -> 0.7.20.2+lenny1
[UPGRADE] base-files 5 -> 5lenny4
[UPGRADE] bind9-host 1:9.5.1.dfsg.P1-1 -> 1:9.5.1.dfsg.P3-1
[UPGRADE] cups-bsd 1.3.8-1lenny4.1 -> 1.3.8-1+lenny6
[UPGRADE] cups-client 1.3.8-1lenny4.1 -> 1.3.8-1+lenny6
[UPGRADE] cups-common 1.3.8-1lenny4.1 -> 1.3.8-1+lenny6
[UPGRADE] dhcp3-client 3.1.1-6 -> 3.1.1-6+lenny3
[UPGRADE] dhcp3-common 3.1.1-6 -> 3.1.1-6+lenny3
[UPGRADE] dnsmasq 2.45-1 -> 2.45-1+lenny1
[UPGRADE] dnsmasq-base 2.45-1 -> 2.45-1+lenny1
[UPGRADE] dnsutils 1:9.5.1.dfsg.P1-1 -> 1:9.5.1.dfsg.P3-1
[UPGRADE] evolution-data-server 2.22.3-1.1 -> 2.22.3-1.1+lenny2
[UPGRADE] evolution-data-server-common 2.22.3-1.1 -> 2.22.3-1.1+lenny2
[UPGRADE] gdm 2.20.7-4 -> 2.20.7-4lenny1
[UPGRADE] ghostscript 8.62.dfsg.1-3.2lenny0 -> 8.62.dfsg.1-3.2lenny1
[UPGRADE] ghostscript-x 8.62.dfsg.1-3.2lenny0 -> 8.62.dfsg.1-3.2lenny1
[UPGRADE] gnupg 1.4.9-3 -> 1.4.9-3+lenny1
[UPGRADE] gpgv 1.4.9-3 -> 1.4.9-3+lenny1
[UPGRADE] gs 8.62.dfsg.1-3.2lenny0 -> 8.62.dfsg.1-3.2lenny1
[UPGRADE] gs-common 8.62.dfsg.1-3.2lenny0 -> 8.62.dfsg.1-3.2lenny1
[UPGRADE] gtk2-engines-pixbuf 2.12.11-4 -> 2.12.12-1~lenny1
[UPGRADE] icedove 2.0.0.19-1 -> 2.0.0.22-0lenny1
[UPGRADE] imagemagick 7:6.3.7.9.dfsg1-3~lenny1 -> 7:6.3.7.9.dfsg2-1~lenny3
[UPGRADE] kamera 4:3.5.9-3 -> 4:3.5.9-3+lenny1
[UPGRADE] kcoloredit 4:3.5.9-3 -> 4:3.5.9-3+lenny1
[UPGRADE] kdegraphics-kfile-plugins 4:3.5.9-3 -> 4:3.5.9-3+lenny1
[UPGRADE] kdelibs 4:3.5.10.dfsg.1-0lenny1 -> 4:3.5.10.dfsg.1-0lenny2
[UPGRADE] kdelibs-data 4:3.5.10.dfsg.1-0lenny1 -> 4:3.5.10.dfsg.1-0lenny2
[UPGRADE] kdelibs4c2a 4:3.5.10.dfsg.1-0lenny1 -> 4:3.5.10.dfsg.1-0lenny2
[UPGRADE] libapache2-mod-php5 5.2.6.dfsg.1-1+lenny2 -> 5.2.6.dfsg.1-1+lenny3
[UPGRADE] libapr1 1.2.12-5 -> 1.2.12-5+lenny1
[UPGRADE] libaprutil1 1.2.12+dfsg-8 -> 1.2.12+dfsg-8+lenny4
[UPGRADE] libaqbanking-data 3.6.2-1 -> 3.6.2-1+lenny1
[UPGRADE] libaqbanking20 3.6.2-1 -> 3.6.2-1+lenny1
[UPGRADE] libbind9-40 1:9.5.1.dfsg.P1-1 -> 1:9.5.1.dfsg.P3-1
[UPGRADE] libcamel1.2-11 2.22.3-1.1 -> 2.22.3-1.1+lenny2
[UPGRADE] libclamav5 0.94.dfsg.2-1 -> 0.94.dfsg.2-1lenny2
[UPGRADE] libcompress-raw-zlib-perl 2.012-1 -> 2.012-1lenny1
[UPGRADE] libcups2 1.3.8-1lenny4.1 -> 1.3.8-1+lenny6
[UPGRADE] libcups2-dev 1.3.8-1lenny4.1 -> 1.3.8-1+lenny6
[UPGRADE] libcupsimage2 1.3.8-1lenny4.1 -> 1.3.8-1+lenny6
[UPGRADE] libcupsys2 1.3.8-1lenny5 -> 1.3.8-1+lenny6
[UPGRADE] libcurl3 7.18.2-8lenny2 -> 7.18.2-8lenny3
[UPGRADE] libcurl3-gnutls 7.18.2-8lenny2 -> 7.18.2-8lenny3
[UPGRADE] libdns45 1:9.5.1.dfsg.P1-1 -> 1:9.5.1.dfsg.P3-1
[UPGRADE] libebook1.2-9 2.22.3-1.1 -> 2.22.3-1.1+lenny2
[UPGRADE] libecal1.2-7 2.22.3-1.1 -> 2.22.3-1.1+lenny2
[UPGRADE] libedata-book1.2-2 2.22.3-1.1 -> 2.22.3-1.1+lenny2
[UPGRADE] libedata-cal1.2-6 2.22.3-1.1 -> 2.22.3-1.1+lenny2
[UPGRADE] libedataserver1.2-9 2.22.3-1.1 -> 2.22.3-1.1+lenny2
[UPGRADE] libedataserverui1.2-8 2.22.3-1.1 -> 2.22.3-1.1+lenny2
[UPGRADE] libegroupwise1.2-13 2.22.3-1.1 -> 2.22.3-1.1+lenny2
[UPGRADE] libexchange-storage1.2-3 2.22.3-1.1 -> 2.22.3-1.1+lenny2
[UPGRADE] libfreetype6 2.3.7-2 -> 2.3.7-2+lenny1
[UPGRADE] libfreetype6-dev 2.3.7-2 -> 2.3.7-2+lenny1
[UPGRADE] libgdata-google1.2-1 2.22.3-1.1 -> 2.22.3-1.1+lenny2
[UPGRADE] libgdata1.2-1 2.22.3-1.1 -> 2.22.3-1.1+lenny2
[UPGRADE] libglib2.0-0 2.16.6-1 -> 2.16.6-2
[UPGRADE] libglib2.0-dev 2.16.6-1 -> 2.16.6-2
[UPGRADE] libgnutls-dev 2.4.2-6 -> 2.4.2-6+lenny1
[UPGRADE] libgnutls26 2.4.2-6 -> 2.4.2-6+lenny1
[UPGRADE] libgs8 8.62.dfsg.1-3.2lenny0 -> 8.62.dfsg.1-3.2lenny1
[UPGRADE] libgtk2.0-0 2.12.11-4 -> 2.12.12-1~lenny1
[UPGRADE] libgtk2.0-bin 2.12.11-4 -> 2.12.12-1~lenny1
[UPGRADE] libgtk2.0-common 2.12.11-4 -> 2.12.12-1~lenny1
[UPGRADE] libgtk2.0-dev 2.12.11-4 -> 2.12.12-1~lenny1
[UPGRADE] libicu38 3.8.1-3 -> 3.8.1-3+lenny1
[UPGRADE] libisc45 1:9.5.1.dfsg.P1-1 -> 1:9.5.1.dfsg.P3-1
[UPGRADE] libisccc40 1:9.5.1.dfsg.P1-1 -> 1:9.5.1.dfsg.P3-1
[UPGRADE] libisccfg40 1:9.5.1.dfsg.P1-1 -> 1:9.5.1.dfsg.P3-1
[UPGRADE] libkadm55 1.6.dfsg.4~beta1-5 -> 1.6.dfsg.4~beta1-5lenny1
[UPGRADE] libkpathsea4 2007.dfsg.2-4 -> 2007.dfsg.2-4+lenny1
[UPGRADE] libkrb5-dev 1.6.dfsg.4~beta1-5 -> 1.6.dfsg.4~beta1-5lenny1
[UPGRADE] libkrb53 1.6.dfsg.4~beta1-5 -> 1.6.dfsg.4~beta1-5lenny1
[UPGRADE] liblcms1 1.17.dfsg-1 -> 1.17.dfsg-1+lenny2
[UPGRADE] liblcms1-dev 1.17.dfsg-1 -> 1.17.dfsg-1+lenny2
[UPGRADE] liblwres40 1:9.5.1.dfsg.P1-1 -> 1:9.5.1.dfsg.P3-1
[UPGRADE] libmagick++10 7:6.3.7.9.dfsg1-3~lenny1 -> 7:6.3.7.9.dfsg2-1~lenny3
[UPGRADE] libmagick10 7:6.3.7.9.dfsg1-3~lenny1 -> 7:6.3.7.9.dfsg2-1~lenny3
[UPGRADE] libmozjs1d 1.9.0.6-1 -> 1.9.0.13-0lenny1
[UPGRADE] libmysqlclient15off 5.0.51a-24 -> 5.0.51a-24+lenny2
[UPGRADE] libnss3-1d 3.12.0-5 -> 3.12.3.1-0lenny1
[UPGRADE] libopenexr6 1.6.1-3 -> 1.6.1-3+lenny3
[UPGRADE] libpam-modules 1.0.1-5 -> 1.0.1-5+lenny1
[UPGRADE] libpam-runtime 1.0.1-5 -> 1.0.1-5+lenny1
[UPGRADE] libpam0g 1.0.1-5 -> 1.0.1-5+lenny1
[UPGRADE] libpango1.0-0 1.20.5-3+lenny1 -> 1.20.5-5
[UPGRADE] libpango1.0-common 1.20.5-3+lenny1 -> 1.20.5-5
[UPGRADE] libpango1.0-dev 1.20.5-3+lenny1 -> 1.20.5-5
[UPGRADE] libperl5.10 5.10.0-19 -> 5.10.0-19lenny2
[UPGRADE] libpng12-0 1.2.27-2 -> 1.2.27-2+lenny2
[UPGRADE] libpng12-dev 1.2.27-2 -> 1.2.27-2+lenny2
[UPGRADE] libpoppler-glib3 0.8.7-1 -> 0.8.7-2
[UPGRADE] libpoppler-qt2 0.8.7-1 -> 0.8.7-2
[UPGRADE] libpoppler3 0.8.7-1 -> 0.8.7-2
[UPGRADE] libpq5 8.3.6-1 -> 8.3.7-0lenny1
[UPGRADE] libpulse0 0.9.10-3 -> 0.9.10-3+lenny1
[UPGRADE] libpurple0 2.4.3-4lenny1 -> 2.4.3-4lenny4
[UPGRADE] libruby1.8 1.8.7.72-3 -> 1.8.7.72-3lenny1
[UPGRADE] libsasl2-2 2.1.22.dfsg1-23 -> 2.1.22.dfsg1-23+lenny1
[UPGRADE] libsasl2-modules 2.1.22.dfsg1-23 -> 2.1.22.dfsg1-23+lenny1
[UPGRADE] libsmbclient 2:3.2.5-4 -> 2:3.2.5-4lenny6
[UPGRADE] libsndfile1 1.0.17-4 -> 1.0.17-4+lenny2
[UPGRADE] libssl-dev 0.9.8g-15 -> 0.9.8g-15+lenny3
[UPGRADE] libssl0.9.8 0.9.8g-15 -> 0.9.8g-15+lenny3
[UPGRADE] libsvn1 1.5.1dfsg1-2 -> 1.5.1dfsg1-4
[UPGRADE] libvolume-id0 0.125-7 -> 0.125-7+lenny3
[UPGRADE] libwbclient0 2:3.2.5-4 -> 2:3.2.5-4lenny6
[UPGRADE] libxcb-render0 1.1-1.1 -> 1.1-1.2
[UPGRADE] libxcb-render0-dev 1.1-1.1 -> 1.1-1.2
[UPGRADE] libxcb-shape0 1.1-1.1 -> 1.1-1.2
[UPGRADE] libxcb-shm0 1.1-1.1 -> 1.1-1.2
[UPGRADE] libxcb-xlib0 1.1-1.1 -> 1.1-1.2
[UPGRADE] libxcb-xlib0-dev 1.1-1.1 -> 1.1-1.2
[UPGRADE] libxcb-xv0 1.1-1.1 -> 1.1-1.2
[UPGRADE] libxcb1 1.1-1.1 -> 1.1-1.2
[UPGRADE] libxcb1-dev 1.1-1.1 -> 1.1-1.2
[UPGRADE] libxml2-utils 2.6.32.dfsg-5 -> 2.6.32.dfsg-5+lenny1
[UPGRADE] linux-image-2.6-amd64 2.6.26+17 -> 2.6.26+17+lenny1
[UPGRADE] linux-libc-dev 2.6.26-13 -> 2.6.26-19
[UPGRADE] linux-source-2.6.26 2.6.26-13 -> 2.6.26-19
[UPGRADE] lvm2 2.02.39-6 -> 2.02.39-7
[UPGRADE] mysql-common 5.0.51a-24 -> 5.0.51a-24+lenny2
[UPGRADE] ntp 1:4.2.4p4+dfsg-8 -> 1:4.2.4p4+dfsg-8lenny2
[UPGRADE] ntp-doc 1:4.2.4p4+dfsg-8 -> 1:4.2.4p4+dfsg-8lenny2
[UPGRADE] ntpdate 1:4.2.4p4+dfsg-8 -> 1:4.2.4p4+dfsg-8lenny2
[UPGRADE] openssl 0.9.8g-15 -> 0.9.8g-15+lenny3
[UPGRADE] perl 5.10.0-19 -> 5.10.0-19lenny2
[UPGRADE] perl-base 5.10.0-19 -> 5.10.0-19lenny2
[UPGRADE] perl-modules 5.10.0-19 -> 5.10.0-19lenny2
[UPGRADE] php-pear 5.2.6.dfsg.1-1+lenny2 -> 5.2.6.dfsg.1-1+lenny3
[UPGRADE] php5-cli 5.2.6.dfsg.1-1+lenny2 -> 5.2.6.dfsg.1-1+lenny3
[UPGRADE] php5-common 5.2.6.dfsg.1-1+lenny2 -> 5.2.6.dfsg.1-1+lenny3
[UPGRADE] php5-pgsql 5.2.6.dfsg.1-1+lenny2 -> 5.2.6.dfsg.1-1+lenny3
[UPGRADE] pidgin 2.4.3-4lenny1 -> 2.4.3-4lenny4
[UPGRADE] pidgin-data 2.4.3-4lenny1 -> 2.4.3-4lenny4
[UPGRADE] poppler-utils 0.8.7-1 -> 0.8.7-2
[UPGRADE] postgresql-8.3 8.3.6-1 -> 8.3.7-0lenny1
[UPGRADE] postgresql-client-8.3 8.3.6-1 -> 8.3.7-0lenny1
[UPGRADE] postgresql-doc 8.3.6-1 -> 8.3.7-0lenny1
[UPGRADE] postgresql-doc-8.3 8.3.6-1 -> 8.3.7-0lenny1
[UPGRADE] postgresql-plpython-8.3 8.3.6-1 -> 8.3.7-0lenny1
[UPGRADE] python-gobject 2.14.2-1 -> 2.14.2-2
[UPGRADE] python-gobject-dev 2.14.2-1 -> 2.14.2-2
[UPGRADE] python-libxml2 2.6.32.dfsg-5 -> 2.6.32.dfsg-5+lenny1
[UPGRADE] python-support 0.8.4 -> 0.8.4lenny1
[UPGRADE] ruby1.8 1.8.7.72-3 -> 1.8.7.72-3lenny1
[UPGRADE] samba 2:3.2.5-4 -> 2:3.2.5-4lenny6
[UPGRADE] samba-common 2:3.2.5-4 -> 2:3.2.5-4lenny6
[UPGRADE] samba-doc 2:3.2.5-4 -> 2:3.2.5-4lenny6
[UPGRADE] smbclient 2:3.2.5-4 -> 2:3.2.5-4lenny6
[UPGRADE] smbfs 2:3.2.5-4 -> 2:3.2.5-4lenny6
[UPGRADE] sound-juicer 2.22.0-2 -> 2.22.0-3
[UPGRADE] subversion 1.5.1dfsg1-2 -> 1.5.1dfsg1-4
[UPGRADE] swat 2:3.2.5-4 -> 2:3.2.5-4lenny6
[UPGRADE] system-tools-backends 2.6.0-2lenny1 -> 2.6.0-2lenny3
[UPGRADE] texlive-base 2007.dfsg.1-5 -> 2007.dfsg.2-1~lenny2
[UPGRADE] texlive-base-bin 2007.dfsg.2-4 -> 2007.dfsg.2-4+lenny1
[UPGRADE] texlive-common 2007.dfsg.1-5 -> 2007.dfsg.2-1~lenny2
[UPGRADE] texlive-fonts-recommended 2007.dfsg.1-5 -> 2007.dfsg.2-1~lenny2
[UPGRADE] texlive-latex-base 2007.dfsg.1-5 -> 2007.dfsg.2-1~lenny2
[UPGRADE] texlive-latex-recommended 2007.dfsg.1-5 -> 2007.dfsg.2-1~lenny2
[UPGRADE] tor 0.2.0.34-1 -> 0.2.0.35-1~lenny1
[UPGRADE] tzdata 2009g-0lenny1 -> 2009l-0lenny1.1
[UPGRADE] udev 0.125-7 -> 0.125-7+lenny3
[UPGRADE] wireshark 1.0.2-3+lenny4 -> 1.0.2-3+lenny5
[UPGRADE] wireshark-common 1.0.2-3+lenny4 -> 1.0.2-3+lenny5
[UPGRADE] x11-common 1:7.3+18 -> 1:7.3+20
[UPGRADE] xnest 2:1.4.2-10 -> 2:1.4.2-10.lenny2
[UPGRADE] xorg 1:7.3+18 -> 1:7.3+20
[UPGRADE] xserver-xorg 1:7.3+18 -> 1:7.3+20
[UPGRADE] xserver-xorg-core 2:1.4.2-10 -> 2:1.4.2-10.lenny2
[UPGRADE] xserver-xorg-input-all 1:7.3+18 -> 1:7.3+20
[UPGRADE] xserver-xorg-video-all 1:7.3+18 -> 1:7.3+20
[UPGRADE] xserver-xorg-video-savage 1:2.2.1-2 -> 1:2.2.1-2.lenny1
[UPGRADE] xulrunner-1.9 1.9.0.6-1 -> 1.9.0.13-0lenny1
[UPGRADE] xulrunner-1.9-gnome-support 1.9.0.6-1 -> 1.9.0.13-0lenny1
[UPGRADE] xutils 1:7.3+18 -> 1:7.3+20
===============================================================================

Log complete.


-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64-amm-preempt-cx88 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



Reply to: