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
asked 10 months ago474 views
2 Answers
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
EXPERT
answered 10 months ago
profile picture
EXPERT
reviewed 10 months ago
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
EXPERT
Steve_M
answered 10 months ago
profile picture
EXPERT
reviewed 10 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions