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
feita há um ano533 visualizações
2 Respostas
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
ESPECIALISTA
respondido há um ano
profile picture
ESPECIALISTA
avaliado há um ano
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
ESPECIALISTA
Steve_M
respondido há um ano
profile picture
ESPECIALISTA
avaliado há um ano

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas