dnf versionlock
Protect packages from updates to newer versions. Not default to
dnfbut supported viadnf-plugins-core. 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
- Add an exclude (within versionlock) for the available packages matching the spec:
dnf versionlock exclude
- Remove any matching versionlock entries:
dnf versionlock delete
- Remove all versionlock entries:
dnf versionlock clear
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
