My RPM experience is quite limited, but on advice from a colleague and looking at the outputs from "rpm -ql" we noticed that the files that were being complained about were (unsurprisingly) duplicated between the two RPMs - presumably because of the difference Dave points out below.
Given that the complaint that the utilities had when I tried just installing the custom RPM was libraries I really should have noticed this earlier - but assumed that the fedora packages and the Net SNMP packages were from the same line... Just uninstalling the utils RPM was enough - the 5.1.2-11 libs RPM is still OK, and working with the custom RPM. So I've rebuilt the RPM again adding an "Obsoletes" flag for net-snmp-utils. That made it rather happier than before - and I'm getting the results I expected from a clean upgrade. Many thanks, John Dave Shield wrote: > On 18/07/06, John Robson <[EMAIL PROTECTED]> wrote: >> I'm putting together an upgrade package for our products which includes >> a transition from net-snmp 5.1.2-11 to 5.3.0.1 (with some custom >> patches, making it 5.3.0.1-2.CL). >> >> When I try to do an RPM upgrade I get a large number of file conflicts >> of the form: >> file /usr/bin/encode_keychange from install of net-snmp-5.3.0.1-2.CL >> conflicts with file from package net-snmp-utils-5.1.2-11 > > That's down to a difference in approach between the Net-SNMP project > packaging, and that used by RedHat/Fedora. We basically supply a > single RPM containing everything that we regard as "core", while > RedHat splits this into a number of separate packages. I thought that > the most recent N/S-supplied RPMs included the necessary > meta-information to handle this, but it's quite possible that this > isn't working properly. > > The safest thing would be to uninstall the RedHat-supplied RPMs before > installing ours. Alternatively, you could use the RedHat SRPM (and > spec file) to build a suitable unified RPM - Fedora 5 comes with 5.3, > so that would probably be the best starting point. > > Dave ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
