Page 3 of 13 FirstFirst 12345 ... LastLast
Results 21 to 30 of 126

Thread: Final Focal on Kubuntu 20.04

  1. Back To Top    #21
    Ascendant GreyGeek's Avatar
    Join Date
    Feb 2009
    Posts
    16,483
    Threads
    1169
    Local Date
    Jun 5th 2020
    Local Time
    11:16 AM
    I ran into it awhile ago. Here is where it is described, and how to fix it:
    https://bugs.launchpad.net/ubuntu/+s...h/+bug/1866372

    Doing the manual edit didn't work for me (strangely), so I created the patch given in the last post on that bug by copying and pasting.
    Code:
    diff -Npaur a/usr/share/initramfs-tools/hooks/plymouth b/usr/share/initramfs-tools/hooks/plymouth
    --- a/usr/share/initramfs-tools/hooks/plymouth    2020-03-06 12:45:51.563041573 -0500
    +++ b/usr/share/initramfs-tools/hooks/plymouth    2020-03-06 12:50:15.335756844 -0500
    @@ -119,6 +119,7 @@ case "${THEME_NAME}" in
             ;;
     
         *)
    +        mkdir -p "${DESTDIR}/usr/share/plymouth/themes/spinner"
             cp /usr/share/plymouth/ubuntu-logo.png "${DESTDIR}/usr/share/plymouth"
             cp /usr/share/plymouth/ubuntu-logo.png "${DESTDIR}/usr/share/plymouth/themes/spinner/watermark.png"
    I saved it as 1866732.patch in my home account and then ran it from a root console while in my home account using the following command:

    patch /usr/share/initramfs-tools/hooks/plymouth < 1866372.patch

    It worked.

    Adding that line was an easy edit to /usr/share/initramfs-tools/hooks/plymouth to make, so I don't understand why my edit didn't work and that patch did.
    Last edited by GreyGeek; Mar 7th 2020 at 12:06 AM. Reason: Clarified the process

  2. Back To Top    #22
    Ascendant Snowhog's Avatar
    Join Date
    Mar 2007
    Location
    Columbia Heights, MN
    Posts
    20,596
    Threads
    1012
    Local Date
    Jun 5th 2020
    Local Time
    11:16 AM
    Editing the file and reinstalling plymouth also didn't work for me. When it failed, edited the file again, and the added line wasn't there. Hmm??

    Where did you save the diff file? In /usr/share/initramfs-tools/hooks?
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes
    Using Kubuntu Linux since March 23, 2007
    Twin Cities Bicycling Club - "And miles to go before I sleep."

  3. Back To Top    #23
    Ascendant GreyGeek's Avatar
    Join Date
    Feb 2009
    Posts
    16,483
    Threads
    1169
    Local Date
    Jun 5th 2020
    Local Time
    11:16 AM
    Quote Originally Posted by Snowhog View Post
    Editing the file and reinstalling plymouth also didn't work for me. When it failed, edited the file again, and the added line wasn't there. Hmm??

    Where did you save the diff file? In /usr/share/initramfs-tools/hooks?
    No, I saved it under my home account and as root executed the patch command from there as well.

  4. Back To Top    #24
    Ascendant Snowhog's Avatar
    Join Date
    Mar 2007
    Location
    Columbia Heights, MN
    Posts
    20,596
    Threads
    1012
    Local Date
    Jun 5th 2020
    Local Time
    11:16 AM
    Executing the patch fails here:

    patching file /usr/share/initramfs-tools/hooks/plymouth
    Hunk #1 FAILED at 119.
    1 out of 1 hunk FAILED -- saving rejects to file /usr/share/initramfs-tools/hooks/plymouth.rej

    ADDED:
    Well, copied the patch content, pasted it into the file in nano, exited nano, ran: sudo su - and then cd'd into /home/paul and ran the patch command again. This time it worked.
    Last edited by Snowhog; Mar 6th 2020 at 09:53 PM.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes
    Using Kubuntu Linux since March 23, 2007
    Twin Cities Bicycling Club - "And miles to go before I sleep."

  5. Back To Top    #25
    Ascendant GreyGeek's Avatar
    Join Date
    Feb 2009
    Posts
    16,483
    Threads
    1169
    Local Date
    Jun 5th 2020
    Local Time
    11:16 AM
    Quote Originally Posted by Snowhog View Post
    Executing the patch fails here:

    patching file /usr/share/initramfs-tools/hooks/plymouth
    Hunk #1 FAILED at 119.
    1 out of 1 hunk FAILED -- saving rejects to file /usr/share/initramfs-tools/hooks/plymouth.rej

    ADDED:
    Well, copied the patch content, pasted it into the file in nano, exited nano, ran: sudo su - and then cd'd into /home/paul and ran the patch command again. This time it worked.
    The "ADDED" is, in essence, what I did. I edited my first post to make that clearer.

  6. Back To Top    #26
    Kubuntu as a Second Language NoWorries's Avatar
    Join Date
    Jun 2007
    Location
    Adelaide, South Australia
    Posts
    1,408
    Threads
    160
    Local Date
    Jun 6th 2020
    Local Time
    01:46 AM
    I must be living a charmed existence as, after the updates this morning, I got a few unusual informative messages which I ignored as part of the "normal" occurrence with a pre-released version.

    Anyhow, my understanding is that plymouth does the graphics during bootup. When I re-booted all was normal and I could not fault the system in any way - as stable as ever!

  7. Back To Top    #27
    Ascendant GreyGeek's Avatar
    Join Date
    Feb 2009
    Posts
    16,483
    Threads
    1169
    Local Date
    Jun 5th 2020
    Local Time
    11:16 AM
    Quote Originally Posted by NoWorries View Post
    I must be living a charmed existence as, after the updates this morning, I got a few unusual informative messages which I ignored as part of the "normal" occurrence with a pre-released version.

    Anyhow, my understanding is that plymouth does the graphics during bootup. When I re-booted all was normal and I could not fault the system in any way - as stable as ever!
    So, when you did the update earlier, you did not get the failure of the initramfs to install over the previous version?
    What happens when you do a "sudo apt update" and "sudo apt full-upgrade" ?

  8. Back To Top    #28
    Kubuntu as a Second Language NoWorries's Avatar
    Join Date
    Jun 2007
    Location
    Adelaide, South Australia
    Posts
    1,408
    Threads
    160
    Local Date
    Jun 6th 2020
    Local Time
    01:46 AM
    Quote Originally Posted by GreyGeek View Post
    So, when you did the update earlier, you did not get the failure of the initramfs to install over the previous version?
    What happens when you do a "sudo apt update" and "sudo apt full-upgrade" ?
    I have just rebooted after having been through several updates and when I do a fresh update and full-upgrade I get a list of possible missing firmware relating to amdgpu because I have an AMD video card. At the end I get
    Code:
    cp: cannot create regular file '/var/tmp/mkinitramfs_Th52XT/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
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    These errors do not seem to stop my system from working in any way that I have noticed.

    BTW, the initiramfs versions that I have are all at 0.136ubuntu1 and the available version is the same.

    Is there anything you can suggest that I try, to show that these errors compromise my system?
    Last edited by NoWorries; Mar 7th 2020 at 03:09 AM.

  9. Back To Top    #29
    Ascendant GreyGeek's Avatar
    Join Date
    Feb 2009
    Posts
    16,483
    Threads
    1169
    Local Date
    Jun 5th 2020
    Local Time
    11:16 AM
    Quote Originally Posted by NoWorries View Post
    I have just rebooted after having been through several updates and when I do a fresh update and full-upgrade I get a list of possible missing firmware relating to amdgpu because I have an AMD video card. At the end I get
    Code:
    cp: cannot create regular file '/var/tmp/mkinitramfs_Th52XT/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
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    These errors do not seem to stop my system from working in any way that I have noticed.

    BTW, the initiramfs versions that I have are all at 0.136ubuntu1 and the available version is the same.

    Is there anything you can suggest that I try, to show that these errors compromise my system?
    One of the posts in the bug report suggested the following method to find what may be causing the problem:
    https://bugs.debian.org/cgi-bin/bugr...cgi?bug=922754
    You might find some of Bash's debugging functions useful when trying to
    trace your own problem:

    1. Change the problematic hook script to use #!/bin/bash
    2. Set the following variable:
    PS4=$'$? \\ (${BASH_SOURCE[0]}:${LINENO}): ${FUNCNAME[0]:--} [SHLVL=${SHLVL} BASH_SUBSHELL=${BASH_SUBSHELL}]\n '
    3. Add 'set -x' at the point where you want to start tracing

    That adds current line and function information to the normally terse
    result of using 'set -x', which I find makes it a lot easier to figure
    out what is going on in a complex shell script that sources lots of
    files and makes use of lots of functions, etc.
    And, there are other possible solutions:
    https://askubuntu.com/questions/1136...lling-updating
    Last edited by GreyGeek; Mar 7th 2020 at 03:56 AM.

  10. Back To Top    #30
    Kubuntu as a Second Language NoWorries's Avatar
    Join Date
    Jun 2007
    Location
    Adelaide, South Australia
    Posts
    1,408
    Threads
    160
    Local Date
    Jun 6th 2020
    Local Time
    01:46 AM
    Quote Originally Posted by Snowhog View Post
    Executing the patch fails here:

    patching file /usr/share/initramfs-tools/hooks/plymouth
    Hunk #1 FAILED at 119.
    1 out of 1 hunk FAILED -- saving rejects to file /usr/share/initramfs-tools/hooks/plymouth.rej

    ADDED:
    Well, copied the patch content, pasted it into the file in nano, exited nano, ran: sudo su - and then cd'd into /home/paul and ran the patch command again. This time it worked.
    I got exactly the same output, ie
    Code:
    patching file /usr/share/initramfs-tools/hooks/plymouth
    Hunk #1 FAILED at 119.
    1 out of 1 hunk FAILED -- saving rejects to file /usr/share/initramfs-tools/hooks/plymouth.rej
    I had the patch file in my home directory, did sudo su, ran the patch and I got this error. I have two systems with 20.04 and both give the same result.

    What have I missed or done wrong?

Page 3 of 13 FirstFirst 12345 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •