[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
Mon Dec 18 22:20:50 UTC 2023
I tried to reproduce it in a chroot environment:
```
schroot-wrapper -p linux-image-6.2.0-34-generic,initramfs-tools,plymouth-theme-spinner,plymouth-theme-ubuntu-text,vim -u root -c jammy
echo FRAMEBUFFER=y >> /etc/initramfs-tools/initramfs.conf
vim /usr/share/initramfs-tools/hooks/plymouth
update-initramfs -u > log 2>&1
```
Then diffed the output:
```
sed -i 's/mkinitramfs_EXUmcb/mkinitramfs_SWWOCa/g' log
diff -u log comment-4.txt > log.diff
```
The output starts to differ from here. Your log:
```
+ env --unset=LD_PRELOAD ldd /usr/lib/x86_64-linux-gnu/plymouth//two-step.so
+ sed -e
/\//!d;
/linux-gate/d;
/=>/ {s/.*=>[[:blank:]]*\([^[:blank:]]*\).*/\1/};
s/[[:blank:]]*\([^[:blank:]]*\) (.*)/\1/
+ echo /usr/lib/x86_64-linux-gnu/plymouth//two-step.so:
```
My log:
```
+ env --unset=LD_PRELOAD ldd /usr/lib/x86_64-linux-gnu/plymouth//two-step.so
+ sed -e
/\//!d;
/linux-gate/d;
/=>/ {s/.*=>[[:blank:]]*\([^[:blank:]]*\).*/\1/};
s/[[:blank:]]*\([^[:blank:]]*\) (.*)/\1/
+ echo /lib/x86_64-linux-gnu/libm.so.6
```
Can you paste the output of `env --unset=LD_PRELOAD ldd
/usr/lib/x86_64-linux-gnu/plymouth//two-step.so` please?
Output in my chroot:
```
linux-vdso.so.1 (0x00007ffdaff39000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f4381028000)
libply.so.5 => /lib/x86_64-linux-gnu/libply.so.5 (0x00007f438100a000)
libply-splash-core.so.5 => /lib/x86_64-linux-gnu/libply-splash-core.so.5 (0x00007f4380fe7000)
libply-splash-graphics.so.5 => /lib/x86_64-linux-gnu/libply-splash-graphics.so.5 (0x00007f4380fd6000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f4380dae000)
/lib64/ld-linux-x86-64.so.2 (0x00007f4381128000)
libudev.so.1 => /lib/x86_64-linux-gnu/libudev.so.1 (0x00007f4380d82000)
libpng16.so.16 => /lib/x86_64-linux-gnu/libpng16.so.16 (0x00007f4380d47000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f4380d2b000)
```
--
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