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


Groups > linux.debian.user > #174273

Re: [Aptitude-devel] aptitude ~A question

From Jörg-Volker Peetz <jvpeetz@web.de>
Newsgroups linux.debian.user
Subject Re: [Aptitude-devel] aptitude ~A question
Date 2016-11-07 09:10 +0100
Message-ID <sANa9-gv-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> <sAsfn-3Ir-13@gated-at.bofh.it> <sABC1-1bu-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


steve wrote on 11/06/16 20:47:
> Le 06-11-2016, à 10:43:58 +0100, Jörg-Volker Peetz a écrit :
> 
>> What is the output of
>>
>>  aptitude -F "%p" '~o'
> 
> gives an error (unknown command « ~o »)
> 
Sorry, this should be

 aptitude -F "%p" search '~o'

>> ? Seems to me, there are packages installed on your system that don't belong to
>> any architecture in sources.list ("obsolete").
> 
> However, running aptitude in curses mode shows that I have 80 obsolete
> packages. But that still doesn't connect the dots, since as shown in my
> previous message, I had a total of 3507 installed package (with aptitude
> search) and 3349 (with dpkg). That's a difference of 158.
> 
> But problem narrowed :)

The number of installed packages can be counted with aptitude as

  aptitude search '~i' | wc -l

As others have explained the search with '~Astable$~i' does show packages which
are installed and are available in "stable" but maybe not with the same version
which is installed. Therefore, you probably counted some packages multiple.

Regards,
jvp.

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