mirror of
https://github.com/QubesOS/qubes-doc.git
synced 2025-02-23 08:19:52 -05:00
Merge branch 'pr/1417'
This commit is contained in:
commit
e9a971c08d
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user