← Back to team overview

kernel-packages team mailing list archive

[Bug 1317602] Re: package linux-image-3.13.0-24-generic 3.13.0-24.46 failed to install/upgrade: subprocess new pre-installation script returned error exit status 1

 

Hi,

this is what we're getting on lubuntu 14.04:


The following packages have been kept back:
  linux-generic linux-headers-generic linux-image-generic
..
The following packages will be upgraded:
  linux-headers-3.13.0-24 linux-headers-3.13.0-24-generic
  linux-image-3.13.0-24-generic linux-image-extra-3.13.0-24-generic

...


Unpacking linux-image-3.13.0-24-generic (3.13.0-24.47) over (3.13.0-24.46) ...
Unpacking linux-headers-3.13.0-24 (3.13.0-24.47) over (3.13.0-24.46) ...
Unpacking linux-headers-3.13.0-24-generic (3.13.0-24.47) over (3.13.0-24.46) ...
Unpacking linux-image-extra-3.13.0-24-generic (3.13.0-24.47) over (3.13.0-24.46) ...
..
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.13.0-24-generic /boot/vmlinuz-3.13.0-24-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.13.0-24-generic /boot/vmlinuz-3.13.0-24-generic

...

Setting up linux-image-3.13.0-24-generic (3.13.0-24.47) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Failed to symbolic-link boot/initrd.img-3.13.0-24-generic to initrd.img:File exists at /var/lib/dpkg/info/linux-image-3.13.0-24-generic.postinst line 629.
dpkg: error processing package linux-image-3.13.0-24-generic (--configure):
 subprocess installed post-installation script returned error exit status 17


see http://aiolos.survey.ntua.gr/gisvm/dev/ for nightly iso build r11438 which can be booted into a VM & associated build logs.


'apt-get install -f' fails:

# apt-get update
...
# apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  linux-image-generic
Use 'apt-get autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up linux-image-3.13.0-24-generic (3.13.0-24.47) ...
Running depmod.
update-initramfs is disabled since running on read-only media
Failed to symbolic-link boot/initrd.img-3.13.0-24-generic to initrd.img:File exists at /var/lib/dpkg/info/linux-image-3.13.0-24-generic.postinst line 629.
dpkg: error processing package linux-image-3.13.0-24-generic (--configure):
 subprocess installed post-installation script returned error exit status 17
dpkg: dependency problems prevent configuration of linux-image-extra-3.13.0-24-generic:
 linux-image-extra-3.13.0-24-generic depends on linux-image-3.13.0-24-generic; however:
  Package linux-image-3.13.0-24-generic is not configured yet.

dpkg: error processing package linux-image-extra-3.13.0-24-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-generic:
 linux-image-generic depends on linux-image-3.13.0-24-generic; however:
  Package linux-image-3.13.0-24-generic is not configured yet.
 linux-image-generic depends on linux-image-extra-3.13.0-24-generic; however:
  Package linux-image-extra-3.13.0-24-generic is not configured yet.

