Code: Select all
sudo cp ~/Downloads/plymouth.txt /usr/share/initramfs-tools/hooks/plymouth
Code: Select all
sudo cp ~/Desktop/plymouth.txt /usr/share/initramfs-tools/hooks/plymouth
Code: Select all
sudo cp ~/Downloads/plymouth.txt /usr/share/initramfs-tools/hooks/plymouth
Code: Select all
sudo cp ~/Desktop/plymouth.txt /usr/share/initramfs-tools/hooks/plymouth
Code: Select all
**@*******:~$ sudo mv /usr/share/initramfs-tools/hooks/plymouth{,.orig}
[sudo] password for **:
**@*******:~$ sudo chmod -x /usr/share/initramfs-tools/hooks/plymouth.orig
**@*******:~$ sudo cp ~/Desktop/plymouth.txt /usr/share/initramfs-tools/hooks/plymouth
**@*******:~$ sudo chmod +x /usr/share/initramfs-tools/hooks/plymouth
**@*******:~$ sudo update-initramfs -u
update-initramfs: Generating /boot/initrd.img-5.4.0-86-generic
1
2
3
4
5
6
7
8
9
10 (mint-logo)
11 (mint-logo)
10 (mint-text)
11 (mint-text)
10 (mint-logo)
11 (mint-logo)
12
13
14
15
16
E: /usr/share/initramfs-tools/hooks/plymouth failed with return 1.
update-initramfs: failed for /boot/initrd.img-5.4.0-86-generic with 1.
**@*******:~$ sudo mv /usr/share/initramfs-tools/hooks/plymouth{.orig,}
**@*******:~$ sudo chmod +x /usr/share/initramfs-tools/hooks/plymouth
**@*******:~$ sudo update-initramfs -u
update-initramfs: Generating /boot/initrd.img-5.4.0-86-generic
E: /usr/share/initramfs-tools/hooks/plymouth failed with return 1.
update-initramfs: failed for /boot/initrd.img-5.4.0-86-generic with 1.
Code: Select all
ls -l /usr/share/fonts/truetype/ubuntu/Ubuntu*-R.ttf
fc-cache -s
complete successfully?Code: Select all
ls -l /usr/share/fonts/truetype/ubuntu/Ubuntu*-R.ttf
Code: Select all
ls: cannot access '/usr/share/fonts/truetype/ubuntu/Ubuntu*-R.ttf': No such file or directory
Code: Select all
fc-cache -s
if [ -e ... ]
branch, but...sudo apt-get install fonts-ubuntu
does then a subsequent sudo update-initramfs -u
no longer complain?Code: Select all
Reading package lists... Done
Building dependency tree
Reading state information... Done
fonts-ubuntu is already the newest version (0.83-4ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up initramfs-tools (0.136ubuntu6.6) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-image-5.4.0-89-generic (5.4.0-89.100) ...
Processing triggers for initramfs-tools (0.136ubuntu6.6) ...
update-initramfs: Generating /boot/initrd.img-5.4.0-86-generic
E: /usr/share/initramfs-tools/hooks/plymouth failed with return 1.
update-initramfs: failed for /boot/initrd.img-5.4.0-86-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 linux-image-5.4.0-89-generic (5.4.0-89.100) ...
/etc/kernel/postinst.d/dkms:
* dkms: running auto installation service for kernel 5.4.0-89-generic
...done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.4.0-89-generic
E: /usr/share/initramfs-tools/hooks/plymouth failed with return 1.
update-initramfs: failed for /boot/initrd.img-5.4.0-89-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-5.4.0-89-generic (--configure):
installed linux-image-5.4.0-89-generic package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
initramfs-tools
linux-image-5.4.0-89-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
Code: Select all
update-initramfs: Generating /boot/initrd.img-5.4.0-86-generic
E: /usr/share/initramfs-tools/hooks/plymouth failed with return 1.
update-initramfs: failed for /boot/initrd.img-5.4.0-86-generic with 1.
Code: Select all
sudo apt-get install --reinstall fonts-ubuntu
sudo update-initramfs -u
.Code: Select all
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 1,458 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://ubuntu.mirror.constant.com focal/main amd64 fonts-ubuntu all 0.83-4ubuntu1 [1,458 kB]
Fetched 1,458 kB in 0s (4,145 kB/s)
(Reading database ... 368818 files and directories currently installed.)
Preparing to unpack .../fonts-ubuntu_0.83-4ubuntu1_all.deb ...
Unpacking fonts-ubuntu (0.83-4ubuntu1) over (0.83-4ubuntu1) ...
Setting up initramfs-tools (0.136ubuntu6.6) ...
update-initramfs: deferring update (trigger activated)
Setting up fonts-ubuntu (0.83-4ubuntu1) ...
Setting up linux-image-5.4.0-89-generic (5.4.0-89.100) ...
Processing triggers for fontconfig (2.13.1-2ubuntu3) ...
Processing triggers for initramfs-tools (0.136ubuntu6.6) ...
update-initramfs: Generating /boot/initrd.img-5.4.0-86-generic
I: The initramfs will attempt to resume from /dev/dm-2
I: (/dev/mapper/vgmint-swap_1)
I: Set the RESUME variable to override this.
Processing triggers for linux-image-5.4.0-89-generic (5.4.0-89.100) ...
/etc/kernel/postinst.d/dkms:
* dkms: running auto installation service for kernel 5.4.0-89-generic
...done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.4.0-89-generic
I: The initramfs will attempt to resume from /dev/dm-2
I: (/dev/mapper/vgmint-swap_1)
I: Set the RESUME variable to override this.
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.4.0-89-generic
Found initrd image: /boot/initrd.img-5.4.0-89-generic
Found linux image: /boot/vmlinuz-5.4.0-86-generic
Found initrd image: /boot/initrd.img-5.4.0-86-generic
Found linux image: /boot/vmlinuz-5.4.0-74-generic
Found initrd image: /boot/initrd.img-5.4.0-74-generic
Adding boot menu entry for UEFI Firmware Settings
done
Code: Select all
update-initramfs: Generating /boot/initrd.img-5.4.0-89-generic
I: The initramfs will attempt to resume from /dev/dm-2
I: (/dev/mapper/vgmint-swap_1)
I: Set the RESUME variable to override this.
I
is normal I
nformation from update-initramfs. You're sorted now. Suppose you'll want/need to run sudo apt-get install -f
now to finish up but otherwise things should be good.sudo apt-get update
elucidate?