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

Re: [RFC] managing dependencies with levels



Thierry Laronde schrieb:
> level of package = max {level of dependencies} + 1

> The install tools simply has to install packages in increasing level
> numbers. All packages having the same level can not, by definition, have any
> circular dependencie, since this will mean that they depend on a package of
> the same level thus that they have at a level of a greater value.

And that's exactly the problem, because dpkg allows circular
dependencies. The following works:

Package: msyslog
Depends: syslog-common

Package: syslog-common
Depends: msyslog

If you try to calculate your "level" for those, you'll deadlock.

ciao, 2ri
-- 
        01234567 <- The amazing indent-o-meter!
	^           Matt McIrvin: the Nikola Tesla of tab damage.



Reply to: