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

apt.conf or preferences can work in that case?



On Mon, 17 Mar 2008 20:52:44 -0700, "Daniel Burrows"
<dburrows@debian.org> said:
> On Mon, Mar 17, 2008 at 11:40:14PM +0100, Dvorzhetsky
> <dvorzhetsky@airpost.net> was heard to say:
> > #deb http://ftp.fr.debian.org/debian/ unstable main contrib non-free
> 
>   Did you mean for that to be commented out?
> 
> > deb-src http://ftp.fr.debian.org/debian/ unstable main contrib non-free
> 
>   [snip]
> > I think I should get the sid and experimental version of the package as
> > well isn't it?
> 
>   I don't see an active sid source line in your sources.list, and amarok
> isn't in experimental.  It seems to me that, unless you expect a version
> from debian-multimedia to appear, this is what you should be getting.
> 
>   Daniel

Sorry about that! that was a quite stupid mistake I made.

I have a question, if I uncomment these lines in my sources.list:
# shame (Uunstable lenny)
#deb
http://download.tuxfamily.org/shames/debian-lenny/desktopfx/unstable/ ./
# avant-window-navigator
#deb http://www.arearelax.org/awn/ ./

considering my apt.conf:
APT::Default-Release "testing";

How will apt react since these packages, even if they are made for
testing distribution do not seams to be marked as being so? They are
only in a folder of the repos.
In addition the same packages might appear in sid or experimental.

I thought I could do this kind of preferences file:
*===================================*
Explanation: Sid
Package: *
Pin: release a=unstable
Pin-Priority:500

Explanation: Lenny
Package: *
Pin: release a=testing
Pin-Priority: 501

Explanation: Experimental
Package: *
Pin: release a=experimental
Pin-Priority:80
*===================================*

But I am not sure it will work either.

Here is my sources.list:
*===================================*
## etch
#deb http://ftp.fr.debian.org/debian/ stable main contrib non-free
#deb-src http://ftp.fr.debian.org/debian/ stable main contrib non-free
# debian-marillat
#deb http://www.debian-multimedia.org stable main
#deb-src http://www.debian-multimedia.org stable main
# security
#deb http://security.debian.org/ stable/updates main contrib non-free
#deb-src http://security.debian.org/ stable/updates main contrib
non-free

## lenny
deb http://ftp.fr.debian.org/debian/ testing main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ testing main contrib non-free
# debian-marillat
deb http://www.debian-multimedia.org testing main
deb-src http://www.debian-multimedia.org testing main
# security
deb http://security.debian.org/ testing/updates main contrib non-free
deb-src http://security.debian.org/ testing/updates main contrib
non-free
# shame (Uunstable lenny)
#deb
http://download.tuxfamily.org/shames/debian-lenny/desktopfx/unstable/ ./
# avant-window-navigator
#deb http://www.arearelax.org/awn/ ./

## sid
deb http://ftp.fr.debian.org/debian/ unstable main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ unstable main contrib non-free
# debian-marillat
deb http://www.debian-multimedia.org sid main
deb-src http://www.debian-multimedia.org sid main
# shame (stable sid)
#deb http://download.tuxfamily.org/shames/debian-sid/desktopfx/stable/
./

## experimental
deb http://ftp.fr.debian.org/debian/ experimental main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ experimental main contrib
non-free
# debian-marillat
deb http://www.debian-multimedia.org experimental main
deb-src http://www.debian-multimedia.org experimental main
*===================================*

Thank you!


Reply to: