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

Debian package non-strict equal dependencies



There's an interesting type of dependencies in RPM: "non-strict equals".

The main thing is we can describe dependency as `pkg (= "2.0")' and yum will
install package `pkg' of version "2.0" with the maximum revision
found. And also we can write dependency specifically with revision,
f.e. `pkg (= "2.0-43")' and yum will install specifically "2.0-43".

But it seems that debian packages don't have such non-strict
mechanism. As far as I got it the = operator is only for "strict equal",
and there's no way to say "install the maximum revision of the specific
version".

Well, now I'm trying to repack one project (my job) from centos to
debian. And I wonder what would be the most correct way for such kind of
dependencies.

1) I could not write dependency operator at all.
2) I could write >= and version (f.e. "2.0")

The only thing I doubt is that I've already met in centos such a
problem:

If there's package A which depends on B and C, B depends on D (=
"2.0-43") and C depends on D (>= "2.0"). If there're packages D-2.0-43
and D-3.0 in the repository, then yum fails to resolve dependencies.

I wonder what the apt's behavior is in such situation?


Reply to: