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

Re: Why dependency on both default-jre and java<N>-runtime



On 24 August 2017 at 15:17, Bas Couwenberg <sebastic@xs4all.nl> wrote:
> On 2017-08-24 16:15, Carnë Draug wrote:
>>
>> Thank you for the answer but I still don't understand.  I get how the
>> use of virtual packages for java<N>-runtime allows one to choose
>> OpenJDK or Oracle JDK.  What I don't understand is the default-jre
>> *and* java<N>-runtime.  Actually, I don't understand the default-jre
>> at all if one also needs to specify a minimum java version via
>> java<N>-runtime.
>
>
> The first package in a list of alternatives must a be real package due to
> limitation on the build daemons, which only consider the first package in a
> list of alternatives.
>
> Kind Regards,
>
> Bas

But there are no alternatives.  The current policy says it must be
dependent on one *and* the other.  That is, that it should have
something like this line:

    Depends: default-jre, java6-runtime

I may be reading the policy wrong, or missing the bigger picture on
how this interact.

Best Regards,
Carnë


Reply to: