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

Bug #1603286 reported by David
36
This bug affects 7 people
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
Invalid
High
Unassigned

Bug Description

Install attempted by Ubuntu Mate included Update Manager along with Grub2 update. The Grub2 update failed and according to the pop-up announcement by the Update Manager it also caused the linux-image-extra-4.4.0-31-generic installation failure.

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: linux-image-extra-4.4.0-31-generic 4.4.0-31.50
ProcVersionSignature: Ubuntu 4.4.0-28.47-generic 4.4.13
Uname: Linux 4.4.0-28-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
AptOrdering:
 linux-generic: Remove
 linux-image-generic: Remove
 linux-image-extra-4.4.0-31-generic: Remove
 grub-pc: Configure
 NULL: ConfigurePending
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: david 2162 F.... pulseaudio
 /dev/snd/controlC0: david 2162 F.... pulseaudio
Date: Thu Jul 14 21:02:48 2016
ErrorMessage: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
HibernationDevice: RESUME=UUID=cf771e35-9679-4425-89bc-cdc68ab786e6
InstallationDate: Installed on 2016-05-23 (53 days ago)
InstallationMedia: It
MachineType: GizmoSphere Gizmo2
ProcFB: 0 radeondrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.4.0-28-generic root=UUID=19bf53ad-e512-4435-bbde-ae92ffe72f2a ro elevator=noop quiet splash
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.1
RfKill:

SourcePackage: initramfs-tools
Title: package linux-image-extra-4.4.0-31-generic 4.4.0-31.50 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/10/2014
dmi.bios.vendor: coreboot
dmi.bios.version: SageBios_Gizmo2-121
dmi.chassis.type: 3
dmi.chassis.vendor: GizmoSphere
dmi.modalias: dmi:bvncoreboot:bvrSageBios_Gizmo2-121:bd04/10/2014:svnGizmoSphere:pnGizmo2:pvr1.0:cvnGizmoSphere:ct3:cvr:
dmi.product.name: Gizmo2
dmi.product.version: 1.0
dmi.sys.vendor: GizmoSphere

Revision history for this message
David (monkeyman-stones) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in initramfs-tools (Ubuntu):
status: New → Confirmed
Changed in initramfs-tools (Ubuntu):
importance: Undecided → High
Revision history for this message
Benjamin Drung (bdrung) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. The relevant dpkg terminal log says:

touch: cannot touch '/boot/initrd.img-4.4.0-31-generic.new': Read-only file system

So your /boot partition mounted from /dev/sda1 was read-only. CurrentDmesg.txt shows:

[ 81.268414] sd 1:0:0:0: [sda] 124735488 512-byte logical blocks: (63.9 GB/59.5 GiB)
[ 81.287023] sda: sda1 sda2 sda3
[ 82.689255] EXT4-fs (sda2): mounting ext2 file system using the ext4 subsystem
[ 82.708006] EXT4-fs (sda2): warning: mounting unchecked fs, running e2fsck is recommended
[ 82.727344] EXT4-fs (sda2): mounted filesystem without journal. Opts: (null)
[ 82.734136] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.

So running fsck and mounting /boot read-write should solve the issue. Feel free to continue to report any other bugs you may find.

Changed in initramfs-tools (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.