package initramfs-tools 0.136ubuntu6 failed to install/upgrade: update-initramfs: Generating /boot/initrd.img-5.4.0-28-generic write error: cannot write compressed block

Bug #1876376 reported by Artil
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

package failed to install during 18.04 to 20.04 upgrade

DpkgTerminalLog.txt says:

update-initramfs: Generating /boot/initrd.img-5.4.0-28-generic
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-28-generic with 1.

ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: initramfs-tools 0.136ubuntu6
ProcVersionSignature: Ubuntu 5.4.0-28.32-generic 5.4.30
Uname: Linux 5.4.0-28-generic x86_64
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: skip
Date: Fri May 1 21:41:12 2020
ErrorMessage: installed initramfs-tools package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2014-05-14 (2179 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
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.2
SourcePackage: initramfs-tools
Title: package initramfs-tools 0.136ubuntu6 failed to install/upgrade: installed initramfs-tools package post-installation script subprocess returned error exit status 1
UpgradeStatus: Upgraded to focal on 2020-05-01 (0 days ago)

Revision history for this message
Artil (artil) 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
Ken Wagner (beaucoder) wrote :

Update reported a download problem.

Then this error showed up.

Benjamin Drung (bdrung)
description: updated
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. Please execute the following command only once, as it will automatically gather more debugging information, in a terminal:

apport-collect -p ubuntu-release-upgrader 1876376

Revision history for this message
Benjamin Drung (bdrung) wrote :

From looking at the available logs, the first guess why lz4 failed to write is that the partition is full. Can you check how much space you have left on /boot?

Benjamin Drung (bdrung)
summary: - package initramfs-tools 0.136ubuntu6 failed to install/upgrade:
- installed initramfs-tools package post-installation script subprocess
- returned error exit status 1
+ package initramfs-tools 0.136ubuntu6 failed to install/upgrade: update-
+ initramfs: Generating /boot/initrd.img-5.4.0-28-generic write error:
+ cannot write compressed block
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.