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