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

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



On Sun, 2 Jan 2005 21:41:06 +0100, Michelle Konzack
<linux4michelle@freenet.de> wrote:
> 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

yes I have try, but don't work for me ... probably I'm missing something

$ cat /etc/apt/sources.lst
##############
deb http://debian.fastweb.it/debian/ testing main contrib non-free
deb http://debian.fastweb.it/debian-non-US/ testing/non-US main contrib non-free
deb-src http://debian.fastweb.it/debian/ testing main contrib non-free
deb-src http://debian.fastweb.it/debian-non-US/ testing/non-US main
contrib non-free

deb http://debian.fastweb.it/debian/ unstable main contrib non-free
deb http://debian.fastweb.it/debian-non-US/ unstable/non-US main
contrib non-free
deb-src http://debian.fastweb.it/debian/ unstable main contrib non-free
deb-src http://debian.fastweb.it/debian-non-US/ unstable/non-US main
contrib non-free

deb http://debian.fastweb.it/debian/ stable main contrib non-free
deb http://debian.fastweb.it/debian-non-US/ stable/non-US main contrib non-free
deb-src http://debian.fastweb.it/debian/ stable main contrib non-free
deb-src http://debian.fastweb.it/debian-non-US/ stable/non-US main
contrib non-free
##############


$ cat /etc/apt/apt.conf
APT::Default-Release "testing";


I have try without /etc/apt/preferences and with different
configuration, like this:

$ cat /etc/apt/preferences
#######
Package:  *
Pin:  release a=stable
Pin-Priority:  700

Package:  *
Pin:  release a=testing
Pin-Priority:  900

Package: *
Pin: release a=unstable
Pin-Priority: 800
#######

I have tested all with abiword package that I don't have on my Sarge and

# apt-get update

$ apt-get -t stable --print-uris source abiword
$ apt-get -t testing --print-uris source abiword
$ apt-get -t unstable --print-uris source abiword

give me always the same result:
#####
'http://debian.fastweb.it/debian/pool/main/a/abiword/abiword_2.2.2-1.dsc'
abiword_2.2.2-1.dsc 1824 a3cd9b292dacc519e337a8c147aadff6
'http://debian.fastweb.it/debian/pool/main/a/abiword/abiword_2.2.2.orig.tar.gz'
abiword_2.2.2.orig.tar.gz 27686818 de0910da088c9d36f87ba4baed320aa7
'http://debian.fastweb.it/debian/pool/main/a/abiword/abiword_2.2.2-1.diff.gz'
abiword_2.2.2-1.diff.gz 54589 39bd72aa9369f70639fa2cafb150e281
#####

else if I use a package version

$ apt-get -t stable --print-uris source abiword=1.0.2+cvs.2002.06.05-1woody2
$ apt-get -t testing --print-uris source abiword=1.0.2+cvs.2002.06.05-1woody2
$ apt-get -t unstable --print-uris source abiword=1.0.2+cvs.2002.06.05-1woody2

I have always this result:
####
'http://debian.fastweb.it/debian/pool/main/a/abiword/abiword_1.0.2+cvs.2002.06.05.orig.tar.gz'
abiword_1.0.2+cvs.2002.06.05.orig.tar.gz 16407034
0b0e1f3e42a0627a28cea970b099049d
'http://debian.fastweb.it/debian/pool/main/a/abiword/abiword_1.0.2+cvs.2002.06.05-1woody2.diff.gz'
abiword_1.0.2+cvs.2002.06.05-1woody2.diff.gz 48982
12356a29a3185ef367fd7a18a7374be0
####

where is my error?

> > all give me the same results
> 
> I do not know, how long you are working with Linux,
> but options must before the filenames.

I'm learning :-)
I have see that on GNU/Linux a lot of time you can put options where
you want on the command line and they works.

Ciao
Davide



Reply to: