summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rwxr-xr-xmgaapplet-upgrade-helper2
2 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 240db824..7784b465 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- stop dnf-makecache.timer before starting upgrade (mga#25072)
+
Version 3.24.1 - 1 August 2017, RĂ©mi Verschelde
- fix the context menu in mgaapplet
diff --git a/mgaapplet-upgrade-helper b/mgaapplet-upgrade-helper
index e709d8f3..c00dd3f7 100755
--- a/mgaapplet-upgrade-helper
+++ b/mgaapplet-upgrade-helper
@@ -207,6 +207,8 @@ sub upgrade() {
run_program::raw({ detach => 1 }, 'xdg-screensaver', 'suspend', $xid);
my $_w = before_leaving { run_program::raw({ detach => 1 }, 'xdg-screensaver', 'resume', $xid) };
+ run_program::run('systemctl', 'stop', 'dnf-makecache.timer');
+
my $file = "$ENV{HOME}/.MgaOnline/urpmi.cfg.backup." . int(rand 100000);
log::explanations("backuping urpmi configuration in $file");
cp_af("$root/etc/urpmi/urpmi.cfg", $file);