package linux-image-4.2.0-22-generic 4.2.0-22.27 failed to install/upgrade: le sous-processus script post-installation installé a retourné une erreur de sortie d'état 2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
High
|
Unassigned |
Bug Description
On each linux kernel upgrade I encoutered this error when the linux-image package is upgrading. It's not specific to the 4.2.0-22,
It starts to happen after I add some HDD issues, but maybe it's not relevant.
The status after the upgrade is that the /boot/initrd.img file is not generated.
I always fix the install manually by:
-> check the missing in /boot the version of the missing init.rd file
ll /boot
-> mising file for ex: initrd.
sudo update-initramfs -u -k 4.2.0-22-generic
-> ends the failed install
sudo apt-get install -f
Because of that, I, now, upgrade kernels in several pass, to ends with the linux-image package, and execute the manual commands to recover this error.
ProblemType: Package
DistroRelease: Ubuntu 15.10
Package: linux-image-
ProcVersionSign
Uname: Linux 4.2.0-22-generic x86_64
ApportVersion: 2.19.1-0ubuntu5
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/
Date: Sat Dec 19 09:23:55 2015
DuplicateSignature: package:
ErrorMessage: le sous-processus script post-installation installé a retourné une erreur de sortie d'état 2
HibernationDevice: RESUME=
InstallationDate: Installed on 2014-05-04 (594 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
MachineType: Notebook W350SKQ/W370SK
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageV
SourcePackage: linux
Title: package linux-image-
UpgradeStatus: Upgraded to wily on 2015-10-25 (55 days ago)
dmi.bios.date: 09/06/2013
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 4.6.5
dmi.board.
dmi.board.name: W350SKQ/W370SK
dmi.board.vendor: Notebook
dmi.board.version: Not Applicable
dmi.chassis.
dmi.chassis.type: 9
dmi.chassis.vendor: Notebook
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: W350SKQ/W370SK
dmi.product.
dmi.sys.vendor: Notebook
tags: | removed: need-duplicate-check |
Changed in linux (Ubuntu): | |
importance: | Undecided → High |
The error log is displayed in DpkgTerminalLog .txt:
Préparation du dépaquetage de .../linux- image-4. 2.0-22- generic_ 4.2.0-22. 27_amd64. deb ... preinst. d/ preinst. d/intel- microcode 4.2.0-22-generic /boot/vmlinuz- 4.2.0-22- generic 4.2.0-22- generic (4.2.0-22.27) ... extra-4. 2.0-22- generic précédemment désélectionné. image-extra- 4.2.0-22- generic_ 4.2.0-22. 27_amd64. deb ... extra-4. 2.0-22- generic (4.2.0-22.27) ... image-generic_ 4.2.0.22. 24_amd64. deb ... 4.2.0-22- generic (4.2.0-22.27) ... initrd. img-4.2. 0-22-generic» : Aucun fichier ou dossier de ce type img-4.2. 0-22-generic to /initrd.img at /var/lib/ dpkg/info/ linux-image- 4.2.0-22- generic. postinst line 745. 4.2.0-22- generic (--configure) :
Examining /etc/kernel/
run-parts: executing /etc/kernel/
Done.
Dépaquetage de linux-image-
Sélection du paquet linux-image-
Préparation du dépaquetage de .../linux-
Dépaquetage de linux-image-
Préparation du dépaquetage de .../linux-
Dépaquetage de linux-image-generic (4.2.0.22.24) sur (4.2.0.21.23) ...
Paramétrage de linux-image-
Running depmod.
update-initramfs: deferring update (hook will be called later)
cp: impossible d'évaluer «/boot/
Failed to copy /boot/initrd.
dpkg: erreur de traitement du paquet linux-image-
le sous-processus script post-installation installé a retourné une erreur de sortie d'état 2