merge form upstream

This commit is contained in:
qubedmaiska 2025-02-21 04:48:20 -05:00
commit 2093a276b8
No known key found for this signature in database
GPG key ID: 204BCE0FD52C0501
5 changed files with 25 additions and 41 deletions

View file

@ -65,44 +65,15 @@ commands to `dnf` using `--action=...`.
**WARNING:** Downgrading a package can expose your system to security
vulnerabilities.
1. Download an older version of the package:
To downgrade a specific package in dom0:
~~~
sudo qubes-dom0-update package-version
~~~
Dnf will say that there is no update, but the package will nonetheless be
downloaded to dom0.
2. Downgrade the package:
~~~
sudo dnf downgrade package-version
~~~
sudo qubes-dom0-update --action=downgrade package-version
## How to re-install a package
You can re-install in a similar fashion to downgrading.
To re-install a package in dom0:
1. Download the package:
~~~
sudo qubes-dom0-update package
~~~
Dnf will say that there is no update, but the package will nonetheless be
downloaded to dom0.
2. Re-install the package:
~~~
sudo dnf reinstall package
~~~
Note that `dnf` will only re-install if the installed and downloaded
versions match. You can ensure they match by either updating the package to
the latest version, or specifying the package version in the first step
using the form `package-version`.
sudo qubes-dom0-update --action=reinstall package
## How to uninstall a package