[Yum-devel] rpm --requires and primary.xml <requires>

Florian Festi ffesti at redhat.com
Thu Apr 30 15:03:50 UTC 2009


Seth Vidal wrote:
> the parser omits them b/c they aren't REAL dependencies. They are added 
> by rpm to note whether or not the running version of rpm can interact 
> with the pkgs at all.
> 
> But they are not deps that are 'satisfied' in anyway.
> 
> either the running version of rpm can do those things or you cannot 
> continue the transaction.
> 
> You can't provide an rpm that can do those things in the transaction 
> you're attempting to run and have it work.
> 
> Since there is no point in looking at them for purposes of depsolving, 
> then adding those N items to every pkg reqs in the primary.xml was just 
> a waste of space.

Sorry, I have to disagree. Yum should check these requirement against the 
rpm version on the system. IIRC James Antil asked me how to do that some 
weeks/months ago. Not sure what happened to that project but without the 
requires in the primary.xml/.sqlite it is unlikely to already work...

Florian


More information about the Yum-devel mailing list