I get:
dpkg: error processing linux-image-2.6-amd64 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-image-2.6.26-1-amd64
linux-image-2.6.26-2-amd64
linux-image-2.6-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
Please see full output here: http://pastebin.com/rmBsiBeS
It appears that the issue is with trying to update grub:
This is caused when grub tries to read your
device.map
file and fails to find some of the mappings. Fortunately, assuming this is just a borked config file, it can easily be regenerated.Future updates should now go more smoothly. Hope this fixes your problem!
EDIT: Still empty? You have two options (at least, in this specific case):
Add the device manually to
/boot/grub/device.map
; it should look like:(hd0) /dev/sda1
Force grub to recheck the drives.
grub-install --recheck /dev/sda
Found out what the problem was.
The issue was due to some post installation scripts due to grub failing to configure. This wasn't the issue due to dependencies.
The issue was fixed by removing these packages from the server as these packages were not installed completely.