[Bug 2046570] Re: package initramfs-tools 0.140ubuntu13.4 failed to install/upgrade: installed initramfs-tools package post-installation script subprocess returned error exit status 1
Benjamin Drung
2046570 at bugs.launchpad.net
Fri Dec 15 19:52:24 UTC 2023
Thanks. That allows debugging. Which plymouth packages do you have
installed? Please post the output of "dpkg -l | grep plymouth". Can you
also post the output of "update-alternatives --query default.plymouth"?
Analysis:
The script uses the Value field from the "update-alternatives --query
default.plymouth" output to determine the theme. In this case it's
/usr/share/plymouth/themes/bgrt/bgrt.plymouth which then maps to
THEME=bgrt and then to currthemes="bgrt ubuntu-text spinner". The
failing code is:
for currtheme in $currthemes
do
[...]
MODULE="${PLUGIN_PATH}/$(sed -n 's/^ModuleName=\(.*\)/\1/p' ${THEMES}/${currtheme}/${currtheme}.plymouth 2>/dev/null || true).so"
[...]
# copy plugin and images for current theme
copy_exec "${MODULE}"
The script derives MODULE=/usr/lib/x86_64-linux-gnu/plymouth//two-
step.so from reading /usr/share/plymouth/themes/bgrt/bgrt.plymouth
(which is shipped by plymouth-theme-spinner), but fails to copy
/usr/lib/x86_64-linux-gnu/plymouth//two-step.so (which is shipped by
plymouth-theme-spinner as well). The shipped files between focal and
jammy hasn't changed.
So the installed plymouth-theme-spinner seems to be broken.
--
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/2046570
Title:
package initramfs-tools 0.140ubuntu13.4 failed to install/upgrade:
installed initramfs-tools package post-installation script subprocess
returned error exit status 1
Status in initramfs-tools package in Ubuntu:
Incomplete
Bug description:
Received the error after accepting an automatic system update.
ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: initramfs-tools 0.140ubuntu13.4
ProcVersionSignature: Ubuntu 6.2.0-34.34~22.04.1-generic 6.2.16
Uname: Linux 6.2.0-34-generic x86_64
NonfreeKernelModules: lkp_Ubuntu_6_2_0_34_34_generic_99 wl zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
Date: Fri Dec 15 11:19:44 2023
ErrorMessage: installed initramfs-tools package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2023-10-11 (64 days ago)
InstallationMedia: Ubuntu 22.04.3 LTS "Jammy Jellyfish" - Release amd64 (20230807.2)
PackageArchitecture: all
Python3Details: /usr/bin/python3.10, Python 3.10.12, python3-minimal, 3.10.6-1~22.04
PythonDetails: N/A
RelatedPackageVersions:
dpkg 1.21.1ubuntu2.2
apt 2.4.11
SourcePackage: initramfs-tools
Title: package initramfs-tools 0.140ubuntu13.4 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/2046570/+subscriptions
More information about the foundations-bugs
mailing list