rhel9 install servi...
 
Notifications
Clear all

rhel9 install service-discovery package conflict

6 Posts
3 Users
0 Reactions
121 Views
(@msmcknight)
Joined: 2 years ago
Posts: 14
Topic starter  

I'm trying to install on RHEL9 and service-discover-agent and service-discover-server conflict.  I get errors like this:

# dnf install service-discover-server
Last metadata expiration check: 0:16:32 ago on Fri 09 Aug 2024 04:49:35 AM EDT.
Error:
Problem: problem with installed package service-discover-agent-0.1.11-1.el9.x86_64
- package service-discover-agent-0.1.11-1.el9.x86_64 from @System conflicts with service-discover-server provided by service-discover-server-0.1.11-1.el9.x86_64 from zextras
- package service-discover-server-0.1.11-1.el9.x86_64 from zextras conflicts with service-discover-agent provided by service-discover-agent-0.1.11-1.el9.x86_64 from @System
- package service-discover-agent-0.1.11-1.el9.x86_64 from zextras conflicts with service-discover-server provided by service-discover-server-0.1.11-1.el9.x86_64 from zextras
- package service-discover-server-0.1.11-1.el9.x86_64 from zextras conflicts with service-discover-agent provided by service-discover-agent-0.1.11-1.el9.x86_64 from zextras
- conflicting requests
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

 

If I delete the agent, install the server, and then try to install the agent again I get:

Error:
Problem: problem with installed package service-discover-server-0.1.11-1.el9.x86_64
- package service-discover-server-0.1.11-1.el9.x86_64 from @System conflicts with service-discover-agent provided by service-discover-agent-0.1.11-1.el9.x86_64 from zextras
- package service-discover-agent-0.1.11-1.el9.x86_64 from zextras conflicts with service-discover-server provided by service-discover-server-0.1.11-1.el9.x86_64 from @System
- package service-discover-agent-0.1.11-1.el9.x86_64 from zextras conflicts with service-discover-server provided by service-discover-server-0.1.11-1.el9.x86_64 from zextras
- package service-discover-server-0.1.11-1.el9.x86_64 from zextras conflicts with service-discover-agent provided by service-discover-agent-0.1.11-1.el9.x86_64 from zextras
- conflicting requests
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

 

How can I get past this?

Thank you


   
Quote
(@msmcknight)
Joined: 2 years ago
Posts: 14
Topic starter  

Bump here.... I tried to move on with the installation but it fails at step "service-discover setup-wizard" because it can't find the agent.

Any help would be appreciated.

Thank you


   
ReplyQuote
(@zendx)
Joined: 7 years ago
Posts: 3
 

Well... Same problem on RHEL8

 

Problem: problem with installed package service-discover-agent-0.2.1-1.x86_64
- package service-discover-agent-0.2.1-1.x86_64 from @System conflicts with service-discover-server provided by service-discover-server-0.2.1-1.x86_64 from zextras
- package service-discover-server-0.2.1-1.x86_64 from zextras conflicts with service-discover-agent provided by service-discover-agent-0.2.1-1.x86_64 from @System
- package service-discover-agent-0.1.10-1.el8.x86_64 from zextras conflicts with service-discover-server provided by service-discover-server-0.2.1-1.x86_64 from zextras
- package service-discover-server-0.2.1-1.x86_64 from zextras conflicts with service-discover-agent provided by service-discover-agent-0.1.10-1.el8.x86_64 from zextras
- package service-discover-server-0.2.1-1.x86_64 from zextras conflicts with service-discover-agent provided by service-discover-agent-0.2.1-1.x86_64 from zextras
- package service-discover-agent-0.2.1-1.x86_64 from zextras conflicts with service-discover-server provided by service-discover-server-0.2.1-1.x86_64 from zextras
- package service-discover-server-0.2.1-1.x86_64 from zextras conflicts with service-discover-agent provided by service-discover-agent-0.1.11-1.el8.x86_64 from zextras
- package service-discover-agent-0.1.11-1.el8.x86_64 from zextras conflicts with service-discover-server provided by service-discover-server-0.2.1-1.x86_64 from zextras
- package service-discover-server-0.2.1-1.x86_64 from zextras conflicts with service-discover-agent provided by service-discover-agent-0.1.9-1.el8.x86_64 from zextras
- package service-discover-agent-0.1.9-1.el8.x86_64 from zextras conflicts with service-discover-server provided by service-discover-server-0.2.1-1.x86_64 from zextras
- package service-discover-server-0.2.1-1.x86_64 from zextras conflicts with service-discover-agent provided by service-discover-agent-0.1.8-1.el8.x86_64 from zextras
- package service-discover-agent-0.1.8-1.el8.x86_64 from zextras conflicts with service-discover-server provided by service-discover-server-0.2.1-1.x86_64 from zextras

   
ReplyQuote
(@stefanodavid)
Joined: 3 years ago
Posts: 202
 
@msmcknight the service-discover-agent and service-discover-server packages are mutually exclusive, you can not install them on a same Node (and you do not have to as service-discovery does not need to have a dedicated client installed on the server, like e.g., PostgreSQL)).
 
Which script have you tried? Please follow the official instructions available at https://docs.zextras.com/carbonio-ce/html/install/scenarios.html

   
ReplyQuote
(@msmcknight)
Joined: 2 years ago
Posts: 14
Topic starter  

@stefanodavid I am installing on RHEL9 so I have to use the official "Single Server Installation Manual Install" instructions located here:

https://docs.zextras.com/carbonio-ce/html/install/scenarios/single-server-scenario.html#single-install-manual

In that document, in the preliminary steps it states to run:

dnf -y install postgresql16 postgresql16-server service-discover-agent

 

Then later in Step 3 it states to run:

dnf install service-discover-server

 

It's telling us to install both service-discover-agent and service-discover-server. 

You seem to be saying that the agent isn't required... and I thought the same... but, as mentioned in my comment earlier in this thread (Aug 10th), if I try to proceed without the agent, it fails at Step 7 when I run "service-discover setup-wizard" complaining that it cant find the agent.

 

 

 

 

 

 

 

This post was modified 2 weeks ago by msmcknight

   
ReplyQuote
(@stefanodavid)
Joined: 3 years ago
Posts: 202
 

@msmcknight  Now I get it, thanks. I am going to amend the instructions! In a Single-Server you never install the service-discover-agent package as it is not needed.


   
ReplyQuote