mirror of
https://github.com/QubesOS/qubes-doc.git
synced 2024-10-01 01:25:40 -04:00
Fix a dom0 package downgrade/reinstall commands
This commit is contained in:
parent
d265a86486
commit
9783171ce7
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user