I was looking this issue too, Do u think xCAT needs to rebuild net-snmp-perl? I didn't see this issue for rhels8
Thanks, Casandra ................................................................... Casandra Hong Qiu Phone: (845) 433-9291, t/l 293-9291 Office: Building 8, 3-B-04 [email protected] From: Jarrod Johnson <[email protected]> To: xCAT Users Mailing list <[email protected]> Date: 11/12/2019 02:36 PM Subject: Re: [xcat-user] [External] xCAT 2.15 / CentOS 8 net-snmp-perl update problems 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://urldefense.proofpoint.com/v2/url?u=https-3A__koji.mbox.centos.org_pkgs_packages_net-2Dsnmp_5.8_7.el8-5F0.2_src_net-2Dsnmp-2D5.8-2D7.el8-5F0.2.src.rpm&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=n1LR_Py9TQX0dVqfGTbLHUMGx25-C8VtBDS0nCzyNXY&m=CYT7svU9Ukb7Bs2NJCuwUYGdsRacLdXLzA-PWxNHl68&s=4XuDUTDEePveycMP4GqPISJ0nJo6N1aHXnAeJr1Te6k&e= vault has older src.rpm https://urldefense.proofpoint.com/v2/url?u=http-3A__vault.centos.org_centos_8_BaseOS_Source_SPackages_net-2Dsnmp-2D5.8-2D7.el8-5F0.1.src.rpm&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=n1LR_Py9TQX0dVqfGTbLHUMGx25-C8VtBDS0nCzyNXY&m=CYT7svU9Ukb7Bs2NJCuwUYGdsRacLdXLzA-PWxNHl68&s=kMISbfZxtGUjuEeg5XIyNRS451fN2A83XX4tU-dF-G4&e= The standard nowadays seems to be to get it from their git server, e.g.: https://urldefense.proofpoint.com/v2/url?u=https-3A__git.centos.org_rpms_net-2Dsnmp_tree_3a944883e52f10d3af9f8041e27c21e5b0fe998e&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=n1LR_Py9TQX0dVqfGTbLHUMGx25-C8VtBDS0nCzyNXY&m=CYT7svU9Ukb7Bs2NJCuwUYGdsRacLdXLzA-PWxNHl68&s=0tGhog16aHRH4gA8aJ6DMVtLpAO3FJ_KXpVM0_aU8Uw&e= 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://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_xcat-2Duser&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=n1LR_Py9TQX0dVqfGTbLHUMGx25-C8VtBDS0nCzyNXY&m=CYT7svU9Ukb7Bs2NJCuwUYGdsRacLdXLzA-PWxNHl68&s=OaLNOzNn9ANA5U7Giwf23qgSMhotPo1KKrAB0f53P94&e= _______________________________________________ xCAT-user mailing list [email protected] https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_xcat-2Duser&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=n1LR_Py9TQX0dVqfGTbLHUMGx25-C8VtBDS0nCzyNXY&m=CYT7svU9Ukb7Bs2NJCuwUYGdsRacLdXLzA-PWxNHl68&s=OaLNOzNn9ANA5U7Giwf23qgSMhotPo1KKrAB0f53P94&e=
_______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user