dpkg: error processing package linux-image-generic (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
          No apport report written because the error message indicates its a followup error from a previous failure.
                    E: Sub-process /usr/bin/dpkg returned an error code (1)


$ ls -l / | grep initrd
lrwxrwxrwx   1 root root       33 May  8 21:24 initrd.img -> boot/initrd.img-3.13.0-24-generic
-rw-r--r--   1 root root 19981610 May  8 22:58 initrd.lz

$ ls -l /boot/initrd.img-3.13.0-24-generic
ls: cannot access /boot/initrd.img-3.13.0-24-generic: No such file or directory

$ ls -l /boot
total 10110
-rw-r--r-- 1 root root 1162233 May  3 00:40 abi-3.13.0-24-generic
-rw-r--r-- 1 root root  169631 May  3 00:40 config-3.13.0-24-generic
drwxr-xr-x 1 root root      60 May 11 23:30 grub
-rw-r--r-- 1 root root  176500 Mar 12 12:31 memtest86+.bin
-rw-r--r-- 1 root root  178176 Mar 12 12:31 memtest86+.elf
-rw-r--r-- 1 root root  178680 Mar 12 12:31 memtest86+_multiboot.bin
-rw------- 1 root root 2685850 May  3 00:40 System.map-3.13.0-24-generic
-rw------- 1 root root 5800496 May  3 00:40 vmlinuz-3.13.0-24-generic


$ dpkg -l | grep linux-
ii  linux-firmware                       1.127                                 all          Firmware for Linux kernel drivers
iF  linux-image-3.13.0-24-generic        3.13.0-24.47                          i386         Linux kernel image for version 3.13.0 on 32 bit x86 SMP
iU  linux-image-extra-3.13.0-24-generic  3.13.0-24.47                          i386         Linux kernel extra modules for version 3.13.0 on 32 bit x86 SMP
iU  linux-image-generic                  3.13.0.24.29                          i386         Generic Linux kernel image
ii  linux-libc-dev:i386                  3.13.0-24.47                          i386         Linux Kernel Headers for development
ii  linux-sound-base                     1.0.25+dfsg-0ubuntu4                  all          base package for ALSA and OSS sound systems
ii  linux-wlan-ng                        0.2.9+dfsg-5                          i386         utilities for wireless prism2 cards
ii  linux-wlan-ng-doc                    0.2.9+dfsg-5                          all          documentation for wlan-ng
ii  syslinux-common                      3:4.05+dfsg-6+deb8u1                  all          collection of boot loaders (common files)
ii  syslinux-legacy                      2:3.63+dfsg-2ubuntu5                  i386         Bootloader for Linux/i386 using MS-DOS floppies


Note that we have put the image on hold, as isolinux has issues later on in our live-usb/dvd build if we deviate:
 echo "linux-image-generic hold" | dpkg --set-selections

but 'dpkg --get-selections' currently shows it as "install", so not sure
if that is relevant.


thanks,
Hamish

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

Title:
  package linux-image-3.13.0-24-generic 3.13.0-24.46 failed to
  install/upgrade: subprocess new pre-installation script returned error
  exit status 1

Status in “linux” package in Ubuntu:
  Incomplete

Bug description:
  while installing an update

  ProblemType: Package
  DistroRelease: Ubuntu 14.04
  Package: linux-image-3.13.0-24-generic 3.13.0-24.46
  ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
  Uname: Linux 3.13.0-24-generic i686
  ApportVersion: 2.14.1-0ubuntu3
  Architecture: i386
  CRDA: Error: [Errno 2] Datei oder Verzeichnis nicht gefunden: 'iw'
  Date: Thu May  8 19:11:23 2014
  DuplicateSignature: package:linux-image-3.13.0-24-generic:3.13.0-24.46:subprocess new pre-installation script returned error exit status 1
  ErrorMessage: subprocess new pre-installation script returned error exit status 1
  HibernationDevice: RESUME=UUID=56bc50ae-9d55-42ad-9ff5-6ece8d748bb3
  InstallationDate: Installed on 2014-05-03 (5 days ago)
  InstallationMedia: It
  Lsusb:
   Bus 001 Device 002: ID 0cde:0006 Z-Com XG-300 802.11b Adapter
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
   Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
   Bus 002 Device 002: ID 046d:c018 Logitech, Inc. Optical Wheel Mouse
   Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  MachineType: FUJITSU SIEMENS AMILO L Series
  ProcFB: 0 VESA VGA
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.13.0-24-generic root=/dev/mapper/it--vg-root ro quiet splash vt.handoff=7
  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-9
  RfKill:
   0: phy0: Wireless LAN
   	Soft blocked: no
   	Hard blocked: no
  SourcePackage: linux
  Title: package linux-image-3.13.0-24-generic 3.13.0-24.46 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: 11/25/2005
  dmi.bios.vendor: FUJITSU SIEMENS
  dmi.bios.version: 1.0G-0031-0812
  dmi.board.name: AMILO L7300
  dmi.board.vendor: FUJITSU SIEMENS
  dmi.board.version: None
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: FUJITSU SIEMENS
  dmi.chassis.version: N/A
  dmi.modalias: dmi:bvnFUJITSUSIEMENS:bvr1.0G-0031-0812:bd11/25/2005:svnFUJITSUSIEMENS:pnAMILOLSeries:pvr:rvnFUJITSUSIEMENS:rnAMILOL7300:rvrNone:cvnFUJITSUSIEMENS:ct10:cvrN/A:
  dmi.product.name: AMILO L Series
  dmi.sys.vendor: FUJITSU SIEMENS

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


References