[Bug 1924194] Re: package initramfs-tools 0.137ubuntu12 failed to install/upgrade: installed initramfs-tools package post-installation script subprocess returned error exit status 1
Benjamin Drung
1924194 at bugs.launchpad.net
Fri Dec 15 20:40:54 UTC 2023
*** This bug is a duplicate of bug 1892035 ***
https://bugs.launchpad.net/bugs/1892035
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.
** This bug has been marked a duplicate of bug 1892035
acpi-override-initramfs makes update-initramfs fail when /var/lib/acpi-override/ is empty
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1924194
Title:
package initramfs-tools 0.137ubuntu12 failed to install/upgrade:
installed initramfs-tools package post-installation script subprocess
returned error exit status 1
Status in initramfs-tools package in Ubuntu:
New
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.img-5.8.0-49-generic
cp: cannot stat '/var/lib/acpi-override/*': No such file or directory
E: /usr/share/initramfs-tools/hooks/acpi-override failed with return 1.
update-initramfs: failed for /boot/initrd.img-5.8.0-49-generic with 1.
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.img-5.8.0-49-generic
cp: cannot stat '/var/lib/acpi-override/*': No such file or directory
E: /usr/share/initramfs-tools/hooks/acpi-override failed with return 1.
update-initramfs: failed for /boot/initrd.img-5.8.0-49-generic with 1.
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
ProcVersionSignature: Ubuntu 5.8.0-49.55-generic 5.8.18
Uname: Linux 5.8.0-49-generic x86_64
ApportVersion: 2.20.11-0ubuntu50.5
AptOrdering:
android-androresolvd:amd64: Remove
NULL: ConfigurePending
Architecture: amd64
CasperMD5CheckResult: skip
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)
PackageArchitecture: all
Python3Details: /usr/bin/python3.8, Python 3.8.6, python3-minimal, 3.8.6-0ubuntu1
PythonDetails: N/A
RelatedPackageVersions:
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)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1924194/+subscriptions
More information about the foundations-bugs
mailing list