← Back to team overview

kernel-packages team mailing list archive

[Bug 1471492] Re: 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

 

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 changed:

+ 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
+  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

-- 
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/1471492

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

Status in linux package in Ubuntu:
  Confirmed

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1471492/+subscriptions


References