← Back to team overview

kernel-packages team mailing list archive

[Bug 1472232] Re: package linux-image-3.19.0-22-generic 3.19.0-22.22 failed to install/upgrade: subprocess new pre-installation script returned error exit status 128

 

Reinstalling the package fixed the issue for me.

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

Title:
  package linux-image-3.19.0-22-generic 3.19.0-22.22 failed to
  install/upgrade: subprocess new pre-installation script returned error
  exit status 128

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  The update manager GUI said that a problem happened, with no details.
  Running `apt-get install -f` seemed to help, but when I ran `apt-get
  autoremove` afterwards, there was some strange output at the end:

  ~  100  sudo apt-get -f install
  Les pakkelister ... Ferdig
  Byggjer kravtre           
  Leser tilstandsinformasjon ... Ferdig
  Rettar på krav ... Ferdig
  Dei følgjande tilleggspakkane vil verta installerte:
    linux-image-3.19.0-22-generic
  Føreslåtte pakkar:
    fdutils linux-doc-3.19.0 linux-source-3.19.0 linux-tools
  Dei følgjande NYE pakkane vil verta installerte:
    linux-image-3.19.0-22-generic
  0 oppgraderte, 1 nyleg installerte, 0 skal fjernast og 0 skal ikkje oppgraderast.
  6 ikkje fullstendig installerte eller fjerna.
  Må henta 0 B/16,8 MB med arkiv.
  Etter denne operasjonen vil 47,8 MB ekstra diskplass bli brukt.
  Vil du halda fram? [J/n] 
  (Les database ... 247883 filer og kataloger er for øyeblikket installerte.)
  Preparing to unpack .../linux-image-3.19.0-22-generic_3.19.0-22.22_amd64.deb ...
  Done.
  Unpacking linux-image-3.19.0-22-generic (3.19.0-22.22) ...
  Set opp linux-image-3.19.0-22-generic (3.19.0-22.22) ...
  Running depmod.
  update-initramfs: deferring update (hook will be called later)
  Examining /etc/kernel/postinst.d.
  run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.19.0-22-generic /boot/vmlinuz-3.19.0-22-generic
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.19.0-22-generic /boot/vmlinuz-3.19.0-22-generic
  update-initramfs: Generating /boot/initrd.img-3.19.0-22-generic
  run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 3.19.0-22-generic /boot/vmlinuz-3.19.0-22-generic
  run-parts: executing /etc/kernel/postinst.d/update-notifier 3.19.0-22-generic /boot/vmlinuz-3.19.0-22-generic
  run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.19.0-22-generic /boot/vmlinuz-3.19.0-22-generic
  Generating grub configuration file ...
  Found linux image: /boot/vmlinuz-3.19.0-22-generic
  Found initrd image: /boot/initrd.img-3.19.0-22-generic
  Found linux image: /boot/vmlinuz-3.19.0-21-generic
  Found initrd image: /boot/initrd.img-3.19.0-21-generic
  Found linux image: /boot/vmlinuz-3.19.0-15-generic
  Found initrd image: /boot/initrd.img-3.19.0-15-generic
  Found Windows Boot Manager on /dev/sda2@/EFI/Microsoft/Boot/bootmgfw.efi
  Adding boot menu entry for EFI firmware configuration
  done
  Set opp linux-image-extra-3.19.0-22-generic (3.19.0-22.22) ...
  run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.19.0-22-generic /boot/vmlinuz-3.19.0-22-generic
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.19.0-22-generic /boot/vmlinuz-3.19.0-22-generic
  update-initramfs: Generating /boot/initrd.img-3.19.0-22-generic
  run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 3.19.0-22-generic /boot/vmlinuz-3.19.0-22-generic
  run-parts: executing /etc/kernel/postinst.d/update-notifier 3.19.0-22-generic /boot/vmlinuz-3.19.0-22-generic
  run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.19.0-22-generic /boot/vmlinuz-3.19.0-22-generic
  Generating grub configuration file ...
  Found linux image: /boot/vmlinuz-3.19.0-22-generic
  Found initrd image: /boot/initrd.img-3.19.0-22-generic
  Found linux image: /boot/vmlinuz-3.19.0-21-generic
  Found initrd image: /boot/initrd.img-3.19.0-21-generic
  Found linux image: /boot/vmlinuz-3.19.0-15-generic
  Found initrd image: /boot/initrd.img-3.19.0-15-generic
  Found Windows Boot Manager on /dev/sda2@/EFI/Microsoft/Boot/bootmgfw.efi
  Adding boot menu entry for EFI firmware configuration
  done
  Set opp linux-image-generic (3.19.0.22.21) ...
  Set opp linux-generic (3.19.0.22.21) ...
  Set opp linux-signed-image-3.19.0-22-generic (3.19.0-22.22) ...
  Generating grub configuration file ...
  Found linux image: /boot/vmlinuz-3.19.0-22-generic
  Found initrd image: /boot/initrd.img-3.19.0-22-generic
  Found linux image: /boot/vmlinuz-3.19.0-21-generic
  Found initrd image: /boot/initrd.img-3.19.0-21-generic
  Found linux image: /boot/vmlinuz-3.19.0-15-generic
  Found initrd image: /boot/initrd.img-3.19.0-15-generic
  Found Windows Boot Manager on /dev/sda2@/EFI/Microsoft/Boot/bootmgfw.efi
  Adding boot menu entry for EFI firmware configuration
  done
  Set opp linux-signed-image-generic (3.19.0.22.21) ...
  Set opp linux-signed-generic (3.19.0.22.21) ...
   ~  sudo apt-get upgrade
  Les pakkelister ... Ferdig
  Byggjer kravtre           
  Leser tilstandsinformasjon ... Ferdig
  Reknar ut oppgradering ... Følgende pakker ble automatisk installert og er ikke lenger påkrevet:
    linux-headers-3.19.0-15 linux-headers-3.19.0-15-generic linux-image-3.19.0-15-generic linux-image-extra-3.19.0-15-generic
  Use 'apt-get autoremove' to remove them.
  Ferdig
  0 oppgraderte, 0 nyleg installerte, 0 skal fjernast og 0 skal ikkje oppgraderast.
   ~  sudo apt-get autoremove 
  Les pakkelister ... Ferdig
  Byggjer kravtre           
  Leser tilstandsinformasjon ... Ferdig
  Dei følgjande pakkane vil verta FJERNA:
    linux-headers-3.19.0-15 linux-headers-3.19.0-15-generic linux-image-3.19.0-15-generic linux-image-extra-3.19.0-15-generic
  0 oppgraderte, 0 nyleg installerte, 4 skal fjernast og 0 skal ikkje oppgraderast.
  Etter denne operasjonen vil 289 MB diskplass bli ledig.
  Vil du halda fram? [J/n] 
  (Les database ... 248712 filer og kataloger er for øyeblikket installerte.)
  Removing linux-headers-3.19.0-15-generic (3.19.0-15.15) ...
  Removing linux-headers-3.19.0-15 (3.19.0-15.15) ...
  Removing linux-image-extra-3.19.0-15-generic (3.19.0-15.15) ...
  run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.19.0-15-generic /boot/vmlinuz-3.19.0-15-generic
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.19.0-15-generic /boot/vmlinuz-3.19.0-15-generic
  update-initramfs: Generating /boot/initrd.img-3.19.0-15-generic
  run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 3.19.0-15-generic /boot/vmlinuz-3.19.0-15-generic
  run-parts: executing /etc/kernel/postinst.d/update-notifier 3.19.0-15-generic /boot/vmlinuz-3.19.0-15-generic
  run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.19.0-15-generic /boot/vmlinuz-3.19.0-15-generic
  Generating grub configuration file ...
  Found linux image: /boot/vmlinuz-3.19.0-22-generic
  Found initrd image: /boot/initrd.img-3.19.0-22-generic
  Found linux image: /boot/vmlinuz-3.19.0-21-generic
  Found initrd image: /boot/initrd.img-3.19.0-21-generic
  Found linux image: /boot/vmlinuz-3.19.0-15-generic
  Found initrd image: /boot/initrd.img-3.19.0-15-generic
  Found Windows Boot Manager on /dev/sda2@/EFI/Microsoft/Boot/bootmgfw.efi
  Adding boot menu entry for EFI firmware configuration
  done
  Removing linux-image-3.19.0-15-generic (3.19.0-15.15) ...
  Examining /etc/kernel/postrm.d .
  run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.19.0-15-generic /boot/vmlinuz-3.19.0-15-generic
  update-initramfs: Deleting /boot/initrd.img-3.19.0-15-generic
  run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.19.0-15-generic /boot/vmlinuz-3.19.0-15-generic
  Generating grub configuration file ...
  Found linux image: /boot/vmlinuz-3.19.0-22-generic
  Found initrd image: /boot/initrd.img-3.19.0-22-generic
  Found linux image: /boot/vmlinuz-3.19.0-21-generic
  Found initrd image: /boot/initrd.img-3.19.0-21-generic
  Found Windows Boot Manager on /dev/sda2@/EFI/Microsoft/Boot/bootmgfw.efi
  Adding boot menu entry for EFI firmware configuration
  done
  The link /vmlinuz.old is a damaged link
  Removing symbolic link vmlinuz.old 
   you may need to re-run your boot loader[grub]
  The link /initrd.img.old is a damaged link
  Removing symbolic link initrd.img.old 
   you may need to re-run your boot loader[grub]

  ProblemType: Package
  DistroRelease: Ubuntu 15.04
  Package: linux-image-3.19.0-22-generic 3.19.0-22.22
  ProcVersionSignature: Ubuntu 3.19.0-21.21-generic 3.19.8
  Uname: Linux 3.19.0-21-generic x86_64
  ApportVersion: 2.17.2-0ubuntu1.1
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  lastorset   1181 F.... pulseaudio
   /dev/snd/controlC0:  lastorset   1181 F.... pulseaudio
  Date: Tue Jul  7 13:27:46 2015
  DuplicateSignature: package:linux-image-3.19.0-22-generic:3.19.0-22.22:subprocess new pre-installation script returned error exit status 128
  ErrorMessage: subprocess new pre-installation script returned error exit status 128
  HibernationDevice: RESUME=UUID=59bed730-36d3-41c4-9918-afad021aab94
  InstallationDate: Installed on 2015-06-17 (19 days ago)
  InstallationMedia: Ubuntu-GNOME 15.04 "Vivid Vervet" - Release amd64 (20150422)
  MachineType: LENOVO 20BSCTO1WW
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.19.0-21-generic.efi.signed root=UUID=30ba10af-a43b-44a1-8493-1cc47fdc106f 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 N/A
  SourcePackage: linux
  Title: package linux-image-3.19.0-22-generic 3.19.0-22.22 failed to install/upgrade: subprocess new pre-installation script returned error exit status 128
  UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 05/08/2015
  dmi.bios.vendor: LENOVO
  dmi.bios.version: N14ET29W (1.07 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 20BSCTO1WW
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0E50512 STD
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: None
  dmi.modalias: dmi:bvnLENOVO:bvrN14ET29W(1.07):bd05/08/2015:svnLENOVO:pn20BSCTO1WW:pvrThinkPadX1Carbon3rd:rvnLENOVO:rn20BSCTO1WW:rvrSDK0E50512STD:cvnLENOVO:ct10:cvrNone:
  dmi.product.name: 20BSCTO1WW
  dmi.product.version: ThinkPad X1 Carbon 3rd
  dmi.sys.vendor: LENOVO

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


References