Hello,
I am running Debian Wheezy on a VPS of mine, and I seem to be coming across an error when I update my packages:
Code:
root@no:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? Y
Setting up linux-image-3.2.0-2-amd64 (3.2.20-1) ...
Running depmod.
vmlinuz(/boot/vmlinuz-3.2.0-2-amd64
) points to /boot/vmlinuz-3.2.0-2-amd64
(/boot/vmlinuz-3.2.0-2-amd64) -- doing nothing at /var/lib/dpkg/info/linux-imag e-3.2.0-2-amd64.postinst line 268.
initrd.img(/boot/initrd.img-3.2.0-2-amd64
) points to /boot/initrd.img-3.2.0-2-amd64
(/boot/initrd.img-3.2.0-2-amd64) -- doing nothing at /var/lib/dpkg/info/linux-i mage-3.2.0-2-amd64.postinst line 268.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.2.0-2-amd64 /boot/ vmlinuz-3.2.0-2-amd64
update-initramfs: Generating /boot/initrd.img-3.2.0-2-amd64
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.2.0-2-amd64 /boot/vmlinuz-3.2.0-2-amd64
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... Generating /boot/grub/default file and setting the default boot entry to 0
entry not specified.
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-3.2.0-2-amd64.postinst line 696.
dpkg: error processing linux-image-3.2.0-2-amd64 (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of linux-image-amd64:
linux-image-amd64 depends on linux-image-3.2.0-2-amd64; however:
Package linux-image-3.2.0-2-amd64 is not configured yet.
dpkg: error processing linux-image-amd64 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-image-3.2.0-2-amd64
linux-image-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@no:~#
I've never had this error before, can someone please help me in fixing this? Thanks!