dom0-updates: use dnf --best --allowerasing

Otherwise `dnf install` do not want to upgrade existing packages, or
upgrading other packages to satisfy dependencies.

Fixes QubesOS/qubes-issues#2100
This commit is contained in:
Marek Marczykowski-Górecki 2016-06-21 04:33:46 +02:00
parent 191b2a4cd9
commit 9aeecb91f3
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -53,7 +53,7 @@ fi
YUM="yum"
if type dnf >/dev/null 2>&1; then
YUM="dnf"
YUM="dnf --best --allowerasing"
fi
if ! [ -d "$DOM0_UPDATES_DIR" ]; then