2019-07-08 22:23:30 -04:00
|
|
|
---
|
2021-03-13 13:06:18 -05:00
|
|
|
lang: en
|
2019-07-08 22:23:30 -04:00
|
|
|
layout: doc
|
2021-06-17 07:23:57 -04:00
|
|
|
permalink: /doc/how-to-update/
|
|
|
|
redirect_from:
|
|
|
|
- /doc/updating-qubes-os/
|
2021-03-13 13:06:18 -05:00
|
|
|
ref: 200
|
2021-06-17 07:23:57 -04:00
|
|
|
title: How to Update
|
2019-07-08 22:23:30 -04:00
|
|
|
---
|
|
|
|
|
2021-06-18 09:25:06 -04:00
|
|
|
*This page is about updating your system while staying on the same [supported
|
|
|
|
version of Qubes OS](/doc/supported-versions/#qubes-os). If you're instead
|
|
|
|
looking to upgrade from your current version of Qubes OS to a newer version,
|
|
|
|
see the [Upgrade Guides](/doc/upgrade/).*
|
2019-07-08 22:23:30 -04:00
|
|
|
|
2021-05-06 09:34:50 -04:00
|
|
|
<div class="alert alert-danger" role="alert">
|
|
|
|
<i class="fa fa-exclamation-triangle"></i>
|
2021-06-18 09:25:06 -04:00
|
|
|
<b>Warning:</b> Updating with direct commands such as
|
|
|
|
<code>qubes-dom0-update</code>, <code>dnf update</code>, and <code>apt
|
|
|
|
update</code> is <b>not</b> recommended, since these bypass built-in Qubes OS
|
|
|
|
update security measures. Instead, we strongly recommend using the <b>Qubes
|
|
|
|
Update</b> tool or its command-line equivalents, as described below. (By
|
|
|
|
contrast, <a href="/doc/how-to-install-software/">installing</a> packages
|
|
|
|
using direct package manager commands is fine.)
|
2021-05-06 09:34:50 -04:00
|
|
|
</div>
|
|
|
|
|
2021-06-15 00:46:52 -04:00
|
|
|
## Security updates
|
|
|
|
|
2021-06-18 09:25:06 -04:00
|
|
|
Security updates are an extremely important part of keeping your Qubes
|
|
|
|
installation secure. When there is an important security issue, we will issue a
|
|
|
|
[Qubes Security Bulletin (QSB)](/security/bulletins/) via the [Qubes Security
|
|
|
|
Pack (`qubes-secpack`)](/security/pack/). It is very important to read each new
|
|
|
|
QSB and follow any user instructions it contains. Most of the time, simply
|
|
|
|
[updating your system normally](#routine-updates) will be sufficient to obtain
|
|
|
|
security updates. However, in some cases, special action may be required on
|
|
|
|
your part, which will be explained in the QSB.
|
2021-06-15 00:46:52 -04:00
|
|
|
|
2021-05-10 15:50:50 -04:00
|
|
|
## Routine updates
|
|
|
|
|
2021-06-18 09:25:06 -04:00
|
|
|
It is important to keep your Qubes OS system up-to-date to ensure you have the
|
|
|
|
latest [security updates](#security-updates), as well as the latest
|
|
|
|
non-security enhancements and bug fixes.
|
2021-03-08 08:27:53 -05:00
|
|
|
|
2019-07-08 22:23:30 -04:00
|
|
|
Fully updating your Qubes OS system means updating:
|
|
|
|
|
2021-06-18 09:47:40 -04:00
|
|
|
- [dom0](/doc/glossary/#dom0)
|
|
|
|
- [templates](/doc/glossary/#template)
|
|
|
|
- [standalones](/doc/glossary/#standalone) (if you have any)
|
2019-07-08 22:23:30 -04:00
|
|
|
|
2021-03-11 09:28:22 -05:00
|
|
|
You can accomplish this using the **Qubes Update** tool.
|
2021-03-14 23:42:32 -04:00
|
|
|
|
2021-06-18 08:46:02 -04:00
|
|
|
[![Qubes Update](/attachment/doc/r4.0-software-update.png)](/attachment/doc/r4.0-software-update.png)
|
2021-03-14 23:42:32 -04:00
|
|
|
|
2021-06-18 09:25:06 -04:00
|
|
|
By default, the Qubes Update tool will appear as an icon in the Notification
|
|
|
|
Area when updates are available.
|
2021-03-15 18:10:05 -04:00
|
|
|
|
2021-06-18 08:46:02 -04:00
|
|
|
[![Qube Updates Available](/attachment/doc/r4.0-qube-updates-available.png)](/attachment/doc/r4.0-qube-updates-available.png)
|
2021-03-15 18:10:05 -04:00
|
|
|
|
2021-06-18 09:25:06 -04:00
|
|
|
However, you can also start the tool manually by selecting it in the
|
|
|
|
Applications Menu under "System Tools." Even if no updates have been detected,
|
|
|
|
you can use this tool to check for updates manually at any time by selecting
|
|
|
|
"Enable updates for qubes without known available updates," then selecting all
|
|
|
|
desired items from the list and clicking "Next."
|
2021-03-11 09:28:22 -05:00
|
|
|
|
2021-05-06 09:34:50 -04:00
|
|
|
<div class="alert alert-info" role="alert">
|
|
|
|
<i class="fa fa-info-circle"></i>
|
2021-06-18 09:25:06 -04:00
|
|
|
<b>Advanced users and developers:</b> For the command-line equivalents of
|
|
|
|
using the <b>Qubes Update</b> tool, see the Salt formulae <a
|
|
|
|
href="/doc/salt/#updatequbes-dom0"><code>update.qubes-dom0</code></a> and <a
|
|
|
|
href="/doc/salt/#updatequbes-vm"><code>update.qubes-vm</code></a>. For
|
|
|
|
enabling testing repos, see <a href="/doc/testing/">Testing new releases and
|
|
|
|
updates</a>.
|
2021-05-06 09:34:50 -04:00
|
|
|
</div>
|
2019-07-08 22:23:30 -04:00
|
|
|
|
2021-05-10 15:50:50 -04:00
|
|
|
## Upgrading to stay on a supported release
|
|
|
|
|
2021-06-15 00:46:52 -04:00
|
|
|
The above covers updating *within* a given operating system release.
|
2021-06-18 09:25:06 -04:00
|
|
|
Eventually, however, most operating system releases will reach [end-of-life
|
|
|
|
(EOL)](https://fedoraproject.org/wiki/End_of_life), after which point they will
|
|
|
|
no longer be supported. This applies to [Qubes OS
|
|
|
|
itself](/doc/supported-versions/#qubes-os) as well as operating systems used
|
|
|
|
for templates and standalones, such as [Fedora](/doc/templates/fedora/) and
|
|
|
|
[Debian](/doc/templates/debian/). It is very important to use only supported
|
|
|
|
releases, since generally only supported releases receive security updates.
|
|
|
|
This means that you must periodically upgrade to a newer release before your
|
|
|
|
current release reaches EOL.
|
|
|
|
|
|
|
|
In the case of Qubes OS itself, we will always
|
|
|
|
[announce](/news/categories/#releases) when a given Qubes OS release is
|
|
|
|
approaching and has reached EOL, and we will provide [instructions for
|
|
|
|
upgrading to the next stable supported Qubes OS release](/doc/upgrade/). Again,
|
|
|
|
you can always see the current support status for all Qubes OS releases
|
|
|
|
[here](/doc/supported-versions/#qubes-os).
|
|
|
|
|
|
|
|
Periodic upgrades are also important for templates and standalones. For
|
|
|
|
example, you might be using a [Fedora Template](/doc/templates/fedora/). The
|
|
|
|
[Fedora Project](https://getfedora.org/) is independent of the Qubes OS
|
|
|
|
Project. They set their own
|
|
|
|
[schedule](https://fedoraproject.org/wiki/Fedora_Release_Life_Cycle#Maintenance_Schedule)
|
|
|
|
for when each Fedora release reaches EOL. You can always find out when an
|
|
|
|
operating system reaches EOL from the upstream project that maintains it, but
|
|
|
|
we also make EOL [announcements](/news/categories/#announcements) and publish
|
|
|
|
guides for official template operating systems as a convenience to Qubes users.
|
|
|
|
When this happens, you should make sure to follow the guide to upgrade to a
|
|
|
|
supported version of that operating system (see the [Fedora upgrade
|
|
|
|
guides](/doc/templates/fedora/#upgrading) and the [Debian upgrade
|
|
|
|
guides](/doc/templates/debian/#upgrading)).
|
|
|
|
|
|
|
|
The one exception to all this is the specific release used for dom0 (not to be
|
|
|
|
confused with Qubes OS as a whole), which [doesn't have to be
|
|
|
|
upgraded](/doc/supported-versions/#note-on-dom0-and-eol).
|
2021-04-10 18:09:05 -04:00
|
|
|
|