Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to pin/prevent groups of packages from upgrading

Hello everyone,

I have experimented with a few distros, making the full-time switch to Gnu/Linux desktop and have settled on Fedora/KDE.

The first time I had Fedora/KDE installed, I noticed after upgrading to the latest software, Kmail, Kontact, and Konqueror in particular would always crash due to something with nouveau.

Reporting the bug aside, can I easily prevent these apps from updating while letting the rest of the system upgrade? I see that dnf has an "excludepkgs" option in dnf.conf, but other related package could be pulled in still like kf5-kmailtransport-akonadi. And then I worried that if I block this kmail specific package, then maybe it could cause issues with other akonadi functionality for example.

I am planning on improving my "package awareness" VS blindly trusting the package manager, but it takes time...

So I'm wondering if someone just knows, "yes it's easy just do x" or "no its a pain/hassle, either upgrade all or don't upgrade at all."

Thanks very much!

How to pin/prevent groups of packages from upgrading

Hello everyone,

I have experimented with a few distros, making the full-time switch to Gnu/Linux desktop and have settled on Fedora/KDE.

The first time I had Fedora/KDE installed, I noticed after upgrading to the latest software, Kmail, Kontact, and Konqueror in particular would always crash due to something with nouveau.

Reporting the bug aside, can I easily prevent these apps from updating while letting the rest of the system upgrade? I see that dnf has an "excludepkgs" option in dnf.conf, but other related package could be pulled in still like kf5-kmailtransport-akonadi. And then I worried that if I block this kmail specific package, then maybe it could cause issues with other akonadi functionality for example.

Said another way, if I add everything with the kmail in the package name to the dnf excludepkgs option, should it work? I guess it depends on the packages...

I am planning on improving my "package awareness" VS blindly trusting the package manager, but it takes time...

So I'm wondering if someone just knows, "yes it's easy just do x" or "no its a pain/hassle, either upgrade all or don't upgrade at all."

Thanks very much!