[Bug 1866377] Re: update-initramfs fails on plymouth hook due to missing target dir

2020-03-07 Thread Launchpad Bug Tracker
This bug was fixed in the package plymouth - 0.9.4git20200109-0ubuntu7

---
plymouth (0.9.4git20200109-0ubuntu7) focal; urgency=medium

  * debian/local/plymouth.hook:
- try to copy the watermark image in the initramfs only if the spinner
  theme is installed (lp: #1866377)

 -- Sebastien Bacher   Sat, 07 Mar 2020 10:26:16
+0100

** Changed in: plymouth (Ubuntu Focal)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1866377

Title:
  update-initramfs fails on plymouth hook due to missing target dir

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

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1866377] Re: update-initramfs fails on plymouth hook due to missing target dir

2020-03-07 Thread Richard Baka
1. The deletion of the plymouth packages is a correct workaround however
that is not a correct fix. The fix will come with a package upgrade.

2. apt purge --reinstall (what I wrote) seems to wrok well but it
doesn't. It just do the purge operation and not the reinstall operation.
If this package isn't installed the failure doesn't occur however you
won't have a graphical boot screen (If I know this well).

3. BTW this package is not too important for the system. If I know well
this is just a graphical splash screen.

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1866377

Title:
  update-initramfs fails on plymouth hook due to missing target dir

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

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1866377] Re: update-initramfs fails on plymouth hook due to missing target dir

2020-03-07 Thread Tony Travis
Re: my comment #10 - After re-installing the purged packages the problem
was, of course, not fixed. However, a fix that does work has been
suggested in Bug #1866372:

  https://bugs.launchpad.net/ubuntu/+source/plymouth/+bug/1866372

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1866377

Title:
  update-initramfs fails on plymouth hook due to missing target dir

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

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1866377] Re: update-initramfs fails on plymouth hook due to missing target dir

2020-03-07 Thread Rik Mills
** Changed in: plymouth (Ubuntu Focal)
   Status: Confirmed => Fix Committed

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1866377

Title:
  update-initramfs fails on plymouth hook due to missing target dir

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

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1866377] Re: update-initramfs fails on plymouth hook due to missing target dir

2020-03-07 Thread Rik Mills
** Also affects: plymouth (Ubuntu Focal)
   Importance: Critical
   Status: Confirmed

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1866377

Title:
  update-initramfs fails on plymouth hook due to missing target dir

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

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1866377] Re: update-initramfs fails on plymouth hook due to missing target dir

2020-03-06 Thread jean-christophe manciot
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 Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1866377

Title:
  update-initramfs fails on plymouth hook due to missing target dir

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

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1866377] Re: update-initramfs fails on plymouth hook due to missing target dir

2020-03-06 Thread Antropoceno Silva
Xubuntu 20.04 here; applying the workaround mentioned in #10,
apt purge --reinstall plymouth
fixed the problem.

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1866377

Title:
  update-initramfs fails on plymouth hook due to missing target dir

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

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1866377] Re: update-initramfs fails on plymouth hook due to missing target dir

2020-03-06 Thread Ubuntu Foundations Team Bug Bot
The attachment "plymouth_0.9.4git20200109-0ubuntu7~ppa1.debdiff" seems
to be a debdiff.  The ubuntu-sponsors team has been subscribed to the
bug report so that they can review and hopefully sponsor the debdiff.
If the attachment isn't a patch, please remove the "patch" flag from the
attachment, remove the "patch" tag, and if you are member of the
~ubuntu-sponsors, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issue please contact him.]

** Tags added: patch

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1866377

Title:
  update-initramfs fails on plymouth hook due to missing target dir

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

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1866377] Re: update-initramfs fails on plymouth hook due to missing target dir

2020-03-06 Thread Richard Baka
You are right :D. apt purge --reinstall command doesn't do a reinstall
just a purge. BTW I like this method. Do I really need this package?

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1866377

Title:
  update-initramfs fails on plymouth hook due to missing target dir

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

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1866377] Re: update-initramfs fails on plymouth hook due to missing target dir

2020-03-06 Thread Aaron Honeycutt
@Paul

You can install it like this:

sudo dpkg -i packagename

Then I would recommend locking plymouth:

sudo apt-mark hold packagename

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1866377

Title:
  update-initramfs fails on plymouth hook due to missing target dir

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

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1866377] Re: update-initramfs fails on plymouth hook due to missing target dir

2020-03-06 Thread Jose Manuel Santamaria Lema
Hi,

I'm attaching a debdiff of a possible fix for this, which solves the
problem for me.

If this is not the correct solution I will be glad to test the correct
one :)

PPA build of the proposed fix:
https://launchpad.net/~panfaust/+archive/ubuntu/plymouth

** Patch added: "plymouth_0.9.4git20200109-0ubuntu7~ppa1.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/plymouth/+bug/1866377/+attachment/5334404/+files/plymouth_0.9.4git20200109-0ubuntu7~ppa1.debdiff

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1866377

Title:
  update-initramfs fails on plymouth hook due to missing target dir

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

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1866377] Re: update-initramfs fails on plymouth hook due to missing target dir

2020-03-06 Thread Paul Loughman
Aaron's 'fix' (I assume it was a fix) mentioned in #8 isn't a solution
for me. Package plymouth_0.9.4git20200109-0ubuntu6 was
installed/upgraded this morning; checked the apt history.log. So I
reinstalled it. The error remains.

Running Kubuntu 20.04
KDE Plasma 5.18.2
KDE Frameworks 5.67.0
Qt 5.12.5
Kernel 5.4.0-17-generic
OS 64-bit

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1866377

Title:
  update-initramfs fails on plymouth hook due to missing target dir

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

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1866377] Re: update-initramfs fails on plymouth hook due to missing target dir

2020-03-06 Thread Joseph C. Sible
Wait, the intention of that was to remove Plymouth and *leave it
removed*? Well of course that "fixes" the observed bug in Plymouth...

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1866377

Title:
  update-initramfs fails on plymouth hook due to missing target dir

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

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1866377] Re: update-initramfs fails on plymouth hook due to missing target dir

2020-03-06 Thread Joseph C. Sible
Doing "sudo apt purge --reinstall plymouth" wasn't sufficient to fix it
for me. What did fix it for me, though, was adding a mkdir statement, as
I explained in #1866372 before this bug was opened.

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1866377

Title:
  update-initramfs fails on plymouth hook due to missing target dir

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

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1866377] Re: update-initramfs fails on plymouth hook due to missing target dir

2020-03-06 Thread Aaron Honeycutt
I've also rebuilt the package without the two lines that they added and
it corrected the issue for me and a coworker.

** Attachment added: "plymouth_0.9.4git20200109-0ubuntu6_amd64.deb"
   
https://bugs.launchpad.net/ubuntu/+source/plymouth/+bug/1866377/+attachment/5334374/+files/plymouth_0.9.4git20200109-0ubuntu6_amd64.deb

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1866377

Title:
  update-initramfs fails on plymouth hook due to missing target dir

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

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1866377] Re: update-initramfs fails on plymouth hook due to missing target dir

2020-03-06 Thread Richard Baka
Here is a magic workaround command for problems like this:
sudo apt purge --reinstall plymouth

no warranty! :)

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1866377

Title:
  update-initramfs fails on plymouth hook due to missing target dir

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

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs