Quoting Samuel Thibault (2017-12-13 19:54:59)
> Re-answering :)
> 
> Jonas Smedegaard, on mer. 13 déc. 2017 19:36:47 +0100, wrote:
>> The issue I raise here is more generally that the package 
>> dependencies declared are not deterministic regarding main versus 
>> non-main packages.
> 
> I understand, but I don't know how to express what we want: both 
> choice for the user, and main by default.

I believe (as I just now posted in a separate mail) it is doable by 
first declaring with version and then without version.

But possibly that is not strict enough, because recently APT gained 
support for versioned virtual packages.  Better would be that you change 
to use a different name for the virtual package, and then declare that 
virtual package last - like this:

Depends: libsocl-1.2-0 (= 1.2.3+dfsg-3) | libsocl-any-1.2-0


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: signature

Reply via email to