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
posta un anno fa532 visualizzazioni
2 Risposte
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
ESPERTO
con risposta un anno fa
profile picture
ESPERTO
verificato un anno fa
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
ESPERTO
Steve_M
con risposta un anno fa
profile picture
ESPERTO
verificato un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande