[Bug 2046570] Re: /usr/share/initramfs-tools/hooks/plymouth failed with return 1 due to warning in ldd output

Benjamin Drung 2046570 at bugs.launchpad.net
Tue Dec 19 17:03:23 UTC 2023


Thanks for helping debugging it. I could reproduce it after placing your
library into /usr/local/lib/x86_64-linux-gnu/libpng16.so.16 and running
ldconfig.

It will be fixed in the upcoming Ubuntu release. The fix:
https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/initramfs-
tools/commit/?id=e6ee680de31442ba54e73d3221c37804b9e0ddce

You can apply the fix by editing /usr/share/initramfs-tools/hook-
functions and adding "| grep -P '^\t' " after the ldd call.


** Changed in: initramfs-tools (Ubuntu)
       Status: Triaged => Fix Committed

-- 
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:
  /usr/share/initramfs-tools/hooks/plymouth failed with return 1 due to
  warning in ldd output

Status in initramfs-tools package in Ubuntu:
  Fix Committed

Bug description:
  Received the error after accepting an automatic system update. This is
  caused by ldd printing a warning about the user install
  libpng16.so.16:

  ```
  $ env --unset=LD_PRELOAD ldd /usr/lib/x86_64-linux-gnu/plymouth//two-step.so
  /usr/lib/x86_64-linux-gnu/plymouth//two-step.so: /usr/local/lib/x86_64-linux-gnu/libpng16.so.16: no version information available (required by /lib/x86_64-linux-gnu/libply-splash-graphics.so.5)
   linux-vdso.so.1 (0x00007ffc0f9fe000)
   libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f349dd70000)
   libply.so.5 => /lib/x86_64-linux-gnu/libply.so.5 (0x00007f349dd52000)
   libply-splash-core.so.5 => /lib/x86_64-linux-gnu/libply-splash-core.so.5 (0x00007f349dd2f000)
   libply-splash-graphics.so.5 => /lib/x86_64-linux-gnu/libply-splash-graphics.so.5 (0x00007f349dd1e000)
   libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f349daf6000)
   /lib64/ld-linux-x86-64.so.2 (0x00007f349de84000)
   libudev.so.1 => /lib/x86_64-linux-gnu/libudev.so.1 (0x00007f349daca000)
   libpng16.so.16 => /usr/local/lib/x86_64-linux-gnu/libpng16.so.16 (0x00007f349da7e000)
   libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f349da62000)
  ```

  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