LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 11-18-2020, 11:42 PM   #1
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,809
Blog Entries: 1

Rep: Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066
couldn't find a command line fix broken howto that works for kernel/initrd/linux-firmware


Code:
# apt install linux-image-generic linux-image-5.4.0-54-generic linux-headers-5.4.0-54-generic linux-tools-generic
...
update-initramfs: Generating /boot/initrd.img-5.0.0-32-generic
W: plymouth: The plugin label.so is missing, the selected theme might not work as expected.
W: plymouth: You might want to install the plymouth-themes and plymouth-label package to fix this.
W: plymouth module (/usr/lib/x86_64-linux-gnu/plymouth//ubuntu-text.so) missing, skipping that theme.
W: plymouth: The plugin label.so is missing, the selected theme might not work as expected.
W: plymouth: You might want to install the plymouth-themes and plymouth-label package to fix this.
E: /usr/share/initramfs-tools/hooks/plymouth failed with return 1.
update-initramfs: failed for /boot/initrd.img-5.0.0-32-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-54-generic (5.4.0-54.60) ...
  /etc/kernel/postinst.d/dkms:
   * dkms: running auto installation service for kernel 5.4.0-54-generic
  ...done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.4.0-54-generic
W: plymouth: The plugin label.so is missing, the selected theme might not work as expected.
W: plymouth: You might want to install the plymouth-themes and plymouth-label package to fix this.
W: plymouth module (/usr/lib/x86_64-linux-gnu/plymouth//ubuntu-text.so) missing, skipping that theme.
W: plymouth: The plugin label.so is missing, the selected theme might not work as expected.
W: plymouth: You might want to install the plymouth-themes and plymouth-label package to fix this.
E: /usr/share/initramfs-tools/hooks/plymouth failed with return 1.
update-initramfs: failed for /boot/initrd.img-5.4.0-54-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-54-generic (--configure):
 installed linux-image-5.4.0-54-generic package post-installation script subprocess returned error exit status 1
No apport report written because MaxReports is reached already
                                                               Errors were encountered while processing:
 linux-firmware
 linux-image-generic
 initramfs-tools
 linux-image-5.4.0-54-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@ab85m:/boot# lr
total 83304
-rw------- 1 root root  4051606 Jun 24  2019 System.map-4.15.0-54-generic
-rw-r--r-- 1 root root   217278 Jun 24  2019 config-4.15.0-54-generic
-rw------- 1 root root  4295198 Oct 10  2019 System.map-5.0.0-32-generic
-rw-r--r-- 1 root root   224447 Oct 10  2019 config-5.0.0-32-generic
-rw------- 1 root root  8769272 Oct 10  2019 vmlinuz-5.0.0-32-generic
lrwxrwxrwx 1 root root       24 Jan 23  2020 vmlinuz-prv -> vmlinuz-5.0.0-32-generic
lrwxrwxrwx 1 root root       27 Jan 23  2020 initrd-prv -> initrd.img-5.0.0-32-generic
lrwxrwxrwx 1 root root       27 Jan 23  2020 initrd -> initrd.img-5.0.0-32-generic
drwxr-xr-x 5 root root     4096 Aug 14 21:47 grub
-rw-r--r-- 1 root root   184884 Aug 18 06:46 memtest86+_multiboot.bin
-rw-r--r-- 1 root root   184380 Aug 18 06:46 memtest86+.elf
-rw-r--r-- 1 root root   182704 Aug 18 06:46 memtest86+.bin
-rw-r--r-- 1 root root 50477071 Oct  6 01:16 initrd.img-5.0.0-32-generic
-rw------- 1 root root  4743490 Nov  5 12:03 System.map-5.4.0-54-generic
-rw-r--r-- 1 root root   237807 Nov  5 12:03 config-5.4.0-54-generic
-rw------- 1 root root 11678464 Nov  5 13:11 vmlinuz-5.4.0-54-generic
lrwxrwxrwx 1 root root       24 Nov 18 21:45 vmlinuz.old -> vmlinuz-5.0.0-32-generic
lrwxrwxrwx 1 root root       24 Nov 18 21:45 vmlinuz -> vmlinuz-5.4.0-54-generic
lrwxrwxrwx 1 root root       27 Nov 18 21:45 initrd.img.old -> initrd.img-5.0.0-32-generic
lrwxrwxrwx 1 root root       27 Nov 18 21:45 initrd.img -> initrd.img-5.4.0-54-generic
root@ab85m:/boot
# apt update
Ign:1 http://packages.linuxmint.com ulyana InRelease
Get:2 http://security.ubuntu.com/ubuntu focal-security InRelease [107 kB]
Hit:3 http://packages.linuxmint.com ulyana Release
Hit:4 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:6 http://archive.canonical.com/ubuntu focal InRelease
Get:7 http://archive.ubuntu.com/ubuntu focal-updates InRelease [111 kB]
Get:8 http://archive.ubuntu.com/ubuntu focal-backports InRelease [98.3 kB]
Fetched 317 kB in 1s (287 kB/s)
Reading package lists...
Building dependency tree...
Reading state information...
All packages are up to date.
# apt upgrade
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages were automatically installed and are no longer required:
  linux-headers-4.15.0-54 linux-headers-4.15.0-54-generic
  linux-modules-4.15.0-54-generic
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Setting up initramfs-tools (0.136ubuntu6.3) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-firmware (1.187.4) ...
update-initramfs: Generating /boot/initrd.img-5.0.0-32-generic
W: plymouth: The plugin label.so is missing, the selected theme might not work as expected.
W: plymouth: You might want to install the plymouth-themes and plymouth-label package to fix this.
W: plymouth module (/usr/lib/x86_64-linux-gnu/plymouth//ubuntu-text.so) missing, skipping that theme.
W: plymouth: The plugin label.so is missing, the selected theme might not work as expected.
W: plymouth: You might want to install the plymouth-themes and plymouth-label package to fix this.
E: /usr/share/initramfs-tools/hooks/plymouth failed with return 1.
update-initramfs: failed for /boot/initrd.img-5.0.0-32-generic with 1.
dpkg: error processing package linux-firmware (--configure):
 installed linux-firmware package post-installation script subprocess returned error exit status 1
Setting up linux-image-5.4.0-54-generic (5.4.0-54.60) ...
dpkg: dependency problems prevent configuration of linux-image-generic:
 linux-image-generic depends on linux-firmware; however:
  Package linux-firmware is not configured yet.

dpkg: error processing package linux-image-generic (--configure):
 dependency problems - leaving unconfigured
Processing triggers for initramfs-tools (0.136ubuntu6.3) ...
update-initramfs: Generating /boot/initrd.img-5.0.0-32-generic
W: plymouth: The plugin label.so is missing, the selected theme might not work as expected.
W: plymouth: You might want to install the plymouth-themes and plymouth-label package to fix this.
W: plymouth module (/usr/lib/x86_64-linux-gnu/plymouth//ubuntu-text.so) missing, skipping that theme.
W: plymouth: The plugin label.so is missing, the selected theme might not work as expected.
W: plymouth: You might want to install the plymouth-themes and plymouth-label package to fix this.
E: /usr/share/initramfs-tools/hooks/plymouth failed with return 1.
update-initramfs: failed for /boot/initrd.img-5.0.0-32-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-54-generic (5.4.0-54.60) ...
/etc/kernel/postinst.d/dkms:
 * dkms: running auto installation service for kernel 5.4.0-54-generic
   ...done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.4.0-54-generic
W: plymouth: The plugin label.so is missing, the selected theme might not work as expected.
W: plymouth: You might want to install the plymouth-themes and plymouth-label package to fix this.
W: plymouth module (/usr/lib/x86_64-linux-gnu/plymouth//ubuntu-text.so) missing, skipping that theme.
W: plymouth: The plugin label.so is missing, the selected theme might not work as expected.
W: plymouth: You might want to install the plymouth-themes and plymouth-label package to fix this.
E: /usr/share/initramfs-tools/hooks/plymouth failed with return 1.
update-initramfs: failed for /boot/initrd.img-5.4.0-54-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-54-generic (--configure):
 installed linux-image-5.4.0-54-generic package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 linux-firmware
 linux-image-generic
 initramfs-tools
 linux-image-5.4.0-54-generic
#
I did a lot of googling and tried a lot of supposed ways to fix whatever the problem was with these errors, with no success. Here were excerpts of tail of .bash_history to that point:
Code:
apt dist-upgrade
apropos fix-broken
aptitude -f
apt fix-broken install
apt install -f
apt autoremove
apt install -f linux-firmware
dpkg --configure -a
apt reinstall linux-firmware
apt-cache clean
apt clean
apt update --fix-missing
apt install -f
dpkg --configure -a
aptitude search firmware | grep linux
aptitude reinstall linux-firmware
apt reinstall linux-firmware
apt-get --reinstall install linux-firmware
apt install linux-firmware
apt purge linux-firmware
apt install linux-firmware
apt install linux-image-generic linux-image-5.4.0-54-generic linux-headers-5.4.0-54-generic linux-tools-generic
Finally I decided to go forth boldly:
Code:
# apt purge plymouth
It took out lighdm and slick-greeter too, but rebooting worked, and reinstalling them was no problem.
Code:
# inxi -S
System:    Host: ab85m Kernel: 5.4.0-54-generic x86_64 bits: 64 Console: tty 3 Distro: Linux Mint 20 Ulyana
I can't remember being presented with so much trouble from Ubuntu or Debian. What's the secret that I was missing to make the error messages go away and build a working initrd for the 5.4.0-54 kernel? (GUI methods/tools don't count.)

Last edited by mrmazda; 11-18-2020 at 11:43 PM.
 
Old 11-20-2020, 06:42 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,849

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
so could you remove plymouth?
What's happened after that?
 
Old 11-20-2020, 01:25 PM   #3
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,809

Original Poster
Blog Entries: 1

Rep: Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066
Quote:
Originally Posted by pan64 View Post
so could you remove plymouth?
Quote:
Originally Posted by mrmazda View Post
Finally I decided to go forth boldly:
Code:
# apt purge plymouth
It took out lighdm and slick-greeter too, but rebooting worked, and reinstalling them was no problem.
Quote:
What's happened after that?
Installing lightdm and slick-greeter forced plymouth to be reinstalled too, but there have been no observed problems since.
 
Old 11-21-2020, 01:11 PM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,849

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
ok, so that may mean you can mark the thread solved.
 
Old 11-21-2020, 03:00 PM   #5
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,809

Original Poster
Blog Entries: 1

Rep: Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066
What I did was a workaround, not a true fix, hence the thread.
 
  


Reply

Tags
firmware, initrd



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[Slackware64 14.2] Loading error of ath10k firmware with latest kernel-firmware and latest kernel-huge pensador_13 Slackware 3 06-16-2018 12:31 PM
correct command (as I am a newbie in linux) on how to copy the missing firmware saved to USB drive stick to /lib/firmware/ sarksloane Linux - Newbie 12 12-24-2017 10:56 AM
Failure to find E100 firmware even though present in /lib/firmware afhartman Linux - Networking 2 07-27-2009 07:31 AM
How to fix broken (Gentoo) initrd from (Knoppix) boot disk Mitchua Linux - General 4 07-10-2004 02:16 PM
ut2003--- couldn't set video mode:couldn't find matching GLX visual <h1>tux</h1> Linux - Newbie 1 08-22-2003 07:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint

All times are GMT -5. The time now is 07:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration