mambabase/mambabase.py: run "sudo dnf update -y" instead of "pkcon update/upgrade-system" to fix PackageKit failing updating
This commit is contained in:
parent
5bc661772b
commit
3c5d16a62f
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user