Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #206125 > unrolled thread
| Started by | Kent West <westk@acu.edu> |
|---|---|
| First post | 2019-03-10 20:20 +0100 |
| Last post | 2019-03-10 21:20 +0100 |
| Articles | 4 — 3 participants |
Back to article view | Back to linux.debian.user
What means "<<" in dependencies at packages.debian.org? Kent West <westk@acu.edu> - 2019-03-10 20:20 +0100
Re: What means "<<" in dependencies at packages.debian.org? Kent West <westk@acu.edu> - 2019-03-10 20:40 +0100
Re: What means "<<" in dependencies at packages.debian.org? Andreas Ronnquist <mailinglists@gusnan.se> - 2019-03-10 20:40 +0100
Re: What means "<<" in dependencies at packages.debian.org? Tomaž Šolc <tomaz.solc@tablix.org> - 2019-03-10 21:20 +0100
| From | Kent West <westk@acu.edu> |
|---|---|
| Date | 2019-03-10 20:20 +0100 |
| Subject | What means "<<" in dependencies at packages.debian.org? |
| Message-ID | <xAc9k-6py-17@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
Example: https://packages.debian.org/sid/python3-kivy - > > 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. Thanks! -- Kent West <")))>< Westing Peacefully - http://kentwest.blogspot.com
[toc] | [next] | [standalone]
| From | Kent West <westk@acu.edu> |
|---|---|
| Date | 2019-03-10 20:40 +0100 |
| Message-ID | <xAcsF-6ws-9@gated-at.bofh.it> |
| In reply to | #206125 |
[Multipart message — attachments visible in raw view] — view raw
On Sun, Mar 10, 2019 at 2:24 PM Andreas Ronnquist <mailinglists@gusnan.se> wrote: > On Sun, 10 Mar 2019 14:14:52 -0500, > Kent West<westk@acu.edu> wrote: > > >Example: https://packages.debian.org/sid/python3-kivy > > > >- > >> > >> 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. > > > > Hi! > > It's documented in Debian policy: > https://www.debian.org/doc/debian-policy/ch-relationships.html > > >The relations allowed are <<, <=, =, >= and >> for strictly earlier, > >earlier or equal, exactly equal, later or equal and strictly later, > >respectively. > > >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 > mailinglists@gusnan.se > andreas@ronnquist.net > Thank you! That was driving me nuts! So essentially, aptitude's "<" is out-dated, and should be "<<", to clearly mean "earlier than" and not "earlier than or equal to"? -- Kent West <")))>< Westing Peacefully - http://kentwest.blogspot.com
[toc] | [prev] | [next] | [standalone]
| From | Andreas Ronnquist <mailinglists@gusnan.se> |
|---|---|
| Date | 2019-03-10 20:40 +0100 |
| Message-ID | <xAcsF-6ws-11@gated-at.bofh.it> |
| In reply to | #206125 |
On Sun, 10 Mar 2019 14:14:52 -0500, Kent West<westk@acu.edu> wrote: >Example: https://packages.debian.org/sid/python3-kivy > >- >> >> 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. > Hi! It's documented in Debian policy: https://www.debian.org/doc/debian-policy/ch-relationships.html >The relations allowed are <<, <=, =, >= and >> for strictly earlier, >earlier or equal, exactly equal, later or equal and strictly later, >respectively. >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 mailinglists@gusnan.se andreas@ronnquist.net
[toc] | [prev] | [next] | [standalone]
| From | Tomaž Šolc <tomaz.solc@tablix.org> |
|---|---|
| Date | 2019-03-10 21:20 +0100 |
| Message-ID | <xAd5n-71a-1@gated-at.bofh.it> |
| In reply to | #206125 |
[Multipart message — attachments visible in raw view] — view raw
Hi On 10. 03. 19 20:14, Kent West wrote: > The ">=" surely means "greater than or equal to", but what is "<<"? > "less than or less than"? "<<" means "strictly earlier (i.e. less than)". In other words, it matches versions that sort earlier, but are not equal to the right-hand-side. This is in contrast to "<=" that also matches versions that are equal to the right-hand-side. > Even more interesting is that "aptitude install python3-kivy" only shows > one "<" (which makes sense to me as "less than"): "<" is an obsolete version of "<=" that is no longer allowed in packages that follow recent versions of Debian Policy. > Also, is the answer documented somewhere? I've researched unproductively > for several hours. This is documented in the Debian Policy Manual: https://www.debian.org/doc/debian-policy/ch-relationships.html#syntax-of-relationship-fields See remark [2] on that page regarding "<" vs "<<". Best regards Tomaž
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web