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 <[email protected]> To: [email protected] 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-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 [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
