[Spce-user] Installer error

Skyler skchopperguy at gmail.com
Thu Jun 9 11:10:55 EDT 2011


Hi,

-----Original Message-----
From: spce-user-bounces at lists.sipwise.com
[mailto:spce-user-bounces at lists.sipwise.com] On Behalf Of Michael Prokop
Sent: Thursday, June 09, 2011 6:59 AM
To: spce-user at lists.sipwise.com
Subject: Re: [Spce-user] Installer error

* Skyler [Thu Jun 09, 2011 at 06:10:16AM -0700]:

>   This appears to be an issue with the VPS as it cannot load
> linux-image-2.6.32-5-amd64 or 
>  linux-image-2.6.32-5-xen-amd64. I've logged a ticket with the provider.

> Thanks.


> root at test2:~# tail -20 /tmp/ngcp-installer.log
> Failed to process /etc/kernel/postinst.d at
> /var/lib/dpkg/info/linux-image-2.6.32-5-xen-amd64.postinst line 799.
> dpkg: error processing linux-image-2.6.32-5-xen-amd64 (--configure):
>  subprocess installed post-installation script returned error exit status
2
[...]

You can edit
/var/lib/dpkg/info/linux-image-2.6.32-5-xen-amd64.postinst and place
a "set -x" call in the second line of the file and then rerun
"apt-get install linux-image-2.6.32-5-xen-amd64" to see what's going
on and why it's actually failing. (I bet it's related to executing
the update-grub hook.) HTH

regards,
-mika-

>>>

Yes, it does appear to be related to grub. It can't find the drive. I've
pushed this to support, hopefully they can get this fixed soon. 

A package failed to install.  Trying to recover:
Setting up linux-image-2.6.32-5-amd64 (2.6.32-34squeeze1) ...
Running depmod.
Running update-initramfs.
update-initramfs: Generating /boot/initrd.img-2.6.32-5-amd64
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 2.6.32-5-amd64
/boot/vmlinuz-2.6.32-5-amd64
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 2.6.32-5-amd64
/boot/vmlinuz-2.6.32-5-amd64
Searching for GRUB installation directory ... found: /boot/grub
warning: grub-probe can't find drive for /dev/xvda1.
grub-probe: error: cannot find a GRUB drive for /dev/xvda1.  Check your
device.map.
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 1
Failed to process /etc/kernel/postinst.d at
/var/lib/dpkg/info/linux-image-2.6.32-5-amd64.postinst line 799.
dpkg: error processing linux-image-2.6.32-5-amd64 (--configure):
 subprocess installed post-installation script returned error exit status 2






More information about the Spce-user mailing list