It looks like this has been fixed. I will close it. If the problem still occurs, please reopen it.
** Changed in: linux (Ubuntu) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/798980 Title: package linux-image-2.6.38-10-generic 2.6.38-10.44 failed to install/upgrade: ErrorMessage: il sottoprocesso vecchio script di post-installation ha restituito lo stato di errore 2 Status in linux package in Ubuntu: Fix Released Bug description: this is the second time I try to upgrade the linux kernel from 2.6.38-8-generic to 2.6.38-10-generic... my distro is Ubuntu 11.04 here I'll past all the results of the upgrade... Configurazione di linux-image-2.6.38-10-generic (2.6.38-10.44)... Running depmod. update-initramfs: Generating /boot/initrd.img-2.6.38-10-generic Examining /etc/kernel/postinst.d. run-parts: executing /etc/kernel/postinst.d/dkms 2.6.38-10-generic /boot/vmlinuz-2.6.38-10-generic dkms: WARNING: linux headers are missing, which may explain the above failures. please install the linux-headers-2.6.38-10-generic package to fix this. run-parts: executing /etc/kernel/postinst.d/initramfs-tools 2.6.38-10-generic /boot/vmlinuz-2.6.38-10-generic run-parts: executing /etc/kernel/postinst.d/nvidia-common 2.6.38-10-generic /boot/vmlinuz-2.6.38-10-generic run-parts: executing /etc/kernel/postinst.d/pm-utils 2.6.38-10-generic /boot/vmlinuz-2.6.38-10-generic run-parts: executing /etc/kernel/postinst.d/update-notifier 2.6.38-10-generic /boot/vmlinuz-2.6.38-10-generic run-parts: executing /etc/kernel/postinst.d/zz-update-grub 2.6.38-10-generic /boot/vmlinuz-2.6.38-10-generic Generating grub.cfg ... /etc/grub.d/00_header: 39: Syntax error: "(" unexpected (expecting "fi") 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-10-generic.postinst line 1010. dpkg: errore nell'elaborare linux-image-2.6.38-10-generic (--configure): il sottoprocesso vecchio script di post-installation ha restituito lo stato di errore 2 E: Sub-process /usr/bin/dpkg returned an error code (1) P.S. I'm Italian and this is my first bug segnalation ProblemType: Package DistroRelease: Ubuntu 11.04 Package: linux-image-2.6.38-10-generic 2.6.38-10.44 ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2 Uname: Linux 2.6.38-8-generic i686 AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23. Architecture: i386 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC0: shark 1689 F.... pulseaudio /dev/snd/pcmC0D0p: shark 1689 F...m pulseaudio CRDA: Error: [Errno 2] File o directory non esistente Card0.Amixer.info: Card hw:0 'NVidia'/'HDA NVidia at 0xfb100000 irq 22' Mixer name : 'Realtek ALC883' Components : 'HDA:10ec0883,1458c601,00100002' Controls : 40 Simple ctrls : 22 Date: Fri Jun 17 21:27:26 2011 ErrorMessage: ErrorMessage: il sottoprocesso vecchio script di post-installation ha restituito lo stato di errore 2 InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1) IwConfig: lo no wireless extensions. eth0 no wireless extensions. MachineType: Gigabyte Technology Co., Ltd. M61SME-S2 ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-generic root=UUID=f0b94a20-ca42-40ad-87f6-a9abc0aee5f5 ro vga=795 quiet splash vt.handoff=7 RelatedPackageVersions: linux-restricted-modules-2.6.38-8-generic N/A linux-backports-modules-2.6.38-8-generic N/A linux-firmware 1.52.1 RfKill: SourcePackage: linux Title: package linux-image-2.6.38-10-generic 2.6.38-10.44 failed to install/upgrade: ErrorMessage: il sottoprocesso vecchio script di post-installation ha restituito lo stato di errore 2 UpgradeStatus: Upgraded to natty on 2011-06-17 (0 days ago) dmi.bios.date: 07/15/2008 dmi.bios.vendor: Award Software International, Inc. dmi.bios.version: F9 dmi.board.name: M61SME-S2 dmi.board.vendor: Gigabyte Technology Co., Ltd. dmi.chassis.type: 3 dmi.chassis.vendor: Gigabyte Technology Co., Ltd. dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrF9:bd07/15/2008:svnGigabyteTechnologyCo.,Ltd.:pnM61SME-S2:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnM61SME-S2:rvr:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr: dmi.product.name: M61SME-S2 dmi.sys.vendor: Gigabyte Technology Co., Ltd. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/798980/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp