In trying to troubleshoot this on a production server I noticed the issue is 
actually with linux-image-extra-4.4.0-87-generic. In the apt-auto-remove post 
install script, the linux-image-extra-4.4.0-87-generic creates a segfault.
<code>
$ sudo apt-get install linux-image-extra-4.4.0-81-generic --reinstall
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  linux-image-4.4.0-81-generic
Suggested packages:
  fdutils linux-doc-4.4.0 | linux-source-4.4.0 linux-tools 
linux-headers-4.4.0-81-generic
The following packages will be REMOVED:
  linux-image-extra-4.4.0-83-generic linux-image-extra-4.4.0-87-generic
The following NEW packages will be installed:
  linux-image-4.4.0-81-generic
0 upgraded, 1 newly installed, 1 reinstalled, 2 to remove and 0 not upgraded.
4 not fully installed or removed.
Need to get 57.8 MB of archives.
After this operation, 238 MB disk space will be freed.
Do you want to continue? [Y/n] y
Get:1 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 
linux-image-4.4.0-81-generic amd64 4.4.0-81.104 [21.9 MB]
Get:2 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 
linux-image-extra-4.4.0-81-generic amd64 4.4.0-81.104 [35.9 MB]
Fetched 57.8 MB in 2s (21.8 MB/s)                             
(Reading database ... 41132 files and directories currently installed.)
Removing linux-image-extra-4.4.0-83-generic (4.4.0-83.106) ...
depmod: FATAL: could not load /boot/System.map-4.4.0-83-generic: No such file 
or directory
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-83-generic 
/boot/vmlinuz-4.4.0-83-generic
Segmentation fault (core dumped)
run-parts: /etc/kernel/postinst.d/apt-auto-removal exited with return code 139
dpkg: error processing package linux-image-extra-4.4.0-83-generic (--remove):
 subprocess installed post-removal script returned error exit status 1
Removing linux-image-extra-4.4.0-87-generic (4.4.0-87.110) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-87-generic 
/boot/vmlinuz-4.4.0-87-generic
Segmentation fault (core dumped)
run-parts: /etc/kernel/postinst.d/apt-auto-removal exited with return code 139
dpkg: error processing package linux-image-extra-4.4.0-87-generic (--remove):
 subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
 linux-image-extra-4.4.0-83-generic
 linux-image-extra-4.4.0-87-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
</code>

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

Title:
  package linux-image-4.4.0-87-generic (not installed) failed to
  install/upgrade: subprocess new pre-installation script returned error
  exit status 1

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  doing an update

  ProblemType: Package
  DistroRelease: Ubuntu 16.04
  Package: linux-image-4.4.0-87-generic (not installed)
  ProcVersionSignature: Ubuntu 4.4.0-83.106-generic 4.4.70
  Uname: Linux 4.4.0-83-generic i686
  ApportVersion: 2.20.1-0ubuntu2.10
  Architecture: i386
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  supervisor   2935 F.... pulseaudio
  Date: Mon Jul 24 11:39:12 2017
  DuplicateSignature:
   package:linux-image-4.4.0-87-generic:(not installed)
   Preparing to unpack .../linux-image-4.4.0-87-generic_4.4.0-87.110_i386.deb 
...
   This kernel does not support a non-PAE CPU.
   dpkg: error processing archive 
/var/cache/apt/archives/linux-image-4.4.0-87-generic_4.4.0-87.110_i386.deb 
(--unpack):
    subprocess new pre-installation script returned error exit status 1
  ErrorMessage: subprocess new pre-installation script returned error exit 
status 1
  HibernationDevice: RESUME=UUID=0c3683fb-fb12-4ea7-af86-5456a9e6310b
  InstallationDate: Installed on 2010-09-19 (2500 days ago)
  InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
  Lsusb:
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
   Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
   Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
   Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  MachineType: IBM 23736UU
  PccardctlIdent:
   Socket 0:
     no product info available
   Socket 1:
     no product info available
  PccardctlStatus:
   Socket 0:
     no card
   Socket 1:
     no card
  ProcFB: 0 radeondrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-83-generic 
root=UUID=e1bdca13-a829-405e-9dc3-41242986cde6 ro quiet splash 
init=/sbin/upstart
  PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No 
PulseAudio daemon running, or not running as session daemon.
  RelatedPackageVersions: grub-pc 2.02~beta2-36ubuntu3.11
  SourcePackage: linux
  Title: package linux-image-4.4.0-87-generic (not installed) failed to 
install/upgrade: subprocess new pre-installation script returned error exit 
status 1
  UpgradeStatus: No upgrade log present (probably fresh install)
  WifiSyslog:
   
  dmi.bios.date: 06/18/2007
  dmi.bios.vendor: IBM
  dmi.bios.version: 1RETDRWW (3.23 )
  dmi.board.name: 23736UU
  dmi.board.vendor: IBM
  dmi.board.version: Not Available
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: IBM
  dmi.chassis.version: Not Available
  dmi.modalias: 
dmi:bvnIBM:bvr1RETDRWW(3.23):bd06/18/2007:svnIBM:pn23736UU:pvrThinkPadT42:rvnIBM:rn23736UU:rvrNotAvailable:cvnIBM:ct10:cvrNotAvailable:
  dmi.product.name: 23736UU
  dmi.product.version: ThinkPad T42
  dmi.sys.vendor: IBM

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1706128/+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

Reply via email to