From 3cbe2fa7e793e35d7bf2b3a0a6822d48e2c804c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Wed, 13 May 2015 02:34:51 +0200 Subject: [PATCH] dom0-update: clear error marker before downloading new packages (#987) Otherwise if some package download fails once - further tries will also report errors. Fixes qubesos/qubes-issues#987 (cherry picked from commit f2b5cf1cc0dce32880671b20fef98b5f977d994b) --- dom0-updates/qubes-dom0-update | 1 + 1 file changed, 1 insertion(+) diff --git a/dom0-updates/qubes-dom0-update b/dom0-updates/qubes-dom0-update index 12b1b04..c6b9643 100755 --- a/dom0-updates/qubes-dom0-update +++ b/dom0-updates/qubes-dom0-update @@ -112,6 +112,7 @@ fi if [ -n "$CLEAN" ]; then rm -f /var/lib/qubes/updates/rpm/* fi +rm -f /var/lib/qubes/updates/errors # We should ensure the clocks in Dom0 and UpdateVM are in sync # becuase otherwise yum might complain about future timestamps