Bug#165365: Things are not so clear...
clone 165365 -1
reassign -1 apt
retitle -1 apt-get: -t also ignores valid distrib versions
thanks
Jason, things are not so simple than what you described. The current
potato Release file shows "Version: 2.2r7", which means it is not
possible to use "apt-get -t 2.2" anyway.
-> should it read 2.2 only ? or in addition to 2.2r7 ? or not at all ?
This should probably be decided before taking any decision on this
symlink issue...
Additionally, other things are going wrong:
I point to woody and potato, among other things for testing purposes,
and the woody version of perl is installed (this is indeed a woody box):
# apt-cache showpkg perl | perl -pi -e 'exit if m/^$/'
Package: perl
Versions:
5.6.1-7(/var/lib/apt/lists/debian-mirror.alcove-fr_dists_woody_main_binary-i386_Packages)(/var/lib/apt/lists/debian-mirror.alcove-fr_dists_testing_main_binary-i386_Packages)(/var/lib/dpkg/status)
5.004.05-2(/var/lib/apt/lists/debian-mirror.alcove-fr_dists_potato_main_binary-i386_Packages)
5.004.04-7.0.1(/var/lib/apt/lists/ftp.debian.org_debian-archive_dists_Debian-2.1_main_binary-i386_Packages)
5.004.04-6(/var/lib/apt/lists/ftp.debian.org_debian-archive_dists_Debian-2.0_main_binary-i386_Packages)
# apt-get install perl/2.2
Reading Package Lists... Done
Building Dependency Tree... Done
E: Release '2.2' for 'perl' was not found
-> that's expected, but would be useful as previously discussed
# apt-get install perl/2.2r7
Reading Package Lists... Done
Building Dependency Tree... Done
Selected version 5.004.05-2 (Debian:2.2r7/stable) for perl
[...]
Sorry, but the following packages have unmet dependencies:
perl: Depends: perl-5.004 but it is not going to be installed
Depends: perl-5.004-doc but it is not going to be installed
E: Sorry, broken packages
-> that's OK, that's what "-t" is for
# apt-get install -t 2.2r7 perl
Reading Package Lists... Done
Building Dependency Tree... Done
Sorry, perl is already the newest version.
0 packages upgraded, 0 newly installed, 0 to remove and 522 not upgraded.
-> what ?!
even better:
# apt-get install -t foobar perl
Reading Package Lists... Done
Building Dependency Tree... Done
Sorry, perl is already the newest version.
0 packages upgraded, 0 newly installed, 0 to remove and 523 not upgraded.
That's obviously a problem with apt. Well, this is not unlike
#137433, reported in march. However, #137433 only mentions that
illegal args to -t are silently ignored, not that (or should be) legal
ones are ignored too !
Maybe it's just not looking at distrib version. However, since
release codenames are not supported either, that would mean there is
no means to refer by distrib to old-stable (potato), since its Release
file tells it is "stable".
/me gets lost in these issues :|
--
Yann Dirson <Yann.Dirson@fr.alcove.com> http://www.alcove.com/
Technical support manager Responsable de l'assistance technique
Senior Free-Software Consultant Consultant senior en Logiciels Libres
Debian developer (dirson@debian.org) Développeur Debian
Reply to: