From d032507d55b8d9284d800ea93076341efe16b65c Mon Sep 17 00:00:00 2001 From: ttasket Date: Fri, 3 Jun 2016 08:13:51 -0400 Subject: [PATCH] Add instructions for re-install package I needed to reinstall in dom0 but didn't see the procedure here... Found it in the mailing list. --- common-tasks/software-update-dom0.md | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/common-tasks/software-update-dom0.md b/common-tasks/software-update-dom0.md index c9bd1dcb..ebf6a2f9 100644 --- a/common-tasks/software-update-dom0.md +++ b/common-tasks/software-update-dom0.md @@ -60,12 +60,32 @@ Of course, command line tools are still available for accomplishing various upda Yum will say that there is no update, but the package will nonetheless be downloaded to dom0. -1. Downgrade the packge: +2. Downgrade the package: ~~~ sudo yum downgrade package-version ~~~ +### How to re-install a package + +You can re-install in a similar fashion to downgrading. + +1. Download the package: + + ~~~ + sudo qubes-dom0-update package + ~~~ + + Yum will say that there is no update, but the package will nonetheless be downloaded to dom0. + +2. Re-install the package: + + ~~~ + sudo yum reinstall package + ~~~ + + Note that yum 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 If you've installed a package such as anti-evil-maid, you can remove it with the following command: