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 年前檢視次數 532 次
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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南