Skip to content

Commit

Permalink
Prevent updating qubes-release unless rpm is new enough
Browse files Browse the repository at this point in the history
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
  • Loading branch information
marmarek committed Feb 24, 2020
1 parent 7abfd19 commit 529c263
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions qubes-release.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 529c263

Please sign in to comment.