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


Groups > linux.debian.user > #190637

Re: show searched packages including versions

From bw <bwtnguy@yahoo.com>
Newsgroups linux.debian.user
Subject Re: show searched packages including versions
Date 2018-01-04 01:40 +0100
Message-ID <v41JD-6l8-3@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> <v41qh-6eG-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



On Wed, 3 Jan 2018, Felix Miata wrote:

> 
> How did *you* figure out to try apt-cache _pkgnames_ to get a search to include
> packages' versions?

well, see that's the thing.  In debian, kernel packagenames include 
the arch and ver in them.  This wouldn't work for mc for instance or other 
packages.

The criticism about the different apt commands is a good one.  I think the 
idea is to merge some of them into just 'apt' but so far all we have is 
show and search, shortcuts for apt-cache.

here's a part of manpage for apt in stretch:

> list (work-in-progress)
>           list is somewhat similar to dpkg-query --list in that it can 
>           display a list of packages satisfying certain criteria. It 
>           supports glob(7) patterns for matching package names as well 
>           as options to list installed (--installed), upgradeable 
>           (--upgradeable) or all available (--all-versions) versions.
>
>       edit-sources (work-in-progress)
>           edit-sources lets you edit your sources.list(5) files in your 
>           preferred texteditor while also providing basic sanity checks.

I didn't think about using dpkg for your problem, but it's really amazing.

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