[Yum-devel] Does the yum depsolver correctly resolve rpmlib(foo) virtual capabilities

Russell Harrison rtlm10 at gmail.com
Mon Mar 12 23:54:45 UTC 2007


I was chatting with the folks in #rpm about how to ensure a package won't
cause problems on older versions of rpmlib by attempting to query the rpmdb
inside one of the scriptlets.  Their solution was to include "Requires:
rpmlib(ConcurrentAccess) = 4.1-1" in the spec file.  This would ensure the
rpm wouldn't attempt to install on a system that didn't support
ConcurrentAccess.

However when I do either of

$ yum provides 'rpmlib(ConcurrentAccess)'
$ yum resolvedep 'rpmlib(ConcurrentAccess)'

I don't get any matches.  :-(

On the same system:

$ rpm --showrc | grep Concurrent
    rpmlib(ConcurrentAccess) = 4.1-1

I'm assuming these are special types of requirements, and before I recommend
to this ISV that he include the requirement to his rpm I like to confirm
that yum will be able to process it.

Russell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.baseurl.org/pipermail/yum-devel/attachments/20070312/367b3473/attachment.htm 


More information about the Yum-devel mailing list