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


Groups > linux.debian.user > #174263

Re: [Aptitude-devel] aptitude ~A question

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: [Aptitude-devel] aptitude ~A question
Date 2016-11-07 02:40 +0100
Message-ID <sAH4J-4F3-1@gated-at.bofh.it> (permalink)
References <sztdv-6nD-15@gated-at.bofh.it> <sztdv-6nD-13@gated-at.bofh.it> <sAq3T-2rB-1@gated-at.bofh.it> <sAvwB-5VD-3@gated-at.bofh.it> <sABLI-1eC-29@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sun 06 Nov 2016 at 20:53:32 (+0100), steve wrote:
> Le 06-11-2016, à 07:05:15 -0600, David Wright a écrit :
> 
> >>so 3507 ≠ 3349. Both figures should be equal as I understand. It seems
> >>that some packages are counted two or more times or my calculation is
> >>plain wrong.
> >>
> >>Thoughts?
> >
> >Piping to wc -l throws most of the information away.
> 
> I don't see why *here*. The output of 'aptitude search ~Ajessie~i' is a
> simple list of lines and 'wc -l' does exactly that: count lines.

You wrote "It seems that some packages are counted two or more times
or my calculation is plain wrong." How do you see if some packages are
being counted twice?...by looking at what is being counted of course.

If you follow my recipe, any packages counted twice (as eg in both
the stable and jessie searches) will show up in the diff with a "-".

> What information would be thrown away?

The items that were counted.

apples
oranges
grapes
apples
peaches
pineapple
wc -l → 6
number of items to shop for: 5

Cheers,
David.

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


Thread

Re: [Aptitude-devel] aptitude ~A question Axel Beckert <abe@debian.org> - 2016-11-03 17:40 +0100
  Re: [Aptitude-devel] aptitude ~A question Axel Beckert <abe@debian.org> - 2016-11-03 18:10 +0100
  Re: [Aptitude-devel] aptitude ~A question Steve <dlist@bluewin.ch> - 2016-11-06 08:30 +0100
    Re: [Aptitude-devel] aptitude ~A question Jörg-Volker Peetz <jvpeetz@web.de> - 2016-11-06 10:50 +0100
      Re: [Aptitude-devel] aptitude ~A question steve <dlist@bluewin.ch> - 2016-11-06 20:50 +0100
        Re: [Aptitude-devel] aptitude ~A question Jörg-Volker Peetz <jvpeetz@web.de> - 2016-11-07 09:10 +0100
    Re: [Aptitude-devel] aptitude ~A question David Wright <deblis@lionunicorn.co.uk> - 2016-11-06 14:20 +0100
      Re: [Aptitude-devel] aptitude ~A question steve <dlist@bluewin.ch> - 2016-11-06 21:00 +0100
        Re: [Aptitude-devel] aptitude ~A question David Wright <deblis@lionunicorn.co.uk> - 2016-11-07 02:40 +0100
          Re: [Aptitude-devel] aptitude ~A question steve <dlist@bluewin.ch> - 2016-11-14 14:10 +0100
            Re: [Aptitude-devel] aptitude ~A question David Wright <deblis@lionunicorn.co.uk> - 2016-11-14 19:50 +0100
    Re: [Aptitude-devel] aptitude ~A question Axel Beckert <abe@debian.org> - 2016-11-07 00:30 +0100
      Re: [Aptitude-devel] aptitude ~A question steve <dlist@bluewin.ch> - 2016-11-14 14:20 +0100
    RE:Package Ikeysis Walker <ikeysiswalker3@gmail.com> - 2016-11-07 01:10 +0100

csiph-web