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


Groups > linux.debian.user > #190631

Re: show searched packages including versions

From Roberto C. Sánchez <roberto@debian.org>
Newsgroups linux.debian.user
Subject Re: show searched packages including versions
Date 2018-01-03 23:10 +0100
Message-ID <v3Zot-4SL-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> <v3YLL-4nu-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Jan 03, 2018 at 04:23:06PM -0500, Roberto C. Sánchez wrote:
> On Wed, Jan 03, 2018 at 04:15:51PM -0500, Felix Miata wrote:
> >   mc was bad example. Currently booted is Jessie. Installed kernels are 3.16 and
> > 4.8. What command shows me the newest available linux-image version available
> > anywhere that's been configured in sources.list?
> 
> Assuming you are on an amd64 system, then this:
> 
> apt-cache show linux-image-amd64
> 
> The package 'linux-image-amd64' is a meta package which always depend on
> the latest available linux-image-* package for the architecture (in this
> case, amd64).
> 
> If you are interested in knowing which repository in your sources.list
> has that package available, then you want this:
> 
> apt-cache policy linux-image-amd64
> 
You might also have a look at these commands:

root@debian:~# wajig describe linux-image-amd64
Package                  Description
========================-===================================================
linux-image-amd64        Linux for 64-bit PCs (meta-package)


root@debian:~# wajig statusmatch linux-image
Package                 Installed       Previous        Now             State
=======================-===============-===============-===============-=====
linux-image-4.14.0-2-amd64      N/A             N/A             4.14.7-1
linux-image-4.14.0-2-amd64-dbg  N/A             N/A             4.14.7-1
linux-image-4.14.0-2-rt-amd64   N/A             N/A             4.14.7-1
linux-image-4.14.0-2-rt-amd64-dbg       N/A             N/A             4.14.7-1
linux-image-4.9.0-4-grsec-amd64 N/A             N/A             4.9.65-2+grsecunoff1
linux-image-amd64       N/A             N/A             4.14+88
linux-image-amd64-dbg   N/A             N/A             4.14+88
linux-image-grsec-amd64 N/A             N/A             13
linux-image-rt-amd64    N/A             N/A             4.14+88
linux-image-rt-amd64-dbg        N/A             N/A             4.14+88


If you look at the second command, it contains a substring that wajig
uses to match from the list of available package names.

It would like be very simple to modify wajig to provide the additional
bits of information you want.  It is written in Python and the code is
clean and easy to ready.

Regards,

-Roberto

-- 
Roberto C. Sánchez

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