This one is going to be more painful in general than CentOS7/RHEL7....
The problem is that RHEL for whatever reason decided to omit building perl bindings for their net-snmp rpms. Unfortunately, the net-snmp-perl bindings demand *exact* match between the perl bindings and the rest of net-snmp. In RHEL7, it was a bit annoying because it was in 'optional' channel but so long as you used rhn, it was fine. For centos 7, they treated net-snmp-perl normally. In RHEL/CentOS8, they just don' t built it at all, not merely in a slightly odd place. So we have to pull into deps the latest centos8 src rpm and rebuild all the net-snmp rpms to have an installable net-snmp-perl to compete with the rhel/centos updates. My whining aside, here's for example one snet-snmp src rpm link that I can't read: https://koji.mbox.centos.org/pkgs/packages/net-snmp/5.8/7.el8_0.2/src/net-snmp-5.8-7.el8_0.2.src.rpm vault has older src.rpm http://vault.centos.org/centos/8/BaseOS/Source/SPackages/net-snmp-5.8-7.el8_0.1.src.rpm The standard nowadays seems to be to get it from their git server, e.g.: https://git.centos.org/rpms/net-snmp/tree/3a944883e52f10d3af9f8041e27c21e5b0fe998e Once you have either the git tree with spec and sources or a src rpm, building your own can workaround. For example with a src.rpm: # rpmbuild --rebuild net-snmp-5.8-7.el8_0.1.src.rpm --define '%netsnmp_check 0' ... /root/rpmbuild/RPMS/x86_64/net-snmp-perl-5.8-7.el8.1.x86_64.rpm The netsnmp_check 0 is optional, but the 'make tests' takes a long time and doesn't do anything useful in this scenario. -----Original Message----- From: Thomas HUMMEL <[email protected]> Sent: Tuesday, November 12, 2019 6:07 AM To: [email protected] Subject: [External] [xcat-user] xCAT 2.15 / CentOS 8 net-snmp-perl update problems Hello, I installed xCAT 2.15 on CentOS Linux release 8.0.1905 (Core) x86_64 but when I try to update the OS (yum update) I face the following problem : # yum update Last metadata expiration check: 0:28:34 ago on Tue 12 Nov 2019 10:42:50 AM CET. Error: Problem 1: package net-snmp-perl-1:5.8-7.el8.x86_64 requires net-snmp-agent-libs(x86-64) = 1:5.8-7.el8, but none of the providers can be installed - cannot install both net-snmp-agent-libs-1:5.8-7.el8_0.2.x86_64 and net-snmp-agent-libs-1:5.8-7.el8.x86_64 - cannot install the best update candidate for package net-snmp-perl-1:5.8-7.el8.x86_64 - cannot install the best update candidate for package net-snmp-agent-libs-1:5.8-7.el8.x86_64 Problem 2: package xCAT-server-4:2.15-snap201911041517.noarch requires perl(SNMP), but none of the providers can be installed - package net-snmp-perl-1:5.8-7.el8.x86_64 requires net-snmp-libs(x86-64) = 1:5.8-7.el8, but none of the providers can be installed - cannot install both net-snmp-libs-1:5.8-7.el8_0.2.x86_64 and net-snmp-libs-1:5.8-7.el8.x86_64 - cannot install the best update candidate for package xCAT-server-4:2.15-snap201911041517.noarch - cannot install the best update candidate for package net-snmp-libs-1:5.8-7.el8.x86_64 (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) On my system (@pasteur-http-maestro-mirrors* is just a mirror of CentOS ones) here's what's installed before the yum update : # dnf list --installed | grep -i snmp net-snmp-agent-libs.x86_64 1:5.8-7.el8 @pasteur-http-maestro-AppStream net-snmp-libs.x86_64 1:5.8-7.el8 @pasteur-http-maestro-mirrors-base net-snmp-perl.x86_64 1:5.8-7.el8 @xcat-dep And as far as I can see, Appstream provides newer releases of the packages required by net-snmp-perl... Thanks -- TH _______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user _______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user
