Triple boot, update to BT5R2 postinst hook script problem
Hello all,
I was wondering if I could get some assistance. I currently have a system that is triple booting. Windows 7 was installed first, then 2 ubuntu variants were installed after that. The installs went fine.
In order it went like this: Windows 7, Ubuntu, Backtrack 5 R1.
All 3 OSs boot just fine. When I installed BT5 R1 I did not install a boot loader because I wanted to use the boot loader from Ubuntu. Grub is installed on the Ubuntu partition and I think this is the crux of my problem.
As per the instructions I ran an apt-get dist-upgrade from the terminal. However, part of the postinst hook script requires that it run update-grub. This causes the install to fail. Is there any way that I can bypass grub update so I can complete the dist-upgrade? TIA all!
Here is a snippet of the error.
Code:
Running depmod.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.2.6 /boot/vmlinuz-3.2.6
Running postinst hook script update-grub.
User postinst hook script [update-grub] failed to execute: No such file or directory
dpkg: error processing linux-image-3.2.6 (--configure):
subprocess installed post-installation script returned error exit status 255
Errors were encountered while processing:
linux-image-3.2.6
E: Sub-process /usr/bin/dpkg returned an error code (1)
Except it fails for both that and linux-image with the same problem.
Re: Triple boot, update to BT5R2 postinst hook script problem
Quote:
Originally Posted by
ArthurDent42
Hello all,
I was wondering if I could get some assistance. I currently have a system that is triple booting. Windows 7 was installed first, then 2 ubuntu variants were installed after that. The installs went fine.
In order it went like this: Windows 7, Ubuntu, Backtrack 5 R1.
All 3 OSs boot just fine. When I installed BT5 R1 I did not install a boot loader because I wanted to use the boot loader from Ubuntu. Grub is installed on the Ubuntu partition and I think this is the crux of my problem.
As per the instructions I ran an apt-get dist-upgrade from the terminal. However, part of the postinst hook script requires that it run update-grub. This causes the install to fail. Is there any way that I can bypass grub update so I can complete the dist-upgrade? TIA all!
Here is a snippet of the error.
Code:
Running depmod.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.2.6 /boot/vmlinuz-3.2.6
Running postinst hook script update-grub.
User postinst hook script [update-grub] failed to execute: No such file or directory
dpkg: error processing linux-image-3.2.6 (--configure):
subprocess installed post-installation script returned error exit status 255
Errors were encountered while processing:
linux-image-3.2.6
E: Sub-process /usr/bin/dpkg returned an error code (1)
Except it fails for both that and linux-image with the same problem.
I am running into the same problem. Did you ever get any suggestions?
Thanks in advance.