Hello,
Sorry for bothering guys, but I'm having some issues doing apt-get dist-upgrade or apt-get upgrade:
Error msg down below.


Code:
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, 0B of additional disk space will be used.
Do you want to continue [Y/n]? Y
Setting up linux-image-2.6.39.4 (2.6.39.4-10.00.Custom) ...
Running depmod.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/pm-utils 2.6.39.4 /boot/vmlinuz-2.6.39.4
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-2.6.39.4 (--configure):
 subprocess installed post-installation script returned error exit status 255
dpkg: dependency problems prevent configuration of linux-image:
 linux-image depends on linux-image-2.6.39.4; however:
  Package linux-image-2.6.39.4 is not configured yet.
dpkg: error processing linux-image (--configure):
No apport report written because the error message indicates its a followup error from a previous failure.
                           dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-image-2.6.39.4
 linux-image
E: Sub-process /usr/bin/dpkg returned an error code (1)

I've read most of the threads here but i didn't find any like mine. Pls someone help, I'm really a beginner.
thanks a lot.


P.S. I've got no more problems. Sry for bothering.