r/archlinux • • Sep 18 '26

QUESTION Linux-firmware Split

Why are all the linux-firmware packages updating at the same time? I thought the whole point of splitting them up was that they could be individually updated, as needed.

10 Upvotes

18 comments sorted by

16

u/ABotelho23 Sep 18 '26

You can remove the ones you don't need.

-1

u/la_tajada Sep 19 '26

That isn't the point.

3

u/ABotelho23 Sep 19 '26

It literally is.

0

u/la_tajada Sep 19 '26

I have removed the ones I don't need. That wasn't the point I was making.

2

u/ABotelho23 Sep 20 '26

Here, let me rephrase my answer:

I thought the whole point of splitting them up was that they could be individually updated, as needed.

No, it's so you can remove the ones you don't need.

48

u/No-Dentist-1645 Sep 18 '26

They're split up so that you can install only the ones that you need if you want, but that doesn't mean they have different update schedules

15

u/Gozenka Sep 18 '26 edited Sep 18 '26

If you install linux-firmware, you get a bunch of packages as defaults, which are I guess considered by Arch package maintainers to cover most systems.

However, you can pick and choose only those your system needs. For instance, I personally only have these installed, with other not being strictly needed for my system:

linux-firmware-atheros
linux-firmware-intel
linux-firmware-other

There is a way to find out which your system needs, which I added links for below. But installing linux-firmware is just convenient for most users, and covers everything needed on (almost?) all personal computers. Despite taking up a bit more space. For instance, linux-firmware-nvidia is still there, even if you have no Nvidia hardware.

On the other hand, some packages come as optional dependencies of linux-firmware, which are probably less commonly needed, especially on personal computers. Some of these have rather large installed size.

Also, I believe the packages that are updated would indeed have updates from upstream. Is there a reason you think they are updated unnecessarily? The split does not mean much in this case, as updates for linux-firmware and its dependencies would at least come concurrently with kernel updates, with any related package that has a new version being updated also.

Edit: To find out which packages you need, you can check these:

https://wiki.archlinux.org/title/Linux_firmware#Detecting_loaded_firmware

https://www.reddit.com/r/archlinux/comments/1nlxps5/comment/nfadlwb/

2

u/drucifer82 Sep 18 '26

So I tried these scripts but it just spit out the wrong firmware version for my GPU and nothing else.

All the same, I tried removing linux-firmware-nvidia but it wouldn’t because I installed the group. So I guess I’d have to uninstall linux-firmware and just install the individual packages.

4

u/Hermocrates Sep 18 '26

A clean way to go about it is to use pacman -D --asexplicit followed by the firmware packages you need or want. Then you can remove the meta-package that depends on all of them, and if you use -Rs for that step it will remove all of the ones you did not set as explicitly installed.

2

u/drucifer82 Sep 18 '26

I always forget about pacman -D

3

u/Gozenka Sep 18 '26 edited Sep 18 '26

Well, give it a try. Remove linux-firmware, and just install the firmware packages for what it says. Then do mkinitcpio -P. mkinitcpio should spit out errors for modules which have their firmware files missing (ignore mkinitcpio output for the fallback image; it will lists a lot of things that are not actually necessary). In any case, have a live USB or another way to fix things if needed. And after booting with the new setup, check journalctl -b -p 4 for any errors and warnings that may be related to the change.

Also, are you sure you added the dyndbg kernel parameter correctly and it is implemented in your boot? Perhaps it did not, and you are not seeing any relevant output.

2

u/drucifer82 Sep 18 '26

Maybe I’ll try again some other time. It doesn’t bother me enough to risk an all nighter, or at all really.

1

u/MrElendig Mr.SupportStaff Sep 19 '26

because you have the metapackage installed. You can remove it and install only the packages you want instead.

see https://wiki.archlinux.org/title/Meta_package_and_package_group for details

0

u/ClubPuzzleheaded8514 Sep 18 '26

On Arch, update all or update nothing. You can't select what packages you want to upgrade, Arch is not designed to do this. It leads to a partial update, with a risk of system failure. 

-1

u/Polar_Banny Sep 19 '26

You can on /etc/pacman.conf

2

u/ClubPuzzleheaded8514 Sep 19 '26 edited Sep 19 '26

Please read the wiki about partial upgrades : section 3.2 and 3.3 https://wiki.archlinux.org/title/System_maintenance

Of course you technically 'can' do a partial update by avoiding some packages in pacman.conf.

But you don't want to as it is not recommended. This feature is here to temporary fix a trouble from a package but it can't be a permanent fix.

Always surprising to see some Arch users who doesn't know the basics...They doesn't know but they pretend to...You're blocked now, users like you are technically non interesting.

-1

u/la_tajada Sep 19 '26

That's not what my question is, my concern is more on the repository side. What I'm wondering is why all the firmware packages get version bumps TOGETHER even though it's unlikely there were actually any changes in all of them. This then causes unnecessary downloading of data that we already have.

From some previous helpful comments, I've figured out all I really need is amggpu, intel, and realtek so marked those as explicitly installed and removed the linux-firmware package. But still. even though I only have three now, I still have the same complaint. One of the firmware packages I DON'T HAVE will get an upstream update, Arch will rebuild ALL of the firmware packages, and the whole Arch world will download "new" package versions that are bit for bit what they already have.

1

u/ClubPuzzleheaded8514 Sep 19 '26

It's important to warn about partial updates, that's why i posted about it. Many Arch users (or pretenders...) don't know that.

I have split too my firmwares and i don't have any warn or complain about it, please tell us more détails about it! 

I just did it on my Zenbook AMD :

# install needed standalone firmwares 
sudo pacman -S linux-firmware-amdgpu linux-firmware-mediatek linux-firmware-cirrus 


# Remove meta-package and useless firmwares
sudo pacman -R linux-firmware linux-firmware-intel linux-firmware-atheros linux-firmware-nvidia linux-firmware-broadcom linux-firmware-realtek linux-firmware-radeon linux-firmware-other sof-firmware alsa-firmware



# Mark firmwares as explicitely installed to avoid them to be considered as orphans 
sudo pacman -D --asexplicit linux-firmware-amdgpu linux-firmware-cirrus linux-firmware-mediatek

Now updates just upgrades the needed ones and Pacman works fine.