Merge branch 'pr/1417'

This commit is contained in:
Solène Rapenne 2025-02-18 08:28:26 +01:00
commit e9a971c08d
No known key found for this signature in database
GPG Key ID: 8CD42DFD57F0A909

View File

@ -65,44 +65,15 @@ commands to `dnf` using `--action=...`.
**WARNING:** Downgrading a package can expose your system to security **WARNING:** Downgrading a package can expose your system to security
vulnerabilities. vulnerabilities.
1. Download an older version of the package: To downgrade a specific package in dom0:
~~~ sudo qubes-dom0-update --action=downgrade package-version
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
~~~
## How to re-install a package ## 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 --action=reinstall 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`.
## How to uninstall a package ## How to uninstall a package