Bonjour Jean-Baptiste, Thanks very much for this info.
I tried your idea of sudo depmod -a and this cleared all the problems except the one of the installation of the new kernel image itself. I tried sudo apt-get install linux-image-2.6.24-21-generic but no... sudo apt-get dist-upgrade produces this : Setting up linux-image-2.6.24-21-generic (2.6.24-21.43) ... Running depmod. update-initramfs: Generating /boot/initrd.img-2.6.24-21-generic Not updating initrd symbolic links since we are being updated/reinstalled (2.6.24-21.42 was configured last, according to dpkg) Not updating image symbolic links since we are being updated/reinstalled (2.6.24-21.42 was configured last, according to dpkg) Could not find postinst hook script [usr/sbin/update-grub]. Looked in: '/bin', '/sbin', '/usr/bin', '/usr/sbin' dpkg: error processing linux-image-2.6.24-21-generic (--configure): subprocess post-installation script returned error exit status 2 Errors were encountered while processing: linux-image-2.6.24-21-generic E: Sub-process /usr/bin/dpkg returned an error code (1) What should I do next? Thanks for your help!! Merci beaucoup de toute ton aide :) Best wishes, /Ant (Bruxelles, Belgique) ---------------------------------------- > From: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Date: Tue, 28 Oct 2008 08:30:28 +0000 > Subject: [Bug 290113] Re: package linux-image-2.6.24-21-generic 2.6.24-21.43 > failed to install/upgrade: subprocess post-installation script returned > error exit status 1 > > Thanks for your report. > > Could you please try to reproduce the error with the following command: > sudo depmod -a > > You may need to reinstall the failing kernel package the run > sudo depmod -a 2.6.24-21-generic > > If it's still an issue then please try to obtain a backtrace following > the instructions at http://wiki.ubuntu.com/DebuggingProgramCrash and > upload the backtrace (as an attachment) to the bug report. This will > greatly help us in tracking down your problem. > > This likely a dup of bug 99547 > > Thanks for your help. > > ** Changed in: linux (Ubuntu) > Status: New => Incomplete > > -- > package linux-image-2.6.24-21-generic 2.6.24-21.43 failed to install/upgrade: > subprocess post-installation script returned error exit status 1 > https://bugs.launchpad.net/bugs/290113 > You received this bug notification because you are a direct subscriber > of the bug. > > Status in “linux” source package in Ubuntu: Incomplete > > Bug description: > 1) Ubuntu 8.04 > 2) linux: > Installed: (none) > Candidate: 2.6.24.21.23 > Version table: > 2.6.24.21.23 0 > 500 http://us.archive.ubuntu.com hardy-updates/restricted Packages > 2.6.24.19.21 0 > 500 http://security.ubuntu.com hardy-security/restricted Packages > 500 http://archive.ubuntu.com hardy-security/restricted Packages > 2.6.24.16.18 0 > 500 http://us.archive.ubuntu.com hardy/restricted Packages > > 3) I ran 'sudo apt-get dist-upgrade' and received the following potential > updates: > gstreamer0.10-plugins-bad gstreamer0.10-sdl gtk2-engines-pixbuf libgtk2.0-0 > libgtk2.0-bin libgtk2.0-common linux-headers-2.6.24-21 > linux-headers-2.6.24-21-generic linux-image-2.6.24-21-generic > linux-image-2.6.24-21-rt linux-libc-dev thunderbird-locale-en-gb tzdata > xkb-data > > Normally, kernel updates have no problems. > > 4) Here was the result: > Preparing to replace linux-image-2.6.24-21-generic 2.6.24-21.42 (using > .../linux-image-2.6.24-21-generic_2.6.24-21.43_i386.deb) ... > Done. > Unpacking replacement linux-image-2.6.24-21-generic ... > Running postrm hook script /sbin/update-grub. > 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 kernel: /boot/vmlinuz-2.6.24-21-rt > Found kernel: /boot/vmlinuz-2.6.24-21-generic > Found kernel: /boot/vmlinuz-2.6.24-19-rt > Found kernel: /boot/vmlinuz-2.6.24-19-generic > Found kernel: /boot/vmlinuz-2.6.24-18-generic > Found kernel: /boot/memtest86+.bin > Updating /boot/grub/menu.lst ... done > > Preparing to replace linux-image-2.6.24-21-rt 2.6.24-21.42 (using > .../linux-image-2.6.24-21-rt_2.6.24-21.43_i386.deb) ... > Done. > Unpacking replacement linux-image-2.6.24-21-rt ... > Running postrm hook script /sbin/update-grub. > 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 kernel: /boot/vmlinuz-2.6.24-21-rt > Found kernel: /boot/vmlinuz-2.6.24-21-generic > Found kernel: /boot/vmlinuz-2.6.24-19-rt > Found kernel: /boot/vmlinuz-2.6.24-19-generic > Found kernel: /boot/vmlinuz-2.6.24-18-generic > Found kernel: /boot/memtest86+.bin > Updating /boot/grub/menu.lst ... done > > Preparing to replace tzdata 2008h-0ubuntu0.8.04 (using > .../tzdata_2008h-0ubuntu0.8.04.1_all.deb) ... > Unpacking replacement tzdata ... > Setting up tzdata (2008h-0ubuntu0.8.04.1) ... > > User defined timezone, leaving /etc/localtime unchanged. > Local time is now: Mon Oct 27 20:04:34 CDT 2008. > Universal Time is now: Tue Oct 28 01:04:34 UTC 2008. > Run 'dpkg-reconfigure tzdata' if you wish to change it. > > > (Reading database ... 215056 files and directories currently installed.) > Preparing to replace xkb-data 1.1~cvs.20080104.1-1ubuntu6 (using > .../xkb-data_1.1~cvs.20080104.1-1ubuntu8_all.deb) ... > Unpacking replacement xkb-data ... > Preparing to replace gstreamer0.10-plugins-bad 0.10.6-5 (using > .../gstreamer0.10-plugins-bad_0.10.6-5ubuntu0.1_i386.deb) ... > Unpacking replacement gstreamer0.10-plugins-bad ... > Preparing to replace gstreamer0.10-sdl 0.10.6-5 (using > .../gstreamer0.10-sdl_0.10.6-5ubuntu0.1_i386.deb) ... > Unpacking replacement gstreamer0.10-sdl ... > Preparing to replace libgtk2.0-common 2.12.9-3ubuntu4 (using > .../libgtk2.0-common_2.12.9-3ubuntu5_all.deb) ... > Unpacking replacement libgtk2.0-common ... > Preparing to replace gtk2-engines-pixbuf 2.12.9-3ubuntu4 (using > .../gtk2-engines-pixbuf_2.12.9-3ubuntu5_i386.deb) ... > Unpacking replacement gtk2-engines-pixbuf ... > Preparing to replace libgtk2.0-0 2.12.9-3ubuntu4 (using > .../libgtk2.0-0_2.12.9-3ubuntu5_i386.deb) ... > Unpacking replacement libgtk2.0-0 ... > Preparing to replace libgtk2.0-bin 2.12.9-3ubuntu4 (using > .../libgtk2.0-bin_2.12.9-3ubuntu5_all.deb) ... > Unpacking replacement libgtk2.0-bin ... > Preparing to replace linux-headers-2.6.24-21 2.6.24-21.42 (using > .../linux-headers-2.6.24-21_2.6.24-21.43_all.deb) ... > Unpacking replacement linux-headers-2.6.24-21 ... > Preparing to replace linux-headers-2.6.24-21-generic 2.6.24-21.42 (using > .../linux-headers-2.6.24-21-generic_2.6.24-21.43_i386.deb) ... > Unpacking replacement linux-headers-2.6.24-21-generic ... > Preparing to replace linux-libc-dev 2.6.24-21.42 (using > .../linux-libc-dev_2.6.24-21.43_i386.deb) ... > Unpacking replacement linux-libc-dev ... > Preparing to replace thunderbird-locale-en-gb 1:2.0.0.0+1-0ubuntu1 (using > .../thunderbird-locale-en-gb_1%3a2.0.0.14+1-0ubuntu1~8.04.1_all.deb) ... > Unpacking replacement thunderbird-locale-en-gb ... > Setting up linux-image-2.6.24-21-generic (2.6.24-21.43) ... > Running depmod. > Failed to run depmod > dpkg: error processing linux-image-2.6.24-21-generic (--configure): > subprocess post-installation script returned error exit status 1 > Setting up linux-image-2.6.24-21-rt (2.6.24-21.43) ... > Running depmod. > update-initramfs: Generating /boot/initrd.img-2.6.24-21-rt > Not updating initrd symbolic links since we are being updated/reinstalled > (2.6.24-21.42 was configured last, according to dpkg) > Not updating image symbolic links since we are being updated/reinstalled > (2.6.24-21.42 was configured last, according to dpkg) > Running postinst hook script /sbin/update-grub. > 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 kernel: /boot/vmlinuz-2.6.24-21-rt > Found kernel: /boot/vmlinuz-2.6.24-21-generic > Found kernel: /boot/vmlinuz-2.6.24-19-rt > Found kernel: /boot/vmlinuz-2.6.24-19-generic > Found kernel: /boot/vmlinuz-2.6.24-18-generic > Found kernel: /boot/memtest86+.bin > Updating /boot/grub/menu.lst ... done > > > Setting up xkb-data (1.1~cvs.20080104.1-1ubuntu8) ... > Setting up gstreamer0.10-plugins-bad (0.10.6-5ubuntu0.1) ... > Setting up gstreamer0.10-sdl (0.10.6-5ubuntu0.1) ... > Setting up libgtk2.0-common (2.12.9-3ubuntu5) ... > Setting up libgtk2.0-0 (2.12.9-3ubuntu5) ... > > Setting up gtk2-engines-pixbuf (2.12.9-3ubuntu5) ... > Setting up libgtk2.0-bin (2.12.9-3ubuntu5) ... > Setting up linux-headers-2.6.24-21 (2.6.24-21.43) ... > Setting up linux-headers-2.6.24-21-generic (2.6.24-21.43) ... > > Setting up linux-libc-dev (2.6.24-21.43) ... > Setting up thunderbird-locale-en-gb (1:2.0.0.14+1-0ubuntu1~8.04.1) ... > Processing triggers for libc6 ... > ldconfig deferred processing now taking place > Errors were encountered while processing: > linux-image-2.6.24-21-generic > E: Sub-process /usr/bin/dpkg returned an error code (1) > > ---I ran 'sudo apt-get dist-upgrade' again and received the following: > Setting up linux-image-2.6.24-21-generic (2.6.24-21.43) ... > Running depmod. > Failed to run depmod > dpkg: error processing linux-image-2.6.24-21-generic (--configure): > subprocess post-installation script returned error exit status 1 > Errors were encountered while processing: > linux-image-2.6.24-21-generic > E: Sub-process /usr/bin/dpkg returned an error code (1) > > > ---At the time I posted this report, I have not rebooted the machine. > > ProblemType: Package > Architecture: i386 > Date: Mon Oct 27 20:08:18 2008 > DistroRelease: Ubuntu 8.04 > ErrorMessage: subprocess post-installation script returned error exit status 1 > Package: linux-image-2.6.24-21-generic 2.6.24-21.43 > PackageArchitecture: i386 > SourcePackage: linux > Title: package linux-image-2.6.24-21-generic 2.6.24-21.43 failed to > install/upgrade: subprocess post-installation script returned error exit > status 1 > Uname: Linux 2.6.24-21-generic i686 -- package linux-image-2.6.24-21-generic 2.6.24-21.43 failed to install/upgrade: subprocess post-installation script returned error exit status 1 https://bugs.launchpad.net/bugs/290113 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs