thank you for your kind follow up... here is the out put i got
----------- ~$ sudo DEBCONF_DEBUG=developer sh -x /usr/sbin/update-grub ; echo $? + set -e + . /usr/share/debconf/confmodule + [ ! ] + PERL_DL_NONLAZY=1 + export PERL_DL_NONLAZY + [ ] + exec /usr/share/debconf/frontend /usr/sbin/update-grub debconf (developer): frontend started debconf (developer): Trying to find a templates file.. debconf (developer): Trying /usr/sbin/update-grub.templates debconf (developer): Trying /usr/share/debconf/templates/update-grub.templates debconf (developer): Couldn't find a templates file. debconf (developer): frontend running, package name is debconf (developer): starting /usr/sbin/update-grub Searching for GRUB installation directory ... found: /boot/grub Searching for default file ... found: /boot/grub/default Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst Searching for splash image ... none found, skipping ... Found kernel: /boot/vmlinuz-2.6.24-22-generic Found kernel: /boot/vmlinuz-2.6.24-19-generic Found kernel: /boot/vmlinuz-2.6.24-16-generic Found kernel: /boot/memtest86+.bin debconf (developer): <-- X_LOADTEMPLATEFILE /var/lib/dpkg/info/grub.templates grub debconf (developer): --> 0 debconf (developer): <-- X_LOADTEMPLATEFILE /var/lib/dpkg/info/ucf.templates ucf debconf (developer): --> 10 failed to open /var/lib/dpkg/info/ucf.templates: No such file or directory 10 ================ the directory is there: $ ls -la /var/lib/dpkg/ total 5164 drwxr-xr-x 7 root root 4096 2008-12-06 15:50 . drwxr-xr-x 57 root root 4096 2008-12-03 02:38 .. drwxr-xr-x 2 root root 4096 2008-12-04 21:33 alternatives -rw-r--r-- 1 root root 268820 2008-12-06 15:50 available -rw-r--r-- 1 root root 268820 2008-12-05 04:43 available-old -rw-r--r-- 1 root root 8 2008-04-22 20:49 cmethopt -rw-r--r-- 1 root root 98 2008-07-05 08:12 diversions -rw-r--r-- 1 root root 169 2008-07-05 08:12 diversions-old drwxr-xr-x 2 root root 262144 2008-12-05 04:41 info -rw-r----- 1 root root 0 2008-12-07 07:50 lock drwxr-xr-x 2 root root 4096 2008-02-13 04:50 parts -rw-r--r-- 1 root root 65 2008-04-22 21:01 statoverride -rw-r--r-- 1 root root 30 2008-04-22 20:59 statoverride-old -rw-r--r-- 1 root root 1478798 2008-12-06 15:50 status -rw-r--r-- 1 root root 1446285 2008-10-28 19:58 status.backup -rw-r--r-- 1 root root 1478798 2008-12-05 04:43 status-old drwxr-xr-x 2 root root 4096 2008-12-05 01:09 triggers drwxr-xr-x 2 root root 4096 2008-12-06 15:50 updates thanks again... -- package linux-generic failed to install/upgrade: User postinst hook script [/sbin/update-grub] exited with value 10 https://bugs.launchpad.net/bugs/297167 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs