Liam Proven composed on 2018-06-15 17:09 (UTC+0200):
Felix Miata wrote:
zypper se -s irefo lists existing package versions of Firefox*. I only needed to look at one man page to find that out out.
Which of these man pages shows an equivalent? apt
That one. All the rest is historical baggage. Forget it.
``apt search irefo''
Done.
I did a bit of confusing apt with dnf, which seems to want to keep versions a secret, but with apt, there seems to be nothing (concise, exactly what I want) like zypper: # zypper se -sx firefox-esr | wc -l 25 # zypper se -sx firefox-esr Loading repository data... Reading installed packages... S | Name | Type | Version | Arch | Repository ---+-------------+------------+--------------+--------+------------------ | firefox-esr | srcpackage | 52.8.0-1.3 | noarch | Mozilla131 | firefox-esr | srcpackage | 52.5.3-2.1 | noarch | Mozilla131 | firefox-esr | srcpackage | 45.8.0-1.10 | noarch | MozillaLegacy | firefox-esr | srcpackage | 45.8.0-1.8 | noarch | MozillaLegacy | firefox-esr | srcpackage | 38.8.0-1.29 | noarch | MozillaLegacy | firefox-esr | srcpackage | 31.8.0-1.37 | noarch | MozillaLegacy | firefox-esr | srcpackage | 17.0.11-1.56 | noarch | MozillaLegacy | firefox-esr | srcpackage | 52.8.0-1.11 | noarch | Mozilla v | firefox-esr | package | 52.8.0-1.3 | x86_64 | Mozilla131 v | firefox-esr | package | 45.8.0-1.10 | x86_64 | MozillaLegacy v | firefox-esr | package | 38.8.0-1.29 | x86_64 | MozillaLegacy v | firefox-esr | package | 31.8.0-1.37 | x86_64 | MozillaLegacy v | firefox-esr | package | 17.0.11-1.56 | x86_64 | MozillaLegacy v | firefox-esr | package | 52.5.3-2.1 | i586 | Mozilla131 v | firefox-esr | package | 45.8.0-1.8 | i586 | MozillaLegacy v | firefox-esr | package | 38.8.0-1.29 | i586 | MozillaLegacy v | firefox-esr | package | 31.8.0-1.37 | i586 | MozillaLegacy v | firefox-esr | package | 17.0.11-1.56 | i586 | MozillaLegacy v | firefox-esr | package | 52.8.0-1.11 | x86_64 | Mozilla ----- [Debian Stretch & Buster] # apt search firefox-esr | wc -l 284 Stretch, 287 Buster Since man apt doesn't seem to offer an exact match option, I won't pollute the list with the whole mess, just the head: # apt search firefox-esr | head -n25 # Buster WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Sorting... Full Text Search... firefox-esr/testing 52.8.1esr-2 amd64 Mozilla Firefox web browser - Extended Support Release (ESR) firefox-esr-dev/testing 52.8.1esr-2 amd64 Development files for the Gecko engine library firefox-esr-l10n-ach/testing 52.8.1esr-2 all Acoli language package for Firefox ESR firefox-esr-l10n-af/testing 52.8.1esr-2 all Afrikaans language package for Firefox ESR firefox-esr-l10n-all/testing 52.8.1esr-2 all All language packages for Firefox ESR (meta) firefox-esr-l10n-an/testing 52.8.1esr-2 all Aragonese language package for Firefox ESR firefox-esr-l10n-ar/testing 52.8.1esr-2 all Arabic language package for Firefox ESR firefox-esr-l10n-as/testing 52.8.1esr-2 all Assamese language package for Firefox ESR man apt suggests maybe apt list might be useful, but it only manages to list one package. man apt-cache suggests pkgnames, but it finds 94 packages, all but firefox-esr and firefox-esr-dev of which are l10n; or showpkg which wc reports having 358 lines. The question still comes back to which/if among multiple man pages has the answer that matches the need (what versions are on the mirrors). man apt is less than two screens full, little but an outline pointing to apt-*. -- "Wisdom is supreme; therefore get wisdom. Whatever else you get, get wisdom." Proverbs 4:7 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org