package initramfs-tools 0.137ubuntu12 failed to install/upgrade: installed initramfs-tools package post-installation script subprocess returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
initramfs-tools (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
(1) Command: lsb_release -rd
Description: Ubuntu 20.10
Release: 20.10
(2) Version of Package:
Ubuntu Software version 3.38.1
(3) I expected to go through normal updates/upgrades process, but instead -
(4) encountered error messages regarding:
"The system does not support apt-btrfs-snapshot
Setting up initramfs-tools (0.137ubuntu12) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-firmware (1.190.4) ...
update-initramfs: Generating /boot/initrd.
cp: cannot stat '/var/lib/
E: /usr/share/
update-initramfs: failed for /boot/initrd.
dpkg: error processing package linux-firmware (--configure):
installed linux-firmware package post-installation script subprocess returned e
rror exit status 1
Processing triggers for initramfs-tools (0.137ubuntu12) ...
update-initramfs: Generating /boot/initrd.
cp: cannot stat '/var/lib/
E: /usr/share/
update-initramfs: failed for /boot/initrd.
dpkg: error processing package initramfs-tools (--configure):
installed initramfs-tools package post-installation script subprocess returned
error exit status 1
Errors were encountered while processing:
linux-firmware
initramfs-tools
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)
I tried following several threads with suggestions on how to possibly clear or repair the issue by applying:
sudo apt clean
sudo apt autoremove --purge
sudo apt upgrade
sudo apt-get install -f
sudo dpkg --configure --pending
dpkg --audit
sudo update-initramfs -u -k all
Everything seems to return to "E: Sub-process /usr/bin/dpkg returned an error code (1)"
ProblemType: Package
DistroRelease: Ubuntu 20.10
Package: initramfs-tools 0.137ubuntu12
ProcVersionSign
Uname: Linux 5.8.0-49-generic x86_64
ApportVersion: 2.20.11-0ubuntu50.5
AptOrdering:
android-
NULL: ConfigurePending
Architecture: amd64
CasperMD5CheckR
Date: Wed Apr 14 17:26:32 2021
ErrorMessage: installed initramfs-tools package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2021-04-13 (1 days ago)
InstallationMedia: Ubuntu 20.10 "Groovy Gorilla" - Release amd64 (20201022)
PackageArchitec
Python3Details: /usr/bin/python3.8, Python 3.8.6, python3-minimal, 3.8.6-0ubuntu1
PythonDetails: N/A
RelatedPackageV
dpkg 1.20.5ubuntu2
apt 2.1.10ubuntu0.3
SourcePackage: initramfs-tools
Title: package initramfs-tools 0.137ubuntu12 failed to install/upgrade: installed initramfs-tools package post-installation script subprocess returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
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 1892035, 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.