[Bug 1866372] Re: Plymouth causes update-initramfs to fail

Jags Desai 1866372 at bugs.launchpad.net
Sat Mar 7 02:49:36 UTC 2020


*** This bug is a duplicate of bug 1866377 ***
    https://bugs.launchpad.net/bugs/1866377

I ran into this bug too on Ubuntu MATE 20.04. After a reboot I was not
able to log back in at all.

I had to boot the PC through Live-USB, chroot into the system, and
applied Joseph C. Sible's workaround, which by the way worked perfectly.

Then I run:

`update-initramfs -c -k all`

and I was able boot back into the system.


Just in case if anyone is interested, some of the errors I ran into:

````
/etc/kernel/postinst.d/initramfs-tools:

update-initramfs: Generating /boot/initrd.img-5.5.8-050508-generic

cp: cannot create regular file
'/var/tmp/mkinitramfs_HrLIsw/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.5.8-050508-generic with
1.

run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return
code 1

dpkg: error processing package linux-image-unsigned-5.5.8-050508-generic
(--configure):

installed linux-image-unsigned-5.5.8-050508-generic package post-
installation script subprocess returned error exit status 1

Errors were encountered while processing: linux-image-
unsigned-5.5.8-050508-generic

E: Sub-process /usr/bin/dpkg returned an error code (1)
````

Thanks alot, Joseph.

-- 
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/1866372

Title:
  Plymouth causes update-initramfs to fail

Status in plymouth package in Ubuntu:
  Confirmed

Bug description:
  I'm running Ubuntu 20.04 and plymouth 0.9.4git20200109-0ubuntu6.
  Whenever I run "update-initramfs -uk all", it fails and produces this
  output:

  update-initramfs: Generating /boot/initrd.img-5.4.0-14-generic
  cp: cannot create regular file '/var/tmp/mkinitramfs_0bZgET/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-14-generic with 1.

  I found a workaround: if I edit /usr/share/initramfs-
  tools/hooks/plymouth and find this line:

                  cp /usr/share/plymouth/ubuntu-logo.png
  "${DESTDIR}/usr/share/plymouth/themes/spinner/watermark.png"

  And add this line right before it:

                  mkdir -p
  "${DESTDIR}/usr/share/plymouth/themes/spinner"

  Then it runs successfully.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/plymouth/+bug/1866372/+subscriptions



More information about the foundations-bugs mailing list