package linux-headers-3.19.0-21-generic 3.19.0-21.21 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2

Bug #1471492 reported by California Robert
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Won't Fix
High
Unassigned

Bug Description

Edit: Almost for certain not a bug, see comment below.

stuck in a loop where the image, headers, signed image extras, etc can't be forced installed or forced removed because the others aren't configured. Can boot OK from the previous version, 3.19.0-20-generic

ProblemType: Package
DistroRelease: Ubuntu 15.04
Package: linux-headers-3.19.0-21-generic 3.19.0-21.21
ProcVersionSignature: Ubuntu 3.19.0-20.20-generic 3.19.8
Uname: Linux 3.19.0-20-generic x86_64
ApportVersion: 2.17.2-0ubuntu1.1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: roberte 7213 F.... pulseaudio
Date: Sat Jul 4 17:31:06 2015
DuplicateSignature: package:linux-headers-3.19.0-21-generic:3.19.0-21.21:subprocess installed post-installation script returned error exit status 2
ErrorMessage: subprocess installed post-installation script returned error exit status 2
HibernationDevice: RESUME=UUID=bc609a57-1474-44f4-b1f0-a23e712e228f
InstallationDate: Installed on 2013-05-29 (766 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
MachineType: Acer Aspire E1-571
ProcFB: 0 EFI VGA
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.19.0-20-generic.efi.signed root=UUID=1c1921c7-bfd9-4897-99c9-089c2de3903c ro recovery nomodeset
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions: grub-pc N/A
SourcePackage: linux
Title: package linux-headers-3.19.0-21-generic 3.19.0-21.21 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 01/17/2013
dmi.bios.vendor: Insyde Corp.
dmi.bios.version: V2.13
dmi.board.asset.tag: Type2 - Board Asset Tag
dmi.board.name: EA50_HC_CR
dmi.board.vendor: Acer
dmi.board.version: Type2 - Board Version
dmi.chassis.type: 10
dmi.chassis.vendor: Insyde Corp.
dmi.chassis.version: V2.13
dmi.modalias: dmi:bvnInsydeCorp.:bvrV2.13:bd01/17/2013:svnAcer:pnAspireE1-571:pvrV2.13:rvnAcer:rnEA50_HC_CR:rvrType2-BoardVersion:cvnInsydeCorp.:ct10:cvrV2.13:
dmi.product.name: Aspire E1-571
dmi.product.version: V2.13
dmi.sys.vendor: Acer

Revision history for this message
California Robert (brewmaster1987) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Brad Figg (brad-figg) wrote : BOT: Examined VarLogDistupgradeApttermlog.gz

   dpkg: dependency problems prevent configuration of linux-image-extra-3.19.0-21-generic:
    linux-image-extra-3.19.0-21-generic depends on linux-image-3.19.0-21-generic; however:
     Package linux-image-3.19.0-21-generic is not configured yet.

   dpkg: dependency problems prevent configuration of linux-image-generic:
    linux-image-generic depends on linux-image-3.19.0-21-generic; however:
     Package linux-image-3.19.0-21-generic is not configured yet.

tags: added: varlogdistupgradeapttermlog-examined
Revision history for this message
California Robert (brewmaster1987) wrote :

Short version: fixed locally, not a bug; /lib/lsb/init-functions.d/20-left-info-blocks got overwritten (Probably when creating an image of the hard drive) with some log info causing kernel upgrades to fail.

Long version:
This should probably be discarded; somehow, when I made a duplicate of the drive to upgrade to a larger hard drive, the '20-left-info-blocks' file in /lib/lsb/init-functions.d got overwritten somehow with part of a log file.
instead of what was supposed to be in there, there was:
[+0.01s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.01s] DEBUG: Starting Light Display Manager 1.14.0, UID=0 PID=987
[+0.01s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.01s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-greeter-wrapper.conf
[+0.01s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-guest-wrapper.conf
[+0.01s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf
[+0.01s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-unity-greeter.conf
[+0.01s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-xserver-command.conf
[+0.01s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/60-gnome.conf
[+0.01s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.01s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.01s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.01s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.01s] DEBUG: Registered seat module xlocal
..and so forth, which obviously won't work, and caused the upgrade on the kernal to bomb, though it was od that the kernal appeared to be the only thing affected.
Once the file was replaced, and reinstalling linux-headers-generic, all appears to be well again. Hopefully I don't find more files overwritten in this manner.

description: updated
Changed in linux (Ubuntu):
importance: Undecided → High
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

3.19 EOL, please feel free to open a new bug is you're still seeing this issue.

Changed in linux (Ubuntu):
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.