package linux-image-4.15.0-36-generic 4.15.0-36.39 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1

Bug #1795678 reported by df1234
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
Triaged
Undecided
Unassigned

Bug Description

Since upgrading from Lubuntu 16.04 LTS to Lubuntu 18.04 LTS
When Using Software Updater (either automatic notification or triggering through the GUI menus)
I am getting "The installation or removal of a software package failed." error almost every day (more often than not)
This is the first time I have been prompted to submit a bug report

ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: linux-image-4.15.0-36-generic 4.15.0-36.39
ProcVersionSignature: Ubuntu 4.15.0-34.37-generic 4.15.18
Uname: Linux 4.15.0-34-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version k4.15.0-34-generic.
ApportVersion: 2.20.9-0ubuntu7.4
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: PCH [HDA Intel PCH], device 0: ALC295 Analog [ALC295 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: david 1742 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'PCH'/'HDA Intel PCH at 0xb1328000 irq 134'
   Mixer name : 'Realtek ALC295'
   Components : 'HDA:10ec0295,103c83f8,00100002 HDA:8086280b,80860101,00100000'
   Controls : 55
   Simple ctrls : 15
Date: Tue Oct 2 15:37:20 2018
ErrorMessage: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
HibernationDevice: RESUME=UUID=8690dd17-8c64-490e-9c50-d6099db9e1e4
InstallationDate: Installed on 2017-11-08 (327 days ago)
InstallationMedia: Lubuntu 16.04.3 LTS "Xenial Xerus" - Release amd64 (20170801)
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 004: ID 8087:0aa7 Intel Corp.
 Bus 001 Device 003: ID 0408:51e9 Quanta Computer, Inc.
 Bus 001 Device 002: ID 045e:0023 Microsoft Corp. Trackball Optical
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: HP HP Pavilion Laptop 15-cc1xx
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-34-generic root=UUID=c1b34c8f-6ab6-460d-9da0-56b763da6438 ro quiet splash vt.handoff=1
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
Python3Details: /usr/bin/python3.6, Python 3.6.6, python3-minimal, 3.6.5-3ubuntu1
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
RelatedPackageVersions: grub-pc N/A
SourcePackage: initramfs-tools
Title: package linux-image-4.15.0-36-generic 4.15.0-36.39 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
UpgradeStatus: Upgraded to bionic on 2018-08-12 (50 days ago)
dmi.bios.date: 06/30/2017
dmi.bios.vendor: Insyde
dmi.bios.version: F.20
dmi.board.asset.tag: Type2 - Board Asset Tag
dmi.board.name: 83F8
dmi.board.vendor: HP
dmi.board.version: 46.38
dmi.chassis.type: 10
dmi.chassis.vendor: HP
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnInsyde:bvrF.20:bd06/30/2017:svnHP:pnHPPavilionLaptop15-cc1xx:pvrType1ProductConfigId:rvnHP:rn83F8:rvr46.38:cvnHP:ct10:cvrChassisVersion:
dmi.product.family: 103C_5335KV HP Pavilion
dmi.product.name: HP Pavilion Laptop 15-cc1xx
dmi.product.version: Type1ProductConfigId
dmi.sys.vendor: HP

Revision history for this message
df1234 (df1234) 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
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Processing triggers for initramfs-tools (0.130ubuntu3.3) ...
update-initramfs: Generating /boot/initrd.img-4.15.0-34-generic
W: initramfs-tools configuration sets RESUME=UUID=8690dd17-8c64-490e-9c50-d6099db9e1e4
W: but no matching swap device is available.
cp: -r not specified; omitting directory '/etc/udev/rules.d/79-udev-epson.rules'
E: /usr/share/initramfs-tools/hooks/udev failed with return 1.
update-initramfs: failed for /boot/initrd.img-4.15.0-34-generic with 1.
dpkg: error processing package initramfs-tools (--configure):
 installed initramfs-tools package post-installation script subprocess returned error exit status 1

Changed in initramfs-tools (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
df1234 (df1234) wrote :

I think the following may be associated with this problem.
My system will not resume from suspend
Hard rebooting causes a Kernel panic and inability to mount the file system
From Grub using advanced options I can eventually "resume" through 4.15.0-34-generic
 (but not 4.15.0-36 or 4.15.0-38!) - but it does not resume the previous session

sudo update-initramfs -u
gives:
update-initramfs: Generating /boot/initrd.img-4.15.0-34-generic
W: initramfs-tools configuration sets RESUME=UUID=8690dd17-8c64-490e-9c50-d6099db9e1e4
W: but no matching swap device is available.
cp: -r not specified; omitting directory '/etc/udev/rules.d/79-udev-epson.rules'
E: /usr/share/initramfs-tools/hooks/udev failed with return 1.
update-initramfs: failed for /boot/initrd.img-4.15.0-34-generic with 1.

The RESUME=UUID does not exist on my system - presumably it should be the swap partition?

https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/50437 seems very similar - but that is from 5 years ago so I am nervous given my proficiency at just following it through.

Is it relevant that
1) My system drive is a SSD (and I am told that you should manually optimise it - I have not)
2) My swap partition at 8.5GB is only a little more than my RAM?
3) Disks show a Swap partition on my SSD (sbd6) and an 8.5GB Block device (dev/mapper/cryptswap1)

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. This particular bug has already been reported and is a duplicate of bug 1605941, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.

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.