Package: apt Version: 0.5.27 If I give the following: $ apt-get --print-uris source PACKAGE_NAME $ apt-get --print-uris source PACKAGE_NAME -t stable $ apt-get --print-uris source PACKAGE_NAME -t testing $ apt-get --print-uris source PACKAGE_NAME -t unsable
I have the same results The same you can have when you append the version after the source For example if you take the abiword package (that have three different versions for stable, testing and unstable) the -t flag do not work so $ apt-get --print-uris source abiword=1.0.2+cvs.2002.06.05-1woody2 $ apt-get --print-uris source abiword=1.0.2+cvs.2002.06.05-1woody2 -t stable $ apt-get --print-uris source abiword=1.0.2+cvs.2002.06.05-1woody2 -t testing $ apt-get --print-uris source abiword=1.0.2+cvs.2002.06.05-1woody2 -t unstable all give me the same results You can have same results with apt-get -s install If I do # apt-get -s isntall PACKAGE_NAME -t DEBIAN_VERSION it work fine but if I use the version it don't work anymore # apt-get -s isntall PACKAGE_NAME=PACK_VER -t DEBIAN_VERSION for example # apt-get -s install abiword=1.0.2+cvs.2002.06.05-1woody2 -t testing it try to install the stable version I think it is better to check always the -t flag and print an error message (for example: not found) if the Debian version (with -t) is different from the one of the package version -- System Information: Debian Release: Sarge Architecture: i386 (i686) Linux: 2.4.27 libc6: 2.3.2.ds1-18 Ciao Davide

