dnf-versionlock: add page (#18703)

This commit is contained in:
Suresh Jagtap
2025-10-16 12:33:53 +05:30
committed by GitHub
parent 5694f57462
commit 3caa87576b
+26
View File
@@ -0,0 +1,26 @@
# dnf versionlock
> Protect packages from updates to newer versions.
> Not default to `dnf` but supported via `dnf-plugins-core`.
> See also: `dnf`.
> More information: <https://dnf-plugins-core.readthedocs.io/en/latest/versionlock.html>.
- List the current versionlock entries:
`dnf versionlock`
- Add a versionlock for all available packages matching the spec:
`dnf versionlock add {{package}}`
- Add an exclude (within versionlock) for the available packages matching the spec:
`dnf versionlock exclude {{package}}`
- Remove any matching versionlock entries:
`dnf versionlock delete {{package}}`
- Remove all versionlock entries:
`dnf versionlock clear`