mirror of
https://github.com/QubesOS/qubes-doc.git
synced 2025-01-13 16:29:59 -05:00
SoftwareUpdateDom0 changed
Updated for R2B3 + general cleanup.
This commit is contained in:
parent
33cec84bcb
commit
ea7eac7748
@ -4,50 +4,52 @@ title: SoftwareUpdateDom0
|
||||
permalink: /wiki/SoftwareUpdateDom0/
|
||||
---
|
||||
|
||||
Updating software in Dom0
|
||||
Updating software in dom0
|
||||
=========================
|
||||
|
||||
Why would one want to update software in Dom0?
|
||||
Why would one want to update software in dom0?
|
||||
----------------------------------------------
|
||||
|
||||
Normally there should be few reasons for updating software in Dom0. This is because there is no networking in Dom0, which means that even if some bugs will be discovered e.g. in the Dom0 Desktop Manager, this really is not a problem for Qubes, because all the 3rd party software running in Dom0 is not accessible from VMs or network in any way. Some exceptions to the above include: Qubes GUI daemon, Xen store daemon, and disk back-ends (we plan move the disk backends to untrusted domain in Qubes 2.0). Of course we believe this software is reasonably secure and we hope it will not need patching.
|
||||
Normally, there should be few reasons for updating software in dom0. This is because there is no networking in dom0, which means that even if some bugs are discovered e.g. in the dom0 Desktop Manager, this really is not a problem for Qubes, because none of the 3rd party software running in dom0 is accessible from VMs or the network in any way. Some exceptions to this include: Qubes GUI daemon, Xen store daemon, and disk back-ends. (We plan move the disk backends to an untrusted domain in Qubes 2.0.) Of course, we believe this software is reasonably secure, and we hope it will not need patching.
|
||||
|
||||
However, we anticipate some other situations when updating Dom0 software might be required:
|
||||
However, we anticipate some other situations in which updating dom0 software might be necessary or desirable:
|
||||
|
||||
- Updating drivers/libs for new hardware support
|
||||
- Correcting non-security related bugs (e.g. new buttons for qubes manager)
|
||||
- Adding new features (e.g. GUI backup tool)
|
||||
|
||||
How to do that?
|
||||
---------------
|
||||
How to update software in dom0
|
||||
------------------------------
|
||||
|
||||
Start a console in Dom0 and then run one of the following command:
|
||||
As of Qubes R2 Beta 3, the main update functions have been integrated into the Qubes VM Manager GUI: Simply select dom0 in the VM list, then click the **Update VM system** button (the blue, downward-pointing arrow). In addition, updating dom0 has been made more convenient: You will be prompted on the desktop whenever new dom0 updates are available and given the choice to run the update with a single click.
|
||||
|
||||
1) To check and install updates for Dom0 software:
|
||||
Of course, command line tools are still available for accomplishing various update-related tasks (some of which are not available via Qubes VM Manager). In order to update dom0 from the command line, start a console in dom0 and then run one of the following commands:
|
||||
|
||||
``` {.wiki}
|
||||
$ sudo qubes-dom0-update
|
||||
```
|
||||
1. To check and install updates for dom0 software:
|
||||
|
||||
2) To install additional packages in Dom0 (usually not recommended):
|
||||
``` {.wiki}
|
||||
$ sudo qubes-dom0-update
|
||||
```
|
||||
|
||||
``` {.wiki}
|
||||
$ sudo qubes-dom0-update anti-evil-maid
|
||||
```
|
||||
1. To install additional packages in dom0 (usually not recommended):
|
||||
|
||||
You can also pass --enablerepo= option in order to enable optional repositories (see yum configuration in Dom0). This is only for advanced users who really understand what they are doing.
|
||||
``` {.wiki}
|
||||
$ sudo qubes-dom0-update anti-evil-maid
|
||||
```
|
||||
|
||||
### How to downgrade specific package?
|
||||
You may also pass the `--enablerepo=` option in order to enable optional repositories (see yum configuration in dom0). However, this is only for advanced users who really understand what they are doing.
|
||||
|
||||
1. Download older version of package:
|
||||
### How to downgrade a specific package
|
||||
|
||||
1. Download an older version of the package:
|
||||
|
||||
``` {.wiki}
|
||||
sudo qubes-dom0-update package-version
|
||||
```
|
||||
|
||||
Yum will say that there is no update, but package will be downloaded to dom0.
|
||||
Yum will say that there is no update, but the package will nonetheless be downloaded to dom0.
|
||||
|
||||
2. Downgrade packge:
|
||||
1. Downgrade the packge:
|
||||
|
||||
``` {.wiki}
|
||||
sudo yum downgrade package-version
|
||||
|
Loading…
Reference in New Issue
Block a user