[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Circular Dependencies (was: Problem for upgrading glibc 2.2.2-10 to 2.2.4)



On Wed, Jan 30, 2002 at 11:04:35AM -0600, Rex Dieter wrote:
> This has been a pet-peeve of mine for awhile now... why on earth would 
> anyone make rpms with circular dependancies like this, instead of making a 
> single, simpler, rpm,  especially in this case (glibc) where the sources are 
> coming from one place (ie, a single src.rpm)?  I mean, heck, the contents of 
> both have to be installed anyway, why not package them that way?  In general, 
> I think this is a bad idea, and if it *must* be done, there had better be a 
> real good reason for doing so.

You mean, something like this (WARNING: THIS EXAMPLE DOES NOT EXIST)

==procmail.spec
Requires: smtpdaemon

==sendmail.spec
Provides: smtpdaemon
Requires: procmail
Conflicts: exim

==exim.spec
Provides: smtpdaemon
Requires: procmail
Conflicts: sendmail


As you can see, this is a circular dependency, and it is not only
valid, but also needed.
I have seen cases (again, not this one) when this is required.

[]s

-- 
 Rodrigo Barbosa                   - rodrigob at tisbrasil.com.br
 TIS 				   - Belo Horizonte, MG, Brazil
 "Quis custodiet ipsos custodiet?" - http://www.tisbrasil.com.br/
 Brainbench Certified -> Transcript ID #3332104





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []