core-agent-linux/package-managers
Marek Marczykowski-Górecki f95f08e15f
Merge remote-tracking branch 'origin/pr/267'
* origin/pr/267:
  fix for ArchLinux: notify dom0 about installed updates The launch of the qubes-update-check service failed on ArchLinux, because the qubes-rpc uses the `service` command which isn't available for this OS.
  fix archlinux detection of available upgrades note: checkupdates return 2 when no updates are available (source: man page and source code)
  upgrades-installed-check requires pacman-contrib for checkupdates
2021-01-03 05:25:57 +01:00
..
apt-conf-00notify-hook Split items in misc directory by topic 2020-02-04 23:59:09 +00:00
apt-conf-10no-cache Disable package caching in apt operations 2020-01-15 18:47:53 +00:00
apt-conf-70no-unattended Split items in misc directory by topic 2020-02-04 23:59:09 +00:00
apt-qubes-archive-keyring.gpg Split items in misc directory by topic 2020-02-04 23:59:09 +00:00
apt-qubes-r4.list.in Split items in misc directory by topic 2020-02-04 23:59:09 +00:00
dnf-qubes-hooks.conf Split items in misc directory by topic 2020-02-04 23:59:09 +00:00
dnf-qubes-hooks.py dnf: update for DNF 4+ API 2020-06-27 05:37:55 +02:00
Makefile dnf-plugin: restrict to only version provided by plateform-python 2020-10-30 10:46:56 +01:00
qubes-download-dom0-updates.sh Merge remote-tracking branch 'origin/pr/269' 2021-01-03 05:23:48 +01:00
README.md Add README.md to package-managers 2020-02-05 00:12:23 +00:00
RPM-GPG-KEY-qubes-4-centos Split items in misc directory by topic 2020-02-04 23:59:09 +00:00
RPM-GPG-KEY-qubes-4-primary Split items in misc directory by topic 2020-02-04 23:59:09 +00:00
RPM-GPG-KEY-qubes-4-unstable Split items in misc directory by topic 2020-02-04 23:59:09 +00:00
upgrades-installed-check Merge remote-tracking branch 'origin/pr/267' 2021-01-03 05:25:57 +01:00
upgrades-status-notify Split items in misc directory by topic 2020-02-04 23:59:09 +00:00
yum-qubes-hooks.conf Split items in misc directory by topic 2020-02-04 23:59:09 +00:00
yum-qubes-hooks.py Split items in misc directory by topic 2020-02-04 23:59:09 +00:00
yum-qubes-r4.repo.in Metadata is now signed 2020-12-22 16:08:57 -05:00

Package managers

Each Qubes VM should notify Qubes updater in dom0 of new updates available for the particular template or standalone VM. The is the configuration and hooks for various package managers to interact with Qubes updater. Moreover Qubes OS dom0 updates are downloaded by a Qubes VM, rather directly in dom0 which doesn't have networking configured at all.

dom0 updates download

qubes-download-dom0-updates.sh handles downloading packages for dom0 in VM. It needs to be installed in VM which will handle dom0 updates download only.

Apt

The configuration includes:

  1. Hook to notify dom0.
  2. Disabling unattended upgrades (Qubes updater).
  3. List of repos with Qubes packages for VM.