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
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
this is the second time I try to upgrade the linux kernel from 2.6.38-8-generic to 2.6.38-
Configurazione di linux-image-
Running depmod.
update-initramfs: Generating /boot/initrd.
Examining /etc/kernel/
run-parts: executing /etc/kernel/
dkms: WARNING: linux headers are missing, which may explain the above failures.
please install the linux-headers-
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Generating grub.cfg ...
/etc/grub.
run-parts: /etc/kernel/
Failed to process /etc/kernel/
dpkg: errore nell'elaborare linux-image-
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-
ProcVersionSign
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/
/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,
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=
RelatedPackageV
linux-
linux-
linux-firmware 1.52.1
RfKill:
SourcePackage: linux
Title: package linux-image-
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:bvnAwardSof
dmi.product.name: M61SME-S2
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
Changed in linux (Ubuntu): | |
status: | New → Confirmed |
tags: | added: dist-upgrade |
I had the same problem. To be able to install, i had to temporarily disable nvidia-common's kernel postinst triggers. header_ postinst. d/nvidia- common postinst. d/nvidia- common header_ postinst. d/nvidia- common postinst. d/nvidia- common
What i did was:
# sudo chmod a-x /etc/kernel/
# sudo chmod a-x /etc/kernel/
Upgraded kernel headers and image, and reversed the previous changes with:
# sudo chmod a+x /etc/kernel/
# sudo chmod a+x /etc/kernel/
After this i reinstalled "nvidia-current" just to make sure the driver was updated too, because i didn't notice if the module for the new kernel was generated, so i'm not sure if this was really needed... better safe than sorry.
This way i was able to upgrade the kernel, and i've already successfully rebooted without any issues, so it works. :)