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
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
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
@stefanodavid I am installing on RHEL9 so I have to use the official "Single Server Installation Manual Install" instructions located here:
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.
@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.