I appended 'set -x' directly after the existing 'set -e' in plymouth,
then ran 'sudo update-initramfs -u'. The result is attached in
output.txt and written below:

update-initramfs: Generating /boot/initrd.img-6.2.0-34-generic
+ OPTION=FRAMEBUFFER
+ PREREQ=
+ prereqs
+ echo 
+ exit 0
+ OPTION=FRAMEBUFFER
+ PREREQ=
+ . /usr/share/initramfs-tools/hook-functions
+ update-alternatives --query default.plymouth
+ sed -e /^Value:/!d -e s/^Value: \(.*\)/\1/
+ THEME_PATH=/usr/share/plymouth/themes/bgrt/bgrt.plymouth
+ basename /usr/share/plymouth/themes/bgrt/bgrt.plymouth .plymouth
+ THEME=bgrt
+ THEMES=/usr/share/plymouth/themes
+ [ -n /usr/share/plymouth/themes/bgrt/bgrt.plymouth ]
+ grep ImageDir *= * /usr/share/plymouth/themes/bgrt/bgrt.plymouth
+ sed s/ImageDir *= *//
+ IMAGE_PATH=/usr/share/plymouth/themes/spinner
+ [ -n /usr/share/plymouth/themes/spinner ]
+ [ /usr/share/plymouth/themes/bgrt/bgrt.plymouth != 
/usr/share/plymouth/themes/spinner ]
+ basename /usr/share/plymouth/themes/spinner
+ IMAGE_NAME=spinner
+ mkdir -p /var/tmp/mkinitramfs_SWWOCa//usr/share/plymouth/themes
+ [ -n bgrt ]
+ [ bgrt != none ]
+ THEME_NAME=bgrt
+ THEME=/usr/share/plymouth/themes/bgrt/bgrt.plymouth
+ ln -s /usr/share/plymouth/themes/bgrt/bgrt.plymouth 
/var/tmp/mkinitramfs_SWWOCa//usr/share/plymouth/themes/default.plymouth
+ plymouth --get-splash-plugin-path
+ PLUGIN_PATH=/usr/lib/x86_64-linux-gnu/plymouth/
+ update-alternatives --query text.plymouth
+ sed -e /^Value:/!d -e s/^Value: \(.*\)/\1/
+ TEXTTHEME_PATH=/usr/share/plymouth/themes/ubuntu-text/ubuntu-text.plymouth
+ basename /usr/share/plymouth/themes/ubuntu-text/ubuntu-text.plymouth .plymouth
+ TEXTTHEME=ubuntu-text
+ [ ubuntu-text != none ]
+ TEXTTHEME_NAME=ubuntu-text
+ TEXTTHEME=/usr/share/plymouth/themes/ubuntu-text/ubuntu-text.plymouth
+ + ln -s /usr/share/plymouth/themes/ubuntu-text/ubuntu-text.plymouth 
/var/tmp/mkinitramfs_SWWOCa//usr/share/plymouth/themes/text.plymouth
[ -n ubuntu-text ]
+ [ ! -r /usr/share/plymouth/themes/bgrt/bgrt.plymouth ]
+ currthemes=bgrt ubuntu-text spinner
+ PLUGINS=details.so label.so
+ sed -n s/^ModuleName=\(.*\)/\1/p /usr/share/plymouth/themes/bgrt/bgrt.plymouth
+ MODULE=/usr/lib/x86_64-linux-gnu/plymouth//two-step.so
+ [ ! -e /usr/lib/x86_64-linux-gnu/plymouth//two-step.so ]
+ copy_exec /usr/lib/x86_64-linux-gnu/plymouth//two-step.so
+ local src target x nonoptlib ret
+ src=/usr/lib/x86_64-linux-gnu/plymouth//two-step.so
+ target=/usr/lib/x86_64-linux-gnu/plymouth//two-step.so
+ copy_file binary /usr/lib/x86_64-linux-gnu/plymouth//two-step.so 
/usr/lib/x86_64-linux-gnu/plymouth//two-step.so
+ local type src target link_target
+ type=binary
+ src=/usr/lib/x86_64-linux-gnu/plymouth//two-step.so
+ target=/usr/lib/x86_64-linux-gnu/plymouth//two-step.so
+ [ -f /usr/lib/x86_64-linux-gnu/plymouth//two-step.so ]
+ [ -d 
/var/tmp/mkinitramfs_SWWOCa//usr/lib/x86_64-linux-gnu/plymouth//two-step.so ]
+ [ -e 
/var/tmp/mkinitramfs_SWWOCa//usr/lib/x86_64-linux-gnu/plymouth//two-step.so ]
+ mkdir -p /var/tmp/mkinitramfs_SWWOCa//usr/lib/x86_64-linux-gnu/plymouth/
+ [ -h /usr/lib/x86_64-linux-gnu/plymouth//two-step.so ]
+ [ n = y ]
+ cp -pP /usr/lib/x86_64-linux-gnu/plymouth//two-step.so 
/var/tmp/mkinitramfs_SWWOCa//usr/lib/x86_64-linux-gnu/plymouth//two-step.so
+ 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:
+ sed -e 
s#/lib/\([^/]*/\)\?\(tls\|i686\|sse2\|neon\|vfp\).*/\(lib.*\)#/lib/\1\3#
+ nonoptlib=/usr/lib/x86_64-linux-gnu/plymouth//two-step.so:
+ echo /usr/lib/x86_64-linux-gnu/plymouth//two-step.so:
+ sed -e s#-linux-gnu/\(tls\|i686\|sse2\|neon\|vfp\).*/\(lib.*\)#-linux-gnu/\2#
+ nonoptlib=/usr/lib/x86_64-linux-gnu/plymouth//two-step.so:
+ [ -e /usr/lib/x86_64-linux-gnu/plymouth//two-step.so: ]
+ copy_file binary /usr/lib/x86_64-linux-gnu/plymouth//two-step.so:
+ local type src target link_target
+ type=binary
+ src=/usr/lib/x86_64-linux-gnu/plymouth//two-step.so:
+ target=/usr/lib/x86_64-linux-gnu/plymouth//two-step.so:
+ [ -f /usr/lib/x86_64-linux-gnu/plymouth//two-step.so: ]
+ return 2
+ ret=2
+ [ 2 = 1 ]
+ return 1
E: /usr/share/initramfs-tools/hooks/plymouth failed with return 1.
update-initramfs: failed for /boot/initrd.img-6.2.0-34-generic with 1.


** Attachment added: "output.txt"
   
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2046570/+attachment/5729596/+files/output.txt

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to