Didn't work, here is the terminal log and i am not completely sure but i think the computer might got unplugged while upgrading to 12.04.
rodrigo@rodrigo-GNV78:~$ sudo apt-get install -f [sudo] password for rodrigo: Sorry, try again. [sudo] password for rodrigo: Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following packages were automatically installed and are no longer required: libunity6 unity-2d-launcher linux-headers-2.6.38-8 linux-headers-3.2.0-24 linux-headers-3.0.0-14 linux-headers-3.2.0-24-generic linux-headers-3.0.0-14-generic linux-headers-2.6.38-8-generic linux-headers-3.2.0-24-generic-pae unity-2d-places Use 'apt-get autoremove' to remove them. The following extra packages will be installed: grub-pc The following packages will be REMOVED: linux-image-3.0.0-14-generic linux-image-3.0.0-14-generic-pae The following packages will be upgraded: grub-pc 1 upgraded, 0 newly installed, 2 to remove and 25 not upgraded. 17 not fully installed or removed. Need to get 0 B/140 kB of archives. After this operation, 235 MB disk space will be freed. Do you want to continue [Y/n]? y (Reading database ... 365481 files and directories currently installed.) Removing linux-image-3.0.0-14-generic ... Examining /etc/kernel/postrm.d . run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.0.0-14-generic /boot/vmlinuz-3.0.0-14-generic update-initramfs: Deleting /boot/initrd.img-3.0.0-14-generic run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.0.0-14-generic /boot/vmlinuz-3.0.0-14-generic /usr/sbin/grub-mkconfig: 12: /etc/default/grub: into: not found run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 127 Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-3.0.0-14-generic.postrm line 328. dpkg: error processing linux-image-3.0.0-14-generic (--remove): subprocess installed post-removal script returned error exit status 1 Removing linux-image-3.0.0-14-generic-pae ... Examining /etc/kernel/postrm.d . run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.0.0-14-generic-pae /boot/vmlinuz-3.0.0-14-generic-pae update-initramfs: Deleting /boot/initrd.img-3.0.0-14-generic-pae run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.0.0-14-generic-pae /boot/vmlinuz-3.0.0-14-generic-pae /usr/sbin/grub-mkconfig: 12: /etc/default/grub: into: not found run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 127 Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-3.0.0-14-generic-pae.postrm line 328. dpkg: error processing linux-image-3.0.0-14-generic-pae (--remove): subprocess installed post-removal script returned error exit status 1 Errors were encountered while processing: linux-image-3.0.0-14-generic linux-image-3.0.0-14-generic-pae E: Sub-process /usr/bin/dpkg returned an error code (1) rodrigo@rodrigo-GNV78:~$ sudo apt-get clean [sudo] password for rodrigo: rodrigo@rodrigo-GNV78:~$ sudo apt-get clean rodrigo@rodrigo-GNV78:~$ sudo apt-get update Ign http://security.ubuntu.com precise-security InRelease Ign http://extras.ubuntu.com precise InRelease Ign http://dl.google.com stable InRelease Ign http://archive.canonical.com precise InRelease Get:1 http://security.ubuntu.com precise-security Release.gpg [198 B] Get:2 http://extras.ubuntu.com precise Release.gpg [72 B] Hit http://archive.canonical.com precise Release.gpg Get:3 http://dl.google.com stable Release.gpg [198 B] Get:4 http://security.ubuntu.com precise-security Release [49.6 kB] Hit http://extras.ubuntu.com precise Release Hit http://archive.canonical.com precise Release Get:5 http://dl.google.com stable Release [1,347 B] Hit http://extras.ubuntu.com precise/main Sources Hit http://archive.canonical.com precise/partner i386 Packages Get:6 http://dl.google.com stable/main i386 Packages [1,249 B] Hit http://extras.ubuntu.com precise/main i386 Packages Ign http://extras.ubuntu.com precise/main TranslationIndex Ign http://archive.canonical.com precise/partner TranslationIndex Ign http://py.archive.ubuntu.com precise InRelease Ign http://py.archive.ubuntu.com precise-updates InRelease Ign http://dl.google.com stable/main TranslationIndex Get:7 http://security.ubuntu.com precise-security/main Sources [20.1 kB] Get:8 http://py.archive.ubuntu.com precise Release.gpg [198 B] Get:9 http://security.ubuntu.com precise-security/restricted Sources [14 B] Get:10 http://security.ubuntu.com precise-security/universe Sources [6,150 B] Get:11 http://security.ubuntu.com precise-security/multiverse Sources [713 B] Get:12 http://security.ubuntu.com precise-security/main i386 Packages [64.0 kB] Get:13 http://py.archive.ubuntu.com precise-updates Release.gpg [198 B] Get:14 http://security.ubuntu.com precise-security/restricted i386 Packages [14 B] Get:15 http://security.ubuntu.com precise-security/universe i386 Packages [15.5 kB] Get:16 http://py.archive.ubuntu.com precise Release [49.6 kB] Get:17 http://security.ubuntu.com precise-security/multiverse i386 Packages [1,394 B] Hit http://security.ubuntu.com precise-security/main TranslationIndex Hit http://security.ubuntu.com precise-security/multiverse TranslationIndex Hit http://security.ubuntu.com precise-security/restricted TranslationIndex Hit http://security.ubuntu.com precise-security/universe TranslationIndex Hit http://security.ubuntu.com precise-security/main Translation-en Hit http://security.ubuntu.com precise-security/multiverse Translation-en Hit http://security.ubuntu.com precise-security/restricted Translation-en Hit http://security.ubuntu.com precise-security/universe Translation-en Ign http://extras.ubuntu.com precise/main Translation-en_US Ign http://archive.canonical.com precise/partner Translation-en_US Ign http://extras.ubuntu.com precise/main Translation-en Ign http://archive.canonical.com precise/partner Translation-en Ign http://dl.google.com stable/main Translation-en_US Ign http://dl.google.com stable/main Translation-en Get:18 http://py.archive.ubuntu.com precise-updates Release [49.6 kB] Get:19 http://py.archive.ubuntu.com precise/main Sources [934 kB] Get:20 http://py.archive.ubuntu.com precise/restricted Sources [5,470 B] Get:21 http://py.archive.ubuntu.com precise/universe Sources [5,019 kB] Get:22 http://py.archive.ubuntu.com precise/multiverse Sources [155 kB] Get:23 http://py.archive.ubuntu.com precise/main i386 Packages [1,274 kB] Get:24 http://py.archive.ubuntu.com precise/restricted i386 Packages [8,431 B] Get:25 http://py.archive.ubuntu.com precise/universe i386 Packages [4,796 kB] Get:26 http://py.archive.ubuntu.com precise/universe i386 Packages [4,796 kB] Get:27 http://py.archive.ubuntu.com precise/multiverse i386 Packages [121 kB] Hit http://py.archive.ubuntu.com precise/main TranslationIndex Hit http://py.archive.ubuntu.com precise/multiverse TranslationIndex Hit http://py.archive.ubuntu.com precise/restricted TranslationIndex Hit http://py.archive.ubuntu.com precise/universe TranslationIndex Get:28 http://py.archive.ubuntu.com precise-updates/main Sources [112 kB] Get:29 http://py.archive.ubuntu.com precise-updates/restricted Sources [1,379 B] Get:30 http://py.archive.ubuntu.com precise-updates/universe Sources [24.7 kB] Get:31 http://py.archive.ubuntu.com precise-updates/multiverse Sources [1,058 B] Get:32 http://py.archive.ubuntu.com precise-updates/main i386 Packages [287 kB] Get:33 http://py.archive.ubuntu.com precise-updates/restricted i386 Packages [2,439 B] Get:34 http://py.archive.ubuntu.com precise-updates/universe i386 Packages [73.2 kB] Get:35 http://py.archive.ubuntu.com precise-updates/multiverse i386 Packages [2,049 B] Hit http://py.archive.ubuntu.com precise-updates/main TranslationIndex Hit http://py.archive.ubuntu.com precise-updates/multiverse TranslationIndex Hit http://py.archive.ubuntu.com precise-updates/restricted TranslationIndex Hit http://py.archive.ubuntu.com precise-updates/universe TranslationIndex Hit http://py.archive.ubuntu.com precise/main Translation-en Hit http://py.archive.ubuntu.com precise/multiverse Translation-en Hit http://py.archive.ubuntu.com precise/restricted Translation-en Hit http://py.archive.ubuntu.com precise/universe Translation-en Hit http://py.archive.ubuntu.com precise-updates/main Translation-en Hit http://py.archive.ubuntu.com precise-updates/multiverse Translation-en Hit http://py.archive.ubuntu.com precise-updates/restricted Translation-en Hit http://py.archive.ubuntu.com precise-updates/universe Translation-en Fetched 8,874 kB in 5min 38s (26.2 kB/s) Reading package lists... Done rodrigo@rodrigo-GNV78:~$ ** Changed in: linux (Ubuntu) Status: Incomplete => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1013928 Title: package linux-image-3.2.0-25-generic 3.2.0-25.40 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1013928/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
