Re: What means "<<" in dependencies at packages.debian.org?
- Date: Sun, 10 Mar 2019 20:23:47 +0100
- From: Andreas Ronnquist <mailinglists@xxxxxxxxx>
- Subject: Re: What means "<<" in dependencies at packages.debian.org?
On Sun, 10 Mar 2019 14:14:52 -0500,
Kent West<westk@xxxxxxx> wrote:
>> dep: python3 <https://packages.debian.org/sid/python3> (<< 3.7) dep:
>> python3 <https://packages.debian.org/sid/python3> (>= 3.5~)
>The ">=" surely means "greater than or equal to", but what is "<<"?
>"less than or less than"?
>Even more interesting is that "aptitude install python3-kivy" only
>shows one "<" (which makes sense to me as "less than"):
>The following packages have unmet dependencies:
>> python3-kivy : Depends: python3 (< 3.7) but 3.7.2-1 is installed
>and in the description of the package in the aptitude console:
>Depends: python3-gst-1.0, python3 (< 3.7), python3 (>= 3.5~), ...
>It's not a typo, unless other pages have similar typos (sometimes being
>">>" - "greater than or greater than"?).
>Also, is the answer documented somewhere? I've researched
>unproductively for several hours.
It's documented in Debian policy:
>The relations allowed are <<, <=, =, >= and >> for strictly earlier,
>earlier or equal, exactly equal, later or equal and strictly later,
>The relations < and > were previously allowed, but they were
>confusingly defined to mean earlier/later or equal rather than
>strictly earlier/later. dpkg still supports them with a warning, but
>they are no longer allowed by Debian Policy.
-- Andreas Rönnquist