apt pinning debian multimedia

Top Page

Reply to this message
Author: Andres Cimmarusti
Date:  
To: dmo-discussion
Subject: apt pinning debian multimedia
Hi there,

I've been trying to use apt pinning to prevent the debian-multimedia
repo from upgrading by default any packages from Debian main
(testing). So far all my attempts have been in vain. Is there a way to
set this up as, for example, the Debian experimental repo, that
requires you to use -t to actually get the package, or at the very
least it doesn't upgrade by default?

This is my /etc/apt/preferences

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

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

Package: *
Pin: release o=Debian,a=experimental
Pin-Priority: 1

Package: *
Pin: origin www.debian-multimedia.org
Pin-Priority: -1

I also added this to my /etc/apt/apt.conf

APT::Default-Release "testing";

And my sources file looks like this:

# Debian testing
deb http://ftp.us.debian.org/debian/ testing main contrib non-free
deb-src http://ftp.us.debian.org/debian/ testing main contrib non-free

# Debian sid
deb http://http.us.debian.org/debian/ sid main contrib non-free
deb-src http://http.us.debian.org/debian/ sid main contrib non-free

# Debian experimental
deb http://ftp.debian.org/debian experimental main

# Debian testing multimedia
deb http://www.debian-multimedia.org testing main non-free

I would appreciate any help on the matter.

Thanks

Andres