Re: dependency resolution ?

Peter Bowen <[email protected]>
Newsgroups gmane.network.up2date.current.devel
Organization Ximian, Inc.
Message-ID <[email protected]>
On Thu, 2002-10-10 at 06:25, Alex Kramarov wrote:
> i thought packages should require only capabilities provided by other
> packages, not other package's files ! am i incorrect ? if i am, what other
> parts of packages redhat except "provides" and "files" packages can depend
> on ?

RPMS can depend on three things:
1) Package names.  Sometimes RPM puts these in --provides, sometimes not
2) Package "Tokens", which the things that --provides lists
3) Packaged files.

Unfortunately this makes writing dependency resolvers interesting.  If
you are truly interested in writing a dependency resolver, then you
might want to look at the RCWorld stuff in libredcarpet, available from
cvs.gnome.org.

Thanks.
Peter
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.