[jhbuild] systeminstall: prefer dnf over PackageKit
- From: Patrick Griffis <pgriffis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [jhbuild] systeminstall: prefer dnf over PackageKit
- Date: Fri, 22 Apr 2022 17:32:15 +0000 (UTC)
commit 99085970c8343ff93461c94ef7c5e755463c4651
Author: Sebastian Wick <sebastian wick redhat com>
Date: Tue Feb 1 12:17:58 2022 +0100
systeminstall: prefer dnf over PackageKit
PackageKit in a toolbox is broken and there is no good reason to keep
prefering PackageKit over dnf so let's change that.
jhbuild/utils/systeminstall.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/jhbuild/utils/systeminstall.py b/jhbuild/utils/systeminstall.py
index edccde33..86c04a95 100644
--- a/jhbuild/utils/systeminstall.py
+++ b/jhbuild/utils/systeminstall.py
@@ -586,8 +586,7 @@ class AptSystemInstall(SystemInstall):
def detect(cls):
return cmds.has_command('apt-file')
-# Ordered from best to worst. DNF is only last because its newer than PackageKit.
-_classes = [AptSystemInstall, PacmanSystemInstall, PKSystemInstall, DNFSystemInstall]
+_classes = [AptSystemInstall, PacmanSystemInstall, DNFSystemInstall, PKSystemInstall]
if __name__ == '__main__':
logging.basicConfig(level=logging.INFO)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]