package linux-image-4.4.0-2-generic 4.4.0-2.16 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 2

Bug #1541486 reported by Maxim on 2016-02-03
This bug affects 27 people
Affects Status Importance Assigned to Milestone
plymouth (Ubuntu)

Bug Description

lsb_release -rd
Description: Ubuntu Xenial Xerus (development branch)
Release: 16.04

apt-cache policy initramfs-tools
  Installed: 0.120ubuntu7
  Candidate: 0.120ubuntu7
  Version table:
 *** 0.120ubuntu7 500
        500 xenial/main amd64 Packages
        500 xenial/main i386 Packages
        100 /var/lib/dpkg/status

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: linux-image-4.4.0-2-generic 4.4.0-2.16
ProcVersionSignature: Ubuntu 4.4.0-2.16-generic 4.4.0
Uname: Linux 4.4.0-2-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.19.4-0ubuntu2
Architecture: amd64
 /dev/snd/controlC0: max 1516 F.... pulseaudio
Date: Wed Feb 3 21:12:07 2016
ErrorMessage: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 2
HibernationDevice: RESUME=UUID=d02bf7fc-4a65-4680-be82-1321b5e09f2a
InstallationDate: Installed on 2016-02-03 (0 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
MachineType: LENOVO 3259A89
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-2-generic root=UUID=0c2dcec5-f1df-4809-9935-b78e566c881b ro noprompt 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-35ubuntu1
SourcePackage: initramfs-tools
Title: package linux-image-4.4.0-2-generic 4.4.0-2.16 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 2
UpgradeStatus: Upgraded to xenial on 2016-02-03 (0 days ago) 08/02/2013
dmi.bios.vendor: LENOVO
dmi.bios.version: H0ET94WW (2.54 )
dmi.board.asset.tag: Not Available 3259A89
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvrH0ET94WW(2.54):bd08/02/2013:svnLENOVO:pn3259A89:pvrThinkPadEdgeE530:rvnLENOVO:rn3259A89:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable: 3259A89
dmi.product.version: ThinkPad Edge E530
dmi.sys.vendor: LENOVO

Maxim (korshunov-m-e) wrote :
tags: removed: need-duplicate-check
Maxim (korshunov-m-e) wrote :

Error occurred during system load after do-release-upgrade (from 14.04) and reboot

Andy Whitcroft (apw) wrote :

This appears to be a failure in the plymouth hooks:

    sed: can't read /usr/share/plymouth/themes/ubuntu-text/ubuntu-text.plymouth: No such file or directory
    E: /usr/share/initramfs-tools/hooks/plymouth failed with return 2.
    update-initramfs: failed for /boot/initrd.img-4.4.0-2-generic with 2.

Andy Whitcroft (apw) on 2016-02-03
affects: initramfs-tools (Ubuntu) → plymouth (Ubuntu)
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in plymouth (Ubuntu):
status: New → Confirmed
Changed in plymouth (Ubuntu):
importance: Undecided → High
John Belton (jbelton1950) wrote :

Error occurred during system load after do-release-upgrade (from 15.10) and reboot.

atcusugs (atcusugs) on 2016-02-13
Changed in plymouth (Ubuntu):
status: Confirmed → In Progress
mic (micwill) wrote :

issue occured after second or third dist-upgrade after clean install of 16.04. first dist-upgrades after install went well.
had to reinstall system thereafter.

This issue also happens when upgrade from 15.10 to 16.04. From apt-term.log, dpkg tries to configure initramfs-tools before plymouth-theme-ubuntu-text, which actually generate /usr/share/plymouth/themes/ubuntu-text/ubuntu-text.plymouth in configure script.

I think there're 2 ways to fix this problem.
1.Make dpkg configure plymouth-theme-ubuntu-text before initramfs-tools
2.Make plymouth's initramfs hook also looks at old file location.
I think 2nd way is more doable, although I don't have experience with dpkg package ordering.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers