Hi Jean-Baptiste,

Thanks for your message. Grub IS installed. Here's the output :
:~$ sudo apt-get install grub
Reading package lists... Done
Building dependency tree       
Reading state information... Done
grub is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
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)

Any further ideas would be welcome!!

Thanks et très bonne journée.
/Ant
----------------------------------------
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Date: Wed, 29 Oct 2008 22:19:10 +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
> 
> @kingttx : you need to install the package module-init-tools-dbgsym. The 
> "conflicting distribution" error means that there's an error in your 
> source.list . The easiest thing to do is to use apport to automatically 
> report the error.
> To have apport report a new bug about your crash that can be dealt with by 
> the automatic retracer please follow these instructions:
> If you are running the Ubuntu Stable Release you might need to enable apport 
> in /etc/default/apport and restart.
> If you are using Ubuntu with the Gnome desktop environment - launch nautilus 
> and navigate to your /var/crash directory and double click on the crash 
> report you wish to submit.
> 
> apport will open a new report and this one could be closed.
> 
> @fourmi : I'm glad it helps. Your latest error is not related to this
> report and is due to grub not being installed. Simply run "sudo apt-get
> install grub" and it should fix this issue.
> 
> Thanks to all for your help to make Ubuntu better.
> 
> -- 
> 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

Reply via email to