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


Groups > linux.debian.user > #174692

Re: [Aptitude-devel] aptitude ~A question

From steve <dlist@bluewin.ch>
Newsgroups linux.debian.user
Subject Re: [Aptitude-devel] aptitude ~A question
Date 2016-11-14 14:10 +0100
Message-ID <sDpbk-7pZ-23@gated-at.bofh.it> (permalink)
References (1 earlier) <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> <sAH4J-4F3-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi David,

Coming back to this problem now that I have a bit more time.

As I have been making a lot of testing, this message is a bit long,
sorry for that.


>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 "-".

I have done this first for a = [trusty,jessie$,jessie-backports,stable]
and then for a = now. No output for jessie$.

Then I have done this:

cat jessie-backports.txt trusty.txt stable.txt | sort | diff -u -now.txt > diff.txt

The first lines of diff.txt show

 i A augeas-lenses                   - ensemble de lentilles nécessaire pour que 
 i A autogen-doc                     - automated text file generator - documentat
 i A autopoint                       - le programme autopoint de GNU gettext     
-i A autopoint                       - le programme autopoint de GNU gettext     
 i A autotools-dev                   - infrastructure de mise à jour pour les fic
 i A avahi-daemon                    - Démon Avahi pour mDNS/DNS-SD              
 i A avidemux-common                 - Free video editor (Internationalization fi
@@ -39,7 +38,6 @@
 i A brasero-cdrkit                  - cdrkit extensions for the Brasero burning 
 i A bridge-utils                    - utilitaires destinés à configurer un pont 
 i A bundler                         - Manage Ruby application dependencies      
-i A bundler                         - Manage Ruby application dependencies      
 i A bzip2                           - Compresseur de fichier par tri de blocs de
 i A bzip2-doc                       - Compresseur de fichiers de haute qualité -
 i A cabextract                      - outil d'extraction de fichiers « Microsoft
@@ -51,7 +49,6 @@
 i A chromium-inspector              - web browser - page inspection support     
 i A cli-common                      - fichiers communs à tous les paquets CLI   
 i A cmake-data                      - fichiers de données pour CMake (modules, m
-i A cmake-data                      - fichiers de données pour CMake (modules, m
 i A colord-data                     - system service to manage device colour pro
 i A colord                          - service système pour gérer les profils cou
 i A consolekit                      - cadre applicatif pour définir et surveille
@@ -75,7 +72,6 @@
 i A cups-server-common              - Common UNIX Printing System(tm) - server c
 i A cups                            - système commun d'impression sous Unix - ge
 i A dbconfig-common                 - framework that helps packages to manage da
-i A dbconfig-common                 - framework that helps packages to manage da

…

+i A epdfview                        - Lightweight pdf viewer based on poppler li

Now, for example, we see that autopoint is present twice (once with a
"-" and once with a blank space at the beginning of the line). So if I
understand correctly, the package "autopoint" appears once in both the
concatenation and in the total file and another time only in the
concatenation. Can I see this behaviour using apt-cache?

apt-cache policy autopoint 
autopoint:
  Installé : 0.19.3-2
  Candidat : 0.19.3-2
 Table de version :
     0.19.8.1-1~bpo8+1 0
        100 http://ftp.ch.debian.org/debian/ jessie-backports/main amd64 Packages
 *** 0.19.3-2 0
        500 http://ftp.ch.debian.org/debian/ jessie/main amd64 Packages
        100 /var/lib/dpkg/status


So it seems that it's the jessie version which is installed. But

aptitude search ~Astable~i | grep autopoint
i A autopoint

aptitude search ~Ajessie$~i | grep autopoint
(no output)

aptitude search ~Ajessie-backports~i | grep autopoint
i A autopoint


which contradicts apt-cache! Is this a bug? Same behaviour for the
package cmake-data.


(BTW, this package is taken from jessie but there is an existing
backport package. Is is possible to upgrade to jessie-backports all
jessie packages which have a jessie-backports version?)

The packages with a starting "+" are the obsolete ones.


>> 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

Ok thanks :-)

Best,
Steve

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