[Bug 481689] Re: package linux-image-2.6.31-15-generic 2.6.31-15.50 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
I have the same problem. I had my system partition formatted into ext4 (this was a new install, not upgrade). The installer did not ask me which version of grub to install. After the installation I started seeing this message after each kernel upgrade. sudo apt-get install grub-pc wants to remove installed package grub: v...@pea:~$ sudo apt-get install grub-pc Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: desktop-base The following packages will be REMOVED: grub The following NEW packages will be installed: grub-pc 0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded. 3 not fully installed or removed. Need to get 0B/434kB of archives. After this operation, 807kB of additional disk space will be used. Do you want to continue [Y/n]? -- package linux-image-2.6.31-15-generic 2.6.31-15.50 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 https://bugs.launchpad.net/bugs/481689 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
Re: [Bug 481689] Re: package linux-image-2.6.31-15-generic 2.6.31-15.50 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Dear Steve: Here is the printout of my terminal when I ran the sudo apt-get install grub-pc command you ask me to do. ro...@romeo-laptop:~$ sudo apt-get install grub-pc Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: desktop-base The following packages will be REMOVED: grub The following NEW packages will be installed: grub-pc 0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded. Need to get 434kB of archives. After this operation, 807kB of additional disk space will be used. Do you want to continue [Y/n]? Get:1 http://mirror.cc.columbia.edu karmic-updates/main grub-pc 1.97~beta4-1ubuntu4 [434kB] Fetched 434kB in 25s (17.0kB/s) Preconfiguring packages ... dpkg: grub: dependency problems, but removing anyway as you requested: startupmanager depends on grub-pc | grub; however: Package grub-pc is not installed. Package grub is to be removed. (Reading database ... 334038 files and directories currently installed.) Removing grub ... Processing triggers for man-db ... Selecting previously deselected package grub-pc. (Reading database ... 333993 files and directories currently installed.) Unpacking grub-pc (from .../grub-pc_1.97~beta4-1ubuntu4_i386.deb) ... Processing triggers for man-db ... Setting up grub-pc (1.97~beta4-1ubuntu4) ... Installation finished. No error reported. This is the contents of the device map /boot/grub/device.map. Check if this is correct or not. If any of the lines is incorrect, fix it and re-run the script `grub-install'. (hd0)/dev/sda Generating grub.cfg ... Found linux image: /boot/vmlinuz-2.6.31-16-generic Found initrd image: /boot/initrd.img-2.6.31-16-generic Found linux image: /boot/vmlinuz-2.6.31-15-generic Found initrd image: /boot/initrd.img-2.6.31-15-generic Found linux image: /boot/vmlinuz-2.6.31-14-generic Found initrd image: /boot/initrd.img-2.6.31-14-generic Found linux image: /boot/vmlinuz-2.6.31-13-generic Found initrd image: /boot/initrd.img-2.6.31-13-generic Found linux image: /boot/vmlinuz-2.6.31-11-generic Found initrd image: /boot/initrd.img-2.6.31-11-generic Found memtest86+ image: /memtest86+.bin done ro...@romeo-laptop:~$ sudo update-grub Generating grub.cfg ... Found linux image: /boot/vmlinuz-2.6.31-16-generic Found initrd image: /boot/initrd.img-2.6.31-16-generic Found linux image: /boot/vmlinuz-2.6.31-15-generic Found initrd image: /boot/initrd.img-2.6.31-15-generic Found linux image: /boot/vmlinuz-2.6.31-14-generic Found initrd image: /boot/initrd.img-2.6.31-14-generic Found linux image: /boot/vmlinuz-2.6.31-13-generic Found initrd image: /boot/initrd.img-2.6.31-13-generic Found linux image: /boot/vmlinuz-2.6.31-11-generic Found initrd image: /boot/initrd.img-2.6.31-11-generic Found memtest86+ image: /memtest86+.bin done ro...@romeo-laptop:~$ I hope this information helps you. I will see at the next update if this problem is solved. Thanks for your help, Romeo Bourassa From: Steve Langasek steve.langa...@canonical.com To: rdboura...@yahoo.com Sent: Sun, December 6, 2009 5:26:11 AM Subject: [Bug 481689] Re: package linux-image-2.6.31-15-generic 2.6.31-15.50 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 Romeo, Thank you for taking the time to report this issue and help to improve Ubuntu. The problem here is that you have grub1 installed, when the version of grub installed with Ubuntu 9.10 is grub2. There were a number of bugs in this area that were resolved between beta and final release; can you tell us what packages are removed if you try to run 'sudo apt-get install grub-pc'? ** Changed in: grub (Ubuntu) Status: New = Incomplete -- package linux-image-2.6.31-15-generic 2.6.31-15.50 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 https://bugs.launchpad.net/bugs/481689 You received this bug notification because you are a direct subscriber of the bug. Status in “grub” package in Ubuntu: Incomplete Bug description: Binary package hint: grub Update manager was performing an update. It could not find /boot/grub/menu.lst. It asked me if I wanted to generate one and gave me a choice y/N. I chose no by default. This is the error I got. E: linux-image-2.6.31-15-generic: subprocess installed post-installation script returned error exit status 1 E: linux-image-generic: dependency problems - leaving unconfigured E: linux-generic: dependency problems - leaving unconfigured Questions. Where is the grub/menu.lst file? Where is the xorg.conf file? This is Ubuntu 9.10 Beta with daily updates. ProblemType: Package Architecture: i386 Date: Fri Nov 13 09:55:52 2009 DistroRelease: Ubuntu 9.10 ErrorMessage: subprocess installed post-installation script returned error exit status 1 NonfreeKernelModules: nvidia Package: linux-image-2.6.31-15-generic 2.6.31
[Bug 481689] Re: package linux-image-2.6.31-15-generic 2.6.31-15.50 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Removing grub is exactly what should happen, you'll find on the next update that this issue is now fixed for you. It looks like you were affected by one of the bugs in the beta cycle that forced removal of grub-pc in favor of grub - since this bug is fixed, I'm closing this report. ** Changed in: grub (Ubuntu) Status: Incomplete = Invalid -- package linux-image-2.6.31-15-generic 2.6.31-15.50 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 https://bugs.launchpad.net/bugs/481689 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
Re: [Bug 481689] Re: package linux-image-2.6.31-15-generic 2.6.31-15.50 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Thanks From: Steve Langasek steve.langa...@canonical.com To: rdboura...@yahoo.com Sent: Mon, December 7, 2009 3:25:06 AM Subject: [Bug 481689] Re: package linux-image-2.6.31-15-generic 2.6.31-15.50 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 Removing grub is exactly what should happen, you'll find on the next update that this issue is now fixed for you. It looks like you were affected by one of the bugs in the beta cycle that forced removal of grub-pc in favor of grub - since this bug is fixed, I'm closing this report. ** Changed in: grub (Ubuntu) Status: Incomplete = Invalid -- package linux-image-2.6.31-15-generic 2.6.31-15.50 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 https://bugs.launchpad.net/bugs/481689 You received this bug notification because you are a direct subscriber of the bug. Status in “grub” package in Ubuntu: Invalid Bug description: Binary package hint: grub Update manager was performing an update. It could not find /boot/grub/menu.lst. It asked me if I wanted to generate one and gave me a choice y/N. I chose no by default. This is the error I got. E: linux-image-2.6.31-15-generic: subprocess installed post-installation script returned error exit status 1 E: linux-image-generic: dependency problems - leaving unconfigured E: linux-generic: dependency problems - leaving unconfigured Questions. Where is the grub/menu.lst file? Where is the xorg.conf file? This is Ubuntu 9.10 Beta with daily updates. ProblemType: Package Architecture: i386 Date: Fri Nov 13 09:55:52 2009 DistroRelease: Ubuntu 9.10 ErrorMessage: subprocess installed post-installation script returned error exit status 1 NonfreeKernelModules: nvidia Package: linux-image-2.6.31-15-generic 2.6.31-15.50 ProcVersionSignature: Ubuntu 2.6.31-11.38-generic SourcePackage: grub Title: package linux-image-2.6.31-15-generic 2.6.31-15.50 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 Uname: Linux 2.6.31-11-generic i686 To unsubscribe from this bug, go to: https://bugs.launchpad.net/ubuntu/+source/grub/+bug/481689/+subscribe -- package linux-image-2.6.31-15-generic 2.6.31-15.50 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 https://bugs.launchpad.net/bugs/481689 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
[Bug 481689] Re: package linux-image-2.6.31-15-generic 2.6.31-15.50 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
** This bug is no longer a duplicate of bug 478834 package linux-image-2.6.31-15-generic 2.6.31-15.49 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 -- package linux-image-2.6.31-15-generic 2.6.31-15.50 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 https://bugs.launchpad.net/bugs/481689 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
[Bug 481689] Re: package linux-image-2.6.31-15-generic 2.6.31-15.50 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Romeo, Thank you for taking the time to report this issue and help to improve Ubuntu. The problem here is that you have grub1 installed, when the version of grub installed with Ubuntu 9.10 is grub2. There were a number of bugs in this area that were resolved between beta and final release; can you tell us what packages are removed if you try to run 'sudo apt-get install grub-pc'? ** Changed in: grub (Ubuntu) Status: New = Incomplete -- package linux-image-2.6.31-15-generic 2.6.31-15.50 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 https://bugs.launchpad.net/bugs/481689 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
[Bug 481689] Re: package linux-image-2.6.31-15-generic 2.6.31-15.50 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
*** This bug is a duplicate of bug 478834 *** https://bugs.launchpad.net/bugs/478834 ** This bug has been marked a duplicate of bug 478834 package linux-image-2.6.31-15-generic 2.6.31-15.49 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 -- package linux-image-2.6.31-15-generic 2.6.31-15.50 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 https://bugs.launchpad.net/bugs/481689 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
[Bug 481689] Re: package linux-image-2.6.31-15-generic 2.6.31-15.50 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
I think the problem is a wrong package installed by default. I had the old grub metapackage installed instead of grub2, although the package grub-common installed is version 1.97b4 -- package linux-image-2.6.31-15-generic 2.6.31-15.50 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 https://bugs.launchpad.net/bugs/481689 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
[Bug 481689] Re: package linux-image-2.6.31-15-generic 2.6.31-15.50 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
** Attachment added: AptOrdering.txt http://launchpadlibrarian.net/35598433/AptOrdering.txt ** Attachment added: Dependencies.txt http://launchpadlibrarian.net/35598434/Dependencies.txt ** Attachment added: Dmesg.txt http://launchpadlibrarian.net/35598435/Dmesg.txt ** Attachment added: DpkgTerminalLog.txt http://launchpadlibrarian.net/35598436/DpkgTerminalLog.txt -- package linux-image-2.6.31-15-generic 2.6.31-15.50 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 https://bugs.launchpad.net/bugs/481689 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