Update docs/admin-guide/configuration/software/packages.md

This commit is contained in:
buchel_k committed 2026-07-29 09:56:05 +02:00
1 parent 4df7fea8c1
commit 5e1a51bf2f
1 file changed
+4 -5
@@ -135,7 +135,7 @@ This list is merged over the full Hiera hierachy, so there is no need to copy ex
This list can also be used to opt out packages from other, maybe inherited package groups. But unlike the `:absent` tag in a package list it will not uninstall a package when found.
### Version Lock
## Version Lock
If you have the need to freeze a software on given version, you can use `dnf versionlock`. First you need to install the `python3-dnf-plugin-versionlock` package (see above).
@@ -147,7 +147,7 @@ for every package you do not wish to get updates installed any more. If there ar
After you best put the resulting `/etc/dnf/plugins/versionlock.list` in Hiera with [`files::files`](../files/distribute_files) for reproducability.
#### Kernel Version Lock
### Kernel Version Lock
A full kernel version lock needs to include a number of packages. For RHEL8:
```
dnf versionlock add kernel kernel-core kernel-modules kernel-tools kernel-tools-libs kernel-headers kernel-devel
@@ -162,7 +162,7 @@ dnf versionlock add kmod-yfs
```
### Install Debuginfo Packages
## Install Debuginfo Packages
The package repositories for debuginfo packages are disabled by default. To spontaneously install such a package, do
@@ -176,5 +176,4 @@ If there is no such package in the repositories, then
```
Error: Execution of '/usr/bin/dnf -d 0 -e 1 -y install non-existing-package-for-test' returned 1: Error: Unable to find a match: non-existing-package-for-test
```
```