![]() For example, for the list of security updates and their IDs: $ dnf updateinfo list -securityįEDORA-2021-74ebf2f06f Moderate/Sec. For example, you can filter the list to show both security and bug fix updates: $ dnf check-update -security -bugfixĪs mentioned, dnf updateinfo also works with this filtering, so you can filter dnf updateinfo, dnf updateinfo list and dnf updateinfo info. They can even be combined, so you can use two or more of them at the same time. Perl-Encode.x86_64 4:3.12-460.fc34 updatesĪnd now same thing but by bug fix updates only: $ dnf check-update -bugfixĬa-certificates.noarch 2021.2.50-1.0.fc34 updates Those work on commands such as dnf check-update, dnf update and dnf updateinfo.įor example, this is how you filter the list of available updates by security updates only: $ dnf check-update -security Xkeyboard-config.noarch 2.33-1.fc34 updatesĭNF supports passing the types of updates to operate on as parameter: ‐‐security for security updates, ‐‐bugfix for bug fix updates and ‐‐enhancement for enhancement updates. Then enter that toolbox: toolbox enter updatefilter-demoįrom now on commands can be run on a real Fedora Linux install.įirst, run dnf check-update to see the unfiltered list of packages: $ dnf check-update Start by creating a Fedora Linux 34 toolbox: toolbox create -distro fedora -release f34 updatefilter-demo How to filter security and bug fix updates ![]() You could also install bug fix updates as well and only install enhancements and other types of updates during a future opportunity. If you are not comfortable at the moment with updating everything, then restricting the current update to only security updates might be a good choice. Well, this might depend on how you personally choose to deal with system updates. And, as you will see, DNF allows filtering which types you want to operate on.īut, why would you want to update only a subset of packages? If you have been managing system updates for Fedora Linux or any other GNU/Linux distro, you might have noticed how, when you run a system update (with dnf update, in the case of Fedora Workstation), you usually are not installing only security updates.ĭue to how package management in a GNU/Linux distro works, generally (with the exception of software running in a container, under Flatpak, or similar technologies) you are updating every single package regardless of whether it’s a “system” software or an “app”.ĭNF divides updates in three types: “security”, “bugfix” and “enhancement”. You might also want to read Use dnf updateinfo to read update changelogs before reading this article. This article will demo running the dnf commands inside toolbox instead of using a real Fedora Linux install. This way you can choose to, for example, only install security or bug fixes updates. This article will explore how to filter the updates available to your Fedora Linux system by type.
0 Comments
Leave a Reply. |