package initramfs-tools 0.136ubuntu6.3 failed to install/upgrade: installed initramfs-tools package post-installation script subprocess returned error exit status 1

Bug #1898397 reported by Dave Wilson
60
This bug affects 13 people
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Error occurred during and after installing Ubuntu 20.04.1 LTS

ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: initramfs-tools 0.136ubuntu6.3
ProcVersionSignature: Ubuntu 5.4.0-48.52-generic 5.4.60
Uname: Linux 5.4.0-48-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.9
Architecture: amd64
CasperMD5CheckResult: skip
Date: Sat Oct 3 12:44:26 2020
ErrorMessage: installed initramfs-tools package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2015-10-10 (1819 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
PackageArchitecture: all
Python3Details: /usr/bin/python3.8, Python 3.8.2, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: /usr/bin/python2.7, Python 2.7.18rc1, python-is-python2, 2.7.17-4
RelatedPackageVersions:
 dpkg 1.19.7ubuntu3
 apt 2.0.2ubuntu0.1
SourcePackage: initramfs-tools
Title: package initramfs-tools 0.136ubuntu6.3 failed to install/upgrade: installed initramfs-tools package post-installation script subprocess returned error exit status 1
UpgradeStatus: Upgraded to focal on 2020-10-03 (0 days ago)

Revision history for this message
Dave Wilson (wilsondavidedward) 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
GuiGS (guigs81) wrote :

I had same error but with 0.136ubuntu6.6

Revision history for this message
jdbarnes-isi (jdbarnes-isi) wrote :

same but with 6.7

Revision history for this message
Maciek Sakrejda (m-sakrejda) wrote :

Same but with 6.7. I think this is basically a dupe of #1875407, #1876376, #1897747, #1898397, and several other similar bugs. In my case, /boot was full, because old kernels had not been removed. Are they not removed automatically? I was under the impression that they were. In any case, if there is no space, a clearer error here seems warranted.

Revision history for this message
Mikkel Kirkgaard Nielsen (mikini) wrote :

This particular issue seems to be caused by a mismatch between a specific software suspend partition being specified in ininitramfs-tools config and the available partitions. Not inadequate storage on /boot.

See end of DpkgTerminalLog.txt;

update-initramfs: Generating /boot/initrd.img-5.4.0-48-generic
cryptsetup: ERROR: Couldn't resolve device
    UUID=9de98dcc-35fc-4259-858c-d2b97cb90e58
W: initramfs-tools configuration sets RESUME=UUID=9de98dcc-35fc-4259-858c-d2b97cb90e58
W: but no matching swap device is available.
Error 24 : Write error : cannot write compressed block
E: mkinitramfs failure cpio 141 lz4 -9 -l 24
update-initramfs: failed for /boot/initrd.img-5.4.0-48-generic with 1.

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 798414, 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.