[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#288277: apt-get -t do not always work



Am 2005-01-02 21:03:15, schrieb Davide Prina:
> 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

Do you have tried:

apt-get -t stable  --print-uris source PACKAGE_NAME
apt-get -t testing --print-uris source PACKAGE_NAME
apt-get -t unsable --print-uris source PACKAGE_NAME

which is working quiet well

> all give me the same results

I do not know, how long you are working with Linux,
but options must before the filenames.

> 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

Use 

    apt-get -t DEBIAN_VERSION -s isntall PACKAGE_NAME

and you will be happy.

> 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

False, you MUST set the options before the requested filename

I am working on my Develstation with POTATO, WOODY, SARGE and SID
and it works fine for me.
 
Greetings
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/ 
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature


Reply to: