Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #190636

Re: show searched packages including versions

From Felix Miata <mrmazda@earthlink.net>
Newsgroups linux.debian.user
Subject Re: show searched packages including versions
Date 2018-01-04 01:20 +0100
Message-ID <v41qh-6eG-7@gated-at.bofh.it> (permalink)
References <v3XPH-3C0-9@gated-at.bofh.it> <v3YiJ-3VT-1@gated-at.bofh.it> <v3YC6-4jA-31@gated-at.bofh.it> <v40DT-5D9-11@gated-at.bofh.it>
Organization less than infinite

Show all headers | View raw


bw composed on 2018-01-03 18:20 (UTC-0500):

> On Wed, 3 Jan 2018, Felix Miata wrote:

>> What command shows me the newest available linux-image version available
>> anywhere that's been configured in sources.list?

> Here's a quick try at answering your question.  I'm sure there are a 
> zillion ways to get the output arranged to your liking.  but really this 
> is what man pages are for.  Give it a try they don't bite.

>  apt-cache pkgnames linux-image

Thank you! Arrangement was a red herring.

> linux-image-4.9.0-4-rt-amd64
> linux-image-4.9.0-3-amd64
> ...

apt-cache provides all I really was looking for. More, as in the openSUSE repo
or installation status ouput in OP, would simply be gravy. It's obvious from the
thread responses received so far that I did a poor job describing what I want by
using the zypper output that I did.

Worse, I should have searched efoX-eSr, to make it clear one shouldn't need to
know a package's complete and exact basename including case. This, at least on
glance, rules out Michael Stone's apt-cache madison suggestion.

The problem is discovery. Apt isn't Apt, it's apt this, apt-that, apt-foo,
apt-bar, apt-baz, etc., even simply apt! What's the name of the doc that teaches
which apt variant has the power to please? How does anyone discover the logic
reaching a desired conclusion when the information desired (here: version) in
the one of the (multiple apt) dictionaries called man pages isn't even in it?
>From (Buster's) apt-cache:

	pkgnames
	This command prints the name of each package APT knows. The optional
	argument is a prefix match to filter the name list. The output is
	suitable for use in a shell tab complete function and the output is
	generated extremely quickly. This command is best used with the
	--generate option.

How did *you* figure out to try apt-cache _pkgnames_ to get a search to include
packages' versions?
-- 
"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/

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

show searched packages including versions Felix Miata <mrmazda@earthlink.net> - 2018-01-03 21:30 +0100
  Re: show searched packages including versions bw <bwtnguy@yahoo.com> - 2018-01-03 22:00 +0100
    Re: show searched packages including versions Felix Miata <mrmazda@earthlink.net> - 2018-01-03 22:20 +0100
      Re: show searched packages including versions Greg Wooledge <wooledg@eeg.ccf.org> - 2018-01-03 22:30 +0100
        Re: show searched packages including versions Greg Wooledge <wooledg@eeg.ccf.org> - 2018-01-03 23:00 +0100
          Re: show searched packages including versions Felix Miata <mrmazda@earthlink.net> - 2018-01-04 00:10 +0100
        Re: show searched packages including versions Felix Miata <mrmazda@earthlink.net> - 2018-01-03 23:00 +0100
      Re: show searched packages including versions Roberto C. Sánchez <roberto@debian.org> - 2018-01-03 22:30 +0100
        Re: show searched packages including versions Roberto C. Sánchez <roberto@debian.org> - 2018-01-03 23:10 +0100
      Re: show searched packages including versions bw <bwtnguy@yahoo.com> - 2018-01-04 00:30 +0100
        Re: show searched packages including versions Felix Miata <mrmazda@earthlink.net> - 2018-01-04 01:20 +0100
          Re: show searched packages including versions bw <bwtnguy@yahoo.com> - 2018-01-04 01:40 +0100
            Re: show searched packages including versions David Wright <deblis@lionunicorn.co.uk> - 2018-01-04 02:20 +0100
              Re: show searched packages including versions Brian <ad44@cityscape.co.uk> - 2018-01-04 21:00 +0100
          Re: show searched packages including versions Michael Stone <mstone@debian.org> - 2018-01-04 04:30 +0100
  Re: show searched packages including versions Michael Stone <mstone@debian.org> - 2018-01-04 00:10 +0100

csiph-web