On Fri, 2003-05-23 at 05:30, stephan.helas@xxxxxxx wrote: > Helas, Stephan wrote: > > Hello, > > > > i use yum for two weeks now, testing the update mechanism. > > now i got some trouble updating xinetd-service. > > > > i use mirror: > > http://wftp.tu-chemnitz.de/pub/linux/yum-repository/redhat/updates/7.3/x86/ > > > > in header.info apears: > > > > 2:xinetd-2.3.11-1.7x.i386=i386/xinetd-2.3.11-1.7x.i386.rpm > > > > but there is no hdr file and so yum dosen't update the package > > > > i found some answer. if i use pkgpolicy=newest, it download all header files, but if i use pkgpolicy=last, the header don't get downloaded. what ist the yum method to find out, witch package is newer? > i got some troube with self-made cups-rpm. they have higher number an fewer build date, but yum tell me, to update to the older redhat cups packages. > read the yum.conf manpage. pkgpolicy does this: the serverids are sorted alphabetically (as it says in the man page) so if you have this in your conf file: [a] name=my repo a baseurl=somepath [z] name=my repo z baseurl=someotherpath now if repo 'a' has xinetd 2.3.11-81 and repo 'b' has xinetd 2.3.11-24 and pkgpolicy=last then xinetd 2.3.11-24 is the one that yum will claim is most current available in your repositories. pkgpolicy=newest is the default -sv