Re: Problem with dependency declaration
Andreas Metzler <firstname.lastname@example.org> schrieb:
> On Sun, Nov 02, 2003 at 08:27:28PM +0100, Frank Küster wrote:
>> in a package that I maintain (sponsored by a DD), I use a call to
>> stat. In sarge, /usr/bin/stat is in coreutils - of course I don't need a
>> dependency on that. However, in woody stat was in a separate
>> package. Usually packages keep really old versioned dependencies - this
>> might be important for upgrades, and it's friendly for backporters.
>> If coreutils wouldn't be of priority required, I would just add
Thanks Scott - of course I meant Essential:yes, not Priority: required.
>> "coreutils | stat" to the dependencies. What should I do in this case?
>> Stat was in coreutils from the first time it appeared in Debian, so a
>> versioned Depends: wouldn't make any sense (except that it makes lintian
>> and linda be quiet...)
> I don't have a sid system at hand, but doesn't coreutils
> Provides/Replaces stat?
Replaces: textutils, shellutils, fileutils, stat, debianutils (<= 2.3.1)
Provides: textutils, shellutils, fileutils
So there's no "Provides" for stat. As far as I understood the policy,
Replaces: stat won't satisfy a dependency on stat, will it?
Frank Küster, Biozentrum der Univ. Basel
Abt. Biophysikalische Chemie