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

Re: dkms needs a pre-depends entry (Policy 3.5)



On Tue, Jul 20, 2010 at 4:01 PM, Bernd Zeimetz <bernd@bzed.de> wrote:
> On 07/20/2010 09:50 PM, Julien Cristau wrote:
>> On Tue, Jul 20, 2010 at 21:44:21 +0200, Bernd Zeimetz wrote:
>>
>>> On 07/20/2010 09:08 PM, Philipp Kern wrote:
>>>> Well, that lsb_release is written in Python is just an implementation
>>>> detail, no?  So it just should not be the responsibility of the caller.
>>>
>>> It should as you can't assume that your dependencies are configured when your
>>> own package is being configured (Debian Policy 3.5).
>>
>> Where in 3.5 do you read that?
>
> Sometimes, a package requires another package to be installed and configured
> before it can be installed. In this case, you must specify a Pre-Depends entry
> for the package.
>
> We have exactly this case here. lsb_release needs to be configured first.

3.5 is an overview.  7.2 has the details:

Depends
    This declares an absolute dependency. A package will not be
    configured unless all of the packages listed in its Depends field
    have been correctly configured.

-- 
James
GPG Key: 1024D/61326D40 2003-09-02 James Vega <jamessan@debian.org>


Reply to: