cloudhsm-client install failed due to conflict dependencies

0

Hello team,

I tried installing cloudhsm-client using - https://docs.aws.amazon.com/cloudhsm/latest/userguide/cmu-install-and-configure-client-linux.html . Attaching error trace below. Let me know if there's something I'm missing here.

$ sudo yum install ./cloudhsm-client-latest.el6.x86_64.rpm
Last metadata expiration check: 0:07:14 ago on Fri Jun 30 05:20:28 2023.
Error: 
 Problem: package cloudhsm-mgmt-util-3.4.4-1.el7.x86_64 conflicts with cloudhsm-client >= 1.0.0 provided by cloudhsm-client-3.4.4-1.el6.x86_64
  - package cloudhsm-client-3.4.4-1.el6.x86_64 conflicts with cloudhsm-mgmt-util >= 3.3.0 provided by cloudhsm-mgmt-util-3.4.4-1.el7.x86_64
  - conflicting requests
  - problem with installed package cloudhsm-mgmt-util-3.4.4-1.el7.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages)
AWS
已提问 1 年前533 查看次数
2 回答
0

Hi, it seems that you already have an installed version of cloudhsm-mgmt-util-3.4.4-1.el7.x86_64 which already brings cloudhsm-client

Can you try 'sudo yum list installed' to list all installed packages and check if cloudhsm-client is already present?

If yes, you can you use this already installed version.

Best, Didier

profile pictureAWS
专家
已回答 1 年前
profile picture
专家
已审核 1 年前
0

The CloudHSM client package is specifically setup to refuse to install on a host that has the CloudHSM Management Utility already installed on it.

$ rpm -q --conflicts cloudhsm-client-latest.el6.x86_64.rpm
cloudhsm-mgmt-util >= 3.3.0
$

I don't know much about CloudHSM but is it normal practice for the client software to be installed on the same host as the Management Utility software? Or should the client be installed onto another host, and the client host makes a connection to the cluster?

Creating a cluster https://docs.aws.amazon.com/cloudhsm/latest/userguide/create-cluster.html looks to be separate to installing a client https://docs.aws.amazon.com/cloudhsm/latest/userguide/launch-client-instance.html https://docs.aws.amazon.com/cloudhsm/latest/userguide/cmu-install-and-configure-client-linux.html

profile picture
专家
Steve_M
已回答 1 年前
profile picture
专家
已审核 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则