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

Re: Depending on an essential package



Steve Langasek wrote:
> On Mon, Sep 18, 2006 at 01:29:27PM +0200, Michael Biebl wrote:
> 
>> if I add a dependency on util-linux because I need that /sbin/getty is
>> installed, why must this dependency be versioned?
>> If I simply add Depends: util-linux lintian complains loudly and issues
>> an error message:
>> depends-on-essential-package-without-using-version depends: util-linux
> 
>> I could of course pick a random version number to make lintian happy, I
>> simply don't know which explicit version I should choose otherwise. As
>> said, the only requirement I have is that /sbin/getty is installed.
> 
>> Should I simply ignore the lintian error?
> 
> The error is, if you don't *need* a specific version of the package, you
> shouldn't depend on it at /all/.  Essential means it's always available, so
> there's no reason for you to depend on it.
> 

Sounds reasonable. Thanks for the explanation.
Sometimes I wished lintian would display hints like yours and not only
such short one liners.

Cheers,
Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: