hybmg57
February 19th, 2012, 10:12 AM
Hi guys,
This is for Ubuntu 11.04 and I have a few problems. First of all, I cannot seem to upgrade to 11.10 for some reason any of my updates is not working.
I have realised that there are some old Kernels and tried to remove them by using
sudo dpkg --configure -a
But this seems to create error like below:
Setting up linux-image-2.6.38-11-generic-pae (2.6.38-11.50) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.38-11-generic-pae
Warning: No support for locale: en_NZ.utf8
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 2.6.38-11-generic-pae /boot/vmlinuz-2.6.38-11-generic-pae
run-parts: executing /etc/kernel/postinst.d/pm-utils 2.6.38-11-generic-pae /boot/vmlinuz-2.6.38-11-generic-pae
run-parts: executing /etc/kernel/postinst.d/update-notifier 2.6.38-11-generic-pae /boot/vmlinuz-2.6.38-11-generic-pae
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 2.6.38-11-generic-pae /boot/vmlinuz-2.6.38-11-generic-pae
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.38-13-generic-pae
Found initrd image: /boot/initrd.img-2.6.38-13-generic-pae
Found linux image: /boot/vmlinuz-2.6.38-11-generic-pae
Found initrd image: /boot/initrd.img-2.6.38-11-generic-pae
Found linux image: /boot/vmlinuz-2.6.38-10-generic-pae
Found initrd image: /boot/initrd.img-2.6.38-10-generic-pae
Found linux image: /boot/vmlinuz-2.6.38-8-generic-pae
Found initrd image: /boot/initrd.img-2.6.38-8-generic-pae
Found Windows 7 (loader) on /dev/sda1
Found Windows Recovery Environment (loader) on /dev/sda2
Found Windows Recovery Environment (loader) on /dev/sda3
/etc/grub.d/README: 2: All: not found
/etc/grub.d/README: 4: 00_*:: not found
/etc/grub.d/README: 5: 10_*:: not found
/etc/grub.d/README: 6: Syntax error: "(" unexpected
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 2
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-2.6.38-11-generic-pae.postinst line 1010.
dpkg: error processing linux-image-2.6.38-11-generic-pae (--configure):
subprocess installed post-installation script returned error exit status 2
Setting up linux-image-2.6.38-10-generic-pae (2.6.38-10.46) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.38-10-generic-pae
Warning: No support for locale: en_NZ.utf8
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 2.6.38-10-generic-pae /boot/vmlinuz-2.6.38-10-generic-pae
run-parts: executing /etc/kernel/postinst.d/pm-utils 2.6.38-10-generic-pae /boot/vmlinuz-2.6.38-10-generic-pae
run-parts: executing /etc/kernel/postinst.d/update-notifier 2.6.38-10-generic-pae /boot/vmlinuz-2.6.38-10-generic-pae
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 2.6.38-10-generic-pae /boot/vmlinuz-2.6.38-10-generic-pae
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.38-13-generic-pae
Found initrd image: /boot/initrd.img-2.6.38-13-generic-pae
Found linux image: /boot/vmlinuz-2.6.38-11-generic-pae
Found initrd image: /boot/initrd.img-2.6.38-11-generic-pae
Found linux image: /boot/vmlinuz-2.6.38-10-generic-pae
Found initrd image: /boot/initrd.img-2.6.38-10-generic-pae
Found linux image: /boot/vmlinuz-2.6.38-8-generic-pae
Found initrd image: /boot/initrd.img-2.6.38-8-generic-pae
^CFailed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-2.6.38-10-generic-pae.postinst line 1010.
dpkg: error processing linux-image-2.6.38-10-generic-pae (--configure):
subprocess installed post-installation script returned error exit status 2
Setting up linux-image-2.6.38-13-generic-pae (2.6.38-13.52) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.38-13-generic-pae
Warning: No support for locale: en_NZ.utf8
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 2.6.38-13-generic-pae /boot/vmlinuz-2.6.38-13-generic-pae
run-parts: executing /etc/kernel/postinst.d/pm-utils 2.6.38-13-generic-pae /boot/vmlinuz-2.6.38-13-generic-pae
run-parts: executing /etc/kernel/postinst.d/update-notifier 2.6.38-13-generic-pae /boot/vmlinuz-2.6.38-13-generic-pae
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 2.6.38-13-generic-pae /boot/vmlinuz-2.6.38-13-generic-pae
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.38-13-generic-pae
Found initrd image: /boot/initrd.img-2.6.38-13-generic-pae
Found linux image: /boot/vmlinuz-2.6.38-11-generic-pae
Found initrd image: /boot/initrd.img-2.6.38-11-generic-pae
Found linux image: /boot/vmlinuz-2.6.38-10-generic-pae
Found initrd image: /boot/initrd.img-2.6.38-10-generic-pae
Found linux image: /boot/vmlinuz-2.6.38-8-generic-pae
Found initrd image: /boot/initrd.img-2.6.38-8-generic-pae
Found Windows 7 (loader) on /dev/sda1
Found Windows Recovery Environment (loader) on /dev/sda2
Found Windows Recovery Environment (loader) on /dev/sda3
/etc/grub.d/README: 2: All: not found
/etc/grub.d/README: 4: 00_*:: not found
/etc/grub.d/README: 5: 10_*:: not found
/etc/grub.d/README: 6: Syntax error: "(" unexpected
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 2
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-2.6.38-13-generic-pae.postinst line 1010.
dpkg: error processing linux-image-2.6.38-13-generic-pae (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-generic-pae:
linux-image-generic-pae depends on linux-image-2.6.38-13-generic-pae; however:
Package linux-image-2.6.38-13-generic-pae is not configured yet.
dpkg: error processing linux-image-generic-pae (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic-pae:
linux-generic-pae depends on linux-image-generic-pae (= 2.6.38.13.28); however:
Package linux-image-generic-pae is not configured yet.
dpkg: error processing linux-generic-pae (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-image-2.6.38-11-generic-pae
linux-image-2.6.38-10-generic-pae
linux-image-2.6.38-13-generic-pae
linux-image-generic-pae
linux-generic-pae
Can anyone find out what the fix is for this?
This is for Ubuntu 11.04 and I have a few problems. First of all, I cannot seem to upgrade to 11.10 for some reason any of my updates is not working.
I have realised that there are some old Kernels and tried to remove them by using
sudo dpkg --configure -a
But this seems to create error like below:
Setting up linux-image-2.6.38-11-generic-pae (2.6.38-11.50) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.38-11-generic-pae
Warning: No support for locale: en_NZ.utf8
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 2.6.38-11-generic-pae /boot/vmlinuz-2.6.38-11-generic-pae
run-parts: executing /etc/kernel/postinst.d/pm-utils 2.6.38-11-generic-pae /boot/vmlinuz-2.6.38-11-generic-pae
run-parts: executing /etc/kernel/postinst.d/update-notifier 2.6.38-11-generic-pae /boot/vmlinuz-2.6.38-11-generic-pae
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 2.6.38-11-generic-pae /boot/vmlinuz-2.6.38-11-generic-pae
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.38-13-generic-pae
Found initrd image: /boot/initrd.img-2.6.38-13-generic-pae
Found linux image: /boot/vmlinuz-2.6.38-11-generic-pae
Found initrd image: /boot/initrd.img-2.6.38-11-generic-pae
Found linux image: /boot/vmlinuz-2.6.38-10-generic-pae
Found initrd image: /boot/initrd.img-2.6.38-10-generic-pae
Found linux image: /boot/vmlinuz-2.6.38-8-generic-pae
Found initrd image: /boot/initrd.img-2.6.38-8-generic-pae
Found Windows 7 (loader) on /dev/sda1
Found Windows Recovery Environment (loader) on /dev/sda2
Found Windows Recovery Environment (loader) on /dev/sda3
/etc/grub.d/README: 2: All: not found
/etc/grub.d/README: 4: 00_*:: not found
/etc/grub.d/README: 5: 10_*:: not found
/etc/grub.d/README: 6: Syntax error: "(" unexpected
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 2
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-2.6.38-11-generic-pae.postinst line 1010.
dpkg: error processing linux-image-2.6.38-11-generic-pae (--configure):
subprocess installed post-installation script returned error exit status 2
Setting up linux-image-2.6.38-10-generic-pae (2.6.38-10.46) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.38-10-generic-pae
Warning: No support for locale: en_NZ.utf8
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 2.6.38-10-generic-pae /boot/vmlinuz-2.6.38-10-generic-pae
run-parts: executing /etc/kernel/postinst.d/pm-utils 2.6.38-10-generic-pae /boot/vmlinuz-2.6.38-10-generic-pae
run-parts: executing /etc/kernel/postinst.d/update-notifier 2.6.38-10-generic-pae /boot/vmlinuz-2.6.38-10-generic-pae
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 2.6.38-10-generic-pae /boot/vmlinuz-2.6.38-10-generic-pae
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.38-13-generic-pae
Found initrd image: /boot/initrd.img-2.6.38-13-generic-pae
Found linux image: /boot/vmlinuz-2.6.38-11-generic-pae
Found initrd image: /boot/initrd.img-2.6.38-11-generic-pae
Found linux image: /boot/vmlinuz-2.6.38-10-generic-pae
Found initrd image: /boot/initrd.img-2.6.38-10-generic-pae
Found linux image: /boot/vmlinuz-2.6.38-8-generic-pae
Found initrd image: /boot/initrd.img-2.6.38-8-generic-pae
^CFailed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-2.6.38-10-generic-pae.postinst line 1010.
dpkg: error processing linux-image-2.6.38-10-generic-pae (--configure):
subprocess installed post-installation script returned error exit status 2
Setting up linux-image-2.6.38-13-generic-pae (2.6.38-13.52) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.38-13-generic-pae
Warning: No support for locale: en_NZ.utf8
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 2.6.38-13-generic-pae /boot/vmlinuz-2.6.38-13-generic-pae
run-parts: executing /etc/kernel/postinst.d/pm-utils 2.6.38-13-generic-pae /boot/vmlinuz-2.6.38-13-generic-pae
run-parts: executing /etc/kernel/postinst.d/update-notifier 2.6.38-13-generic-pae /boot/vmlinuz-2.6.38-13-generic-pae
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 2.6.38-13-generic-pae /boot/vmlinuz-2.6.38-13-generic-pae
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.38-13-generic-pae
Found initrd image: /boot/initrd.img-2.6.38-13-generic-pae
Found linux image: /boot/vmlinuz-2.6.38-11-generic-pae
Found initrd image: /boot/initrd.img-2.6.38-11-generic-pae
Found linux image: /boot/vmlinuz-2.6.38-10-generic-pae
Found initrd image: /boot/initrd.img-2.6.38-10-generic-pae
Found linux image: /boot/vmlinuz-2.6.38-8-generic-pae
Found initrd image: /boot/initrd.img-2.6.38-8-generic-pae
Found Windows 7 (loader) on /dev/sda1
Found Windows Recovery Environment (loader) on /dev/sda2
Found Windows Recovery Environment (loader) on /dev/sda3
/etc/grub.d/README: 2: All: not found
/etc/grub.d/README: 4: 00_*:: not found
/etc/grub.d/README: 5: 10_*:: not found
/etc/grub.d/README: 6: Syntax error: "(" unexpected
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 2
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-2.6.38-13-generic-pae.postinst line 1010.
dpkg: error processing linux-image-2.6.38-13-generic-pae (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-generic-pae:
linux-image-generic-pae depends on linux-image-2.6.38-13-generic-pae; however:
Package linux-image-2.6.38-13-generic-pae is not configured yet.
dpkg: error processing linux-image-generic-pae (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic-pae:
linux-generic-pae depends on linux-image-generic-pae (= 2.6.38.13.28); however:
Package linux-image-generic-pae is not configured yet.
dpkg: error processing linux-generic-pae (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-image-2.6.38-11-generic-pae
linux-image-2.6.38-10-generic-pae
linux-image-2.6.38-13-generic-pae
linux-image-generic-pae
linux-generic-pae
Can anyone find out what the fix is for this?