[Yum-devel] rpm --requires and primary.xml <requires>
Seth Vidal
skvidal at fedoraproject.org
Wed May 6 14:42:08 UTC 2009
On Wed, 6 May 2009, Panu Matilainen wrote:
> And you'd have to restart yum (or manage to unload and reload the rpm module
> entirely) after such update, otherwise yum would still be using the older
> librpm.
> Putting the rpmlib() provides into regular provides of the rpm package would
> be wrong as they're runtime dependencies, it'd need a new dependency flag or
> such that says so. Which btw would be useful occasionally, I remember a
> couple of cases where something like this would've been needed.
> Well, that's what rpm will tell the user eventually anyway, after a
> potentially huge download. I don't see how that's better for the user than
> having yum say so before wasting time on downloading stuff that can't be
> installed.
>
So all I need is:
1. how to get the rpm capabilities from the running rpm instance
2. and then store the rpmlib requires in the repodata - which is just a
nice bump in size for comparatively little functionality/benefit. :(
-sv
More information about the Yum-devel
mailing list