From 529c263119530712b8c31987b1ec780f387f6051 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Mon, 24 Feb 2020 11:35:26 +0100 Subject: [PATCH] Prevent updating qubes-release unless rpm is new enough New repositories require rpm 4.14 (packages compressed with zstd) and also new rpm requires qubes-core-dom0-linux >= 4.0.23 (different output in rpm -K). Prevent installing new qubes-release unless those other updates are installed too. Otherwise updating the system will stop working. QubesOS/qubes-issues#5685 --- qubes-release.spec.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qubes-release.spec.in b/qubes-release.spec.in index 9b3a6a5..dea17ea 100644 --- a/qubes-release.spec.in +++ b/qubes-release.spec.in @@ -15,6 +15,8 @@ Provides: fedora-release = %{fedora_base_version}-%{release} Provides: redhat-release = %{fedora_base_version}-%{release} Provides: system-release = %{fedora_base_version}-%{release} Provides: system-release(releasever) = %{version} +Conflicts: rpm < 4.14 +Conflicts: qubes-core-dom0-linux < 4.0.23 Obsoletes: qubes-dom0-dist-upgrade <= 3.2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch