[Bug 1866377] Re: update-initramfs fails on plymouth hook due to missing target dir
jean-christophe manciot
actionmystique at gmail.com
Sat Mar 7 07:22:33 UTC 2020
Same issue on Ubuntu focal with linux 5.4.0-17-generic x86_64.
Purging plymouth then installing it back with all upstream dependencies does not change anything:
# apt purge plymouth
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
libplymouth5
Use 'apt autoremove' to remove it.
The following packages will be REMOVED:
lightdm* plymouth* plymouth-label* plymouth-theme-spinner* plymouth-theme-ubuntu-gnome-logo* plymouth-theme-ubuntu-gnome-text* plymouth-theme-ubuntu-logo*
plymouth-theme-ubuntu-text* slick-greeter*
0 upgraded, 0 newly installed, 9 to remove and 38 not upgraded.
1 not fully installed or removed.
After this operation, 4,028 kB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 747060 files and directories currently installed.)
...
update-alternatives: warning: alternative /usr/share/plymouth/themes/ubuntu-gnome-logo/ubuntu-gnome-logo.plymouth (part of link group default.plymouth) doesn't exist; removi
ng from list of alternatives
update-alternatives: warning: /etc/alternatives/default.plymouth is dangling; it will be updated with best choice
update-alternatives: using /usr/share/plymouth/themes/bgrt/bgrt.plymouth to provide /usr/share/plymouth/themes/default.plymouth (default.plymouth) in auto mode
update-initramfs: deferring update (trigger activated)
...
# apt autoremove
...
# apt install lightdm plymouth plymouth-label plymouth-theme-spinner plymouth-theme-ubuntu-gnome-logo plymouth-theme-ubuntu-gnome-text plymouth-theme-ubuntu-logo plymouth-theme-ubuntu-text slick-greeter
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libplymouth5
Suggested packages:
bindfs plymouth-themes
The following NEW packages will be installed:
libplymouth5 lightdm plymouth plymouth-label plymouth-theme-spinner plymouth-theme-ubuntu-gnome-logo plymouth-theme-ubuntu-gnome-text plymouth-theme-ubuntu-logo
plymouth-theme-ubuntu-text slick-greeter
0 upgraded, 10 newly installed, 0 to remove and 38 not upgraded.
Need to get 98.8 kB/896 kB of archives.
After this operation, 4,453 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 libplymouth5 amd64 0.9.4git20200109-0ubuntu6 [98.8 kB]
Fetched 98.8 kB in 0s (426 kB/s)
Preconfiguring packages ...
Selecting previously unselected package libplymouth5:amd64.
...
update-initramfs: Generating /boot/initrd.img-5.4.0-17-generic
cp: cannot create regular file '/var/tmp/mkinitramfs_K7OV2b/usr/share/plymouth/themes/spinner/watermark.png': No such file or directory
E: /usr/share/initramfs-tools/hooks/plymouth failed with return 1.
update-initramfs: failed for /boot/initrd.img-5.4.0-17-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:
initramfs-tools
# apt-file search /usr/share/plymouth/themes/spinner/watermark.png
#
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to plymouth in Ubuntu.
https://bugs.launchpad.net/bugs/1866377
Title:
update-initramfs fails on plymouth hook due to missing target dir
Status in plymouth package in Ubuntu:
Confirmed
Bug description:
Testing pre-release Ubuntu-MATE 20.04 updated on Fri 6 Mar 2020
lsb_release -d
Description: Ubuntu Focal Fossa (development branch)
uname -a
Linux beluga 5.4.0-14-generic #17-Ubuntu SMP Thu Feb 6 22:47:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
update-initramfs: Generating /boot/initrd.img-5.4.0-14-generic
cp: cannot create regular file '/var/tmp/mkinitramfs_npYdVL/usr/share/plymouth/themes/spinner/watermark.png': No such file or direct
ory
E: /usr/share/initramfs-tools/hooks/plymouth failed with return 1.
update-initramfs: failed for /boot/initrd.img-5.4.0-14-generic with 1.
dpkg: error processing package initramfs-tools (--configure):
installed initramfs-tools package post-installation script subprocess returned error exit status 1
Processing triggers for libc-bin (2.30-0ubuntu3) ...
Errors were encountered while processing:
initramfs-tools
[Same error on two different systems]
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/plymouth/+bug/1866377/+subscriptions
More information about the foundations-bugs
mailing list