The following modification fixed the problem were apt-show-versions would say that currently installed packages are in stable when they should show oldstable
$ diff apt-show-versions apt-show-versions.new 158c158 < my @official_releases = qw(stable proposed-updates testing unstable); --- > my @official_releases = qw(oldstable stable proposed-updates testing unstable); This is an example of the output with the change. Let's take libc6 as example, apt-show-versions recognizes that it should be upgraded to latest sarge version although sources.list has etch listed. The former does show package as stable and tells it would upgrade to etch. 215,229c215,229 < libc6/stable upgradeable from 2.3.2.ds1-22sarge4 to 2.3.6.ds1-13 < libstdc++5-3.3-dev/stable upgradeable from 1:3.3.5-13 to 1:3.3.6-15 < libopencdk8/stable upgradeable from 0.5.5-10 to 0.5.9-2 < libdiscover1/stable upgradeable from 1.7.7 to 1.7.19 < qstat/stable upgradeable from 2.8-1 to 2.11-1 < libsasl2/stable upgradeable from 2.1.19.dfsg1-0sarge2 to 2.1.22.dfsg1-8 < hotplug/stable upgradeable from 0.0.20040329-22 to 0.0.20040329-26 < ncurses-bin/stable upgradeable from 5.4-4 to 5.5-5 < snmp/stable upgradeable from 5.1.2-6.2 to 5.2.3-7 < apt-utils/stable upgradeable from 0.5.28.6 to 0.6.46.4-0.1 < sysklogd/stable upgradeable from 1.4.1-17 to 1.4.1-18 < module-init-tools/stable upgradeable from 3.2-pre1-2 to 3.3-pre4-2 < python-apt/stable upgradeable from 0.5.10 to 0.6.19 < java-common/stable upgradeable from 0.22 to 0.25 < cpio/stable upgradeable from 2.5-1.3 to 2.6-17 --- > libc6/oldstable upgradeable from 2.3.2.ds1-22sarge4 to 2.3.2.ds1-22sarge6 > libstdc++5-3.3-dev/oldstable uptodate 1:3.3.5-13 > libopencdk8/oldstable uptodate 0.5.5-10 > libdiscover1/oldstable uptodate 1.7.7 > qstat/oldstable uptodate 2.8-1 > libsasl2/oldstable uptodate 2.1.19.dfsg1-0sarge2 > hotplug/oldstable uptodate 0.0.20040329-22 > ncurses-bin/oldstable uptodate 5.4-4 > snmp/oldstable uptodate 5.1.2-6.2 > apt-utils/oldstable uptodate 0.5.28.6 > sysklogd/oldstable uptodate 1.4.1-17 > module-init-tools/oldstable uptodate 3.2-pre1-2 > python-apt/oldstable uptodate 0.5.10 > java-common/oldstable uptodate 0.22 > cpio/oldstable uptodate 2.5-1.3 NOTICE: This email contains privileged and confidential information and is intended only for the individual to whom it is addressed. If you are not the named addressee, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this transmission by mistake and delete this communication from your system. E-mail transmission cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. AVIS: Le présent courriel contient des renseignements de nature privilégiée et confidentielle et nest destiné qu'à la personne à qui il est adressé. Si vous nêtes pas le destinataire prévu, vous êtes par les présentes avisés que toute diffusion, distribution ou reproduction de cette communication est strictement interdite. Si vous avez reçu ce courriel par erreur, veuillez en aviser immédiatement lexpéditeur et le supprimer de votre système. Notez que la transmission de courriel ne peut en aucun cas être considéré comme inviolable ou exempt derreur puisque les informations quil contient pourraient être interceptés, corrompues, perdues, détruites, arrivées en retard ou incomplètes ou contenir un virus.

