linux-firmware installation

146 views
Skip to first unread message

stripes theotoky

unread,
Dec 14, 2020, 3:22:30 AM12/14/20
to mlu...@googlegroups.com
I am getting a string of error messages when installing new packages or upgrading. They all start with this error.

update-initramfs: failed for /boot/initrd.img-4.15.0-124-generic with 134.
dpkg: error processing package linux-firmware (--configure):
 installed linux-firmware package post-installation script subprocess returned error exit status 134

I tried reinstalling linux-firmware but get this error.
E: Internal Error, No file name for linux-firmware:amd64

I checked to see what the system thinks is installed. As you see dpkg thinks it is not installed and apt-cache policy thinks it is.

Any ideas on how to fix this? At the moment I can only boot and old kernel as the newer ones can't be configured due to this.

dpkg --list linux-firmware:amd64
dpkg-query: no packages found matching linux-firmware:amd64

apt-cache policy linux-firmware:amd64
linux-firmware:
  Installed: 1.174~ppa18.04+1
  Candidate: 1.174~ppa18.04+1
  Version table:
 *** 1.174~ppa18.04+1 500
        500 http://ppa.launchpad.net/giroll/ppa/ubuntu bionic/main amd64 Packages
        500 http://ppa.launchpad.net/giroll/ppa/ubuntu bionic/main i386 Packages
        100 /var/lib/dpkg/status
     1.173.19 500
        500 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        500 http://archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages
     1.173.18 500
        500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu bionic-security/main i386 Packages
     1.173 500
        500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
        500 http://archive.ubuntu.com/ubuntu bionic/main i386 Packages


--
Stripes Theotoky

-37 .713869
145.050562



 

Clinton Roy

unread,
Dec 14, 2020, 3:31:34 AM12/14/20
to mlu...@googlegroups.com
On Mon, 14 Dec 2020 at 19:22, 'stripes theotoky' via mlug-au <mlu...@googlegroups.com> wrote:
I am getting a string of error messages when installing new packages or upgrading. They all start with this error.

dpkg --audit

is a good place to start looking for these weird sort of problems.

The actual script it's trying to run is probably /var/lib/dpkg/info/linux-firmware.postinst,
you can run that manually as root and try to figure out what has gone wrong. These level of
stuff starts to get different between debian and ubuntu, so I hesitate to give more explicit steps.


--
Clinton Roy
Senior Scientific Software Engineer
Australian Synchrotron

stripes theotoky

unread,
Dec 14, 2020, 4:24:05 AM12/14/20
to mlu...@googlegroups.com
I think I have found it and fixed it.

Looking at the output from apt-cache policy I noticed that the number for linux-firmware was 1.174~ppa18.04+1 and Ubuntu thinks it should be 1.173.19 as second looks shows that it comes from a ppa which I don't remember ever installing. So I had a look at it, seems it contains everything but the kitchen sink. I decided the easiest way was to get rid of it entirely

sudo ppa-purge ppa:giroll/ppa

I haven't tried rebooting yet but apt-upgrade no longer throws errors so I assume it is fixed.

Thanks for your quick response.

Stripes

--
You received this message because you are subscribed to the Google Groups "mlug-au" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mlug-au+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mlug-au/CALGYmuowmDB89w004fS6702K-%3DHQf6nbQtzHzZjwmNDgtz1h5A%40mail.gmail.com.

阿奇蒙

unread,
Dec 15, 2020, 6:31:54 AM12/15/20
to mlug-au
Congruts Stripes,
Maybe this is an example telling us don't add weird PPA onto devices.
Reply all
Reply to author
Forward
0 new messages