mambabase/mambabase.py: run "sudo dnf update -y" instead of "pkcon update/upgrade-system" to fix PackageKit failing updating

This commit is contained in:
Silvan Calarco 2023-10-07 17:55:30 +02:00
parent 5bc661772b
commit 3c5d16a62f

View File

@ -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: