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

Re: handle of cyclic dependencies in Debian packages



hanasaki wrote:

handle of cyclic dependencies in Debian packages

how does Apt handle cyclic dependencies?

ie:    a dep b dep (c and d)
    and c dep b

apt installs the packages at the same time (well, sequentially, actually) and tells dpkg not to panic on the first package while it installs the dependencies.


if    b dep c(ver >= 5)
    and c ver 5 dep b
    and c ver 6 has no dep

    is c ver 6 chosen to avoid the cycle?
    how?

That's based on your apt preferences and sources. Whatever the lowest common denominator is - gets installed unless overridden.

--
Daniel



Reply to: