Skip to content

Commit

Permalink
distro/adaptation/centos: resolve curl confliction with installed pac…
Browse files Browse the repository at this point in the history
…kage 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 <[email protected]>
  • Loading branch information
rli9 committed Apr 19, 2024
1 parent e52626e commit 9b88cb1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions distro/adaptation/centos
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9b88cb1

Please sign in to comment.