From 9b88cb1188a8bcf5a14a4a6edf4fbeb59e4e7ac1 Mon Sep 17 00:00:00 2001 From: Philip Li Date: Fri, 19 Apr 2024 10:21:24 +0800 Subject: [PATCH] distro/adaptation/centos: resolve curl confliction with installed package curl-minimal curl-minimal has been installed on centos9, which leads to below issue when trying to install curl from programs like makepkg. As a workaround, map curl to curl-minimal. Error: Problem: problem with installed package curl-minimal-7.76.1-29.el9.x86_64 - package curl-minimal-7.76.1-29.el9.x86_64 from @System conflicts with curl provided by curl-7.76.1-29.el9.x86_64 from baseos - package curl-minimal-7.76.1-22.el9.x86_64 from baseos conflicts with curl provided by curl-7.76.1-29.el9.x86_64 from baseos - package curl-minimal-7.76.1-23.el9.x86_64 from baseos conflicts with curl provided by curl-7.76.1-29.el9.x86_64 from baseos - package curl-minimal-7.76.1-26.el9.x86_64 from baseos conflicts with curl provided by curl-7.76.1-29.el9.x86_64 from baseos - package curl-minimal-7.76.1-28.el9.x86_64 from baseos conflicts with curl provided by curl-7.76.1-29.el9.x86_64 from baseos - package curl-minimal-7.76.1-29.el9.x86_64 from baseos conflicts with curl provided by curl-7.76.1-29.el9.x86_64 from baseos - package curl-minimal-7.76.1-12.el9.x86_64 from appstream conflicts with curl provided by curl-7.76.1-29.el9.x86_64 from baseos - package curl-minimal-7.76.1-14.el9.x86_64 from appstream conflicts with curl provided by curl-7.76.1-29.el9.x86_64 from baseos - cannot install the best candidate for the job (try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages) Signed-off-by: Philip Li --- distro/adaptation/centos | 1 + 1 file changed, 1 insertion(+) diff --git a/distro/adaptation/centos b/distro/adaptation/centos index 471c11140..af01da823 100644 --- a/distro/adaptation/centos +++ b/distro/adaptation/centos @@ -14,6 +14,7 @@ cgroupfs-mount: clang-6.0: clang.x86_64 cmake: cmake cmake3 cron: cronie +curl: curl-minimal dbench=4.0-2: dbench dc: bc default-jdk: java-1.8.0-openjdk-devel