From 927eb5a7bebb248f163f4b8b16cfba63989b2374 Mon Sep 17 00:00:00 2001 From: RedBearAK <64876997+RedBearAK@users.noreply.github.com> Date: Mon, 16 Dec 2024 23:50:19 -0900 Subject: [PATCH] Use '--nobest' DNF option on CentOS Stream 10 --- setup_toshy.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/setup_toshy.py b/setup_toshy.py index 3a11d842..336a27ca 100755 --- a/setup_toshy.py +++ b/setup_toshy.py @@ -1432,7 +1432,11 @@ def install_on_rhel_based(): if cnfg.distro_mjr_ver in ['10']: quirks_handler.handle_quirks_RHEL_10() - cmd_lst = ['sudo', 'dnf', 'install', '-y'] + # Package version repo conflict issues on CentOS 10 made installing difficult + if cnfg.DISTRO_ID == 'centos' and cnfg.distro_mjr_ver == '10': + cmd_lst = ['sudo', 'dnf', 'install', '-y', '--nobest'] + else: + cmd_lst = ['sudo', 'dnf', 'install', '-y'] native_pkg_installer.install_pkg_list(cmd_lst, cnfg.pkgs_for_distro) def install_on_fedora_based():