From 3c5d16a62f992198a0bd17a9030a7a0f19078f60 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 7 Oct 2023 17:55:30 +0200 Subject: [PATCH] mambabase/mambabase.py: run "sudo dnf update -y" instead of "pkcon update/upgrade-system" to fix PackageKit failing updating --- mambabase/mambabase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mambabase/mambabase.py b/mambabase/mambabase.py index 8b49576..f912e31 100755 --- a/mambabase/mambabase.py +++ b/mambabase/mambabase.py @@ -126,7 +126,7 @@ class InstallThread(QtCore.QThread): 'label': _("Updating installed packages..."), 'details': _("Updating installed packages...")}) - result = subprocess.run(['pkcon', 'update', '-y'], + result = subprocess.run(['sudo', 'dnf', 'update', '-y'], stdout=subprocess.PIPE, stderr=subprocess.PIPE) if result.returncode == 0: if result.stdout: