Re: apt.conf or preferences can work in that case?

* Dvorzhetsky <dvorzhetsky@xxxxxxxxxxx> [2008-03-18 14:49:57 +0100]:

On Mon, 17 Mar 2008 20:52:44 -0700, "Daniel Burrows"
<dburrows@xxxxxxxxxx> said:
On Mon, Mar 17, 2008 at 11:40:14PM +0100, Dvorzhetsky
<dvorzhetsky@xxxxxxxxxxx> was heard to say:
#deb unstable main contrib non-free

Did you mean for that to be commented out?

deb-src unstable main contrib non-free

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.


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 ./
# avant-window-navigator
#deb ./

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

I would get rid of that in apt.conf and go with pinning only.
Less confusion.

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.

Use the origin of the repoin your /etc/apt/preferences file
as a means to pin.

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

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

Explanation: Experimental
Package: *
Pin: release a=experimental

But I am not sure it will work either.

Here is my sources.list:
## etch
#deb stable main contrib non-free
#deb-src stable main contrib non-free
# debian-marillat
#deb stable main
#deb-src stable main
# security
#deb stable/updates main contrib non-free
#deb-src stable/updates main contrib

## lenny
deb testing main contrib non-free
deb-src testing main contrib non-free
# debian-marillat
deb testing main
deb-src testing main
# security
deb testing/updates main contrib non-free
deb-src testing/updates main contrib
# shame (Uunstable lenny)
#deb ./
# avant-window-navigator
#deb ./

## sid
deb unstable main contrib non-free
deb-src unstable main contrib non-free
# debian-marillat
deb sid main
deb-src sid main
# shame (stable sid)

## experimental
deb experimental main contrib non-free
deb-src experimental main contrib
# debian-marillat
deb experimental main
deb-src experimental main

To track testing on such a list, I would do this in /etc/apt/preferences:

Package: *
Pin: release o=Debian,a=testing
Pin-Priority: 850

Package: *
Pin-Priority: 851

Package: *
Pin-Prioriy: 849

Package: *
Pin: release o=Debian,a=unstable
Pin-Priority: 800

Package: *
Pin: release o=Debin,a=experimental
Pin-Priority: 80

This will get compix from shame's repo, baseline packages from Testing,
your extra stuff from arearelax, then Sid, and lastly, experimental.


Many a bum show has been saved by the flag.
-- George M. Cohan

Attachment: signature.asc
Description: Digital signature