On Sun, Feb 21, 2010 at 03:06:30PM +0100, Stuckey wrote:
> Hello,
>
> I have the debian-multimedia in my sources.list file, and so far I've  
> just been commenting it in/out whenever I want to install something from 
> it. I only want certain packages from it, the ones that I can't get from 
> the regular repository. How can I configure aptitude so that it will only 
> pull the packages that I tell it to from debiam-multimedia?
>
> I'm using Sid. Here's my sources.list file:
>
> #### unstable ########
> deb http://ftp.de.debian.org/debian/ unstable main contrib non-free
> deb-src http://ftp.de.debian.org/debian/ unstable main contrib non-free
>
> #deb http://ftp.de.debian.org/debian squeeze main contrib non-free
>
> #### dmm  #########
> #deb http://www.debian-multimedia.org sid main
>
This info comes from backports.org, but it should also apply to
debian-mulitmedia.org, as far as pinning priority goes:


If you want to get your packages from backports upgraded automatically
the following entry in /etc/apt/preferences should be sufficient:

Package: *
Pin: release a=lenny-backports
Pin-Priority: 200


I *think* your pin line should read like this:
Pin: origin www.debian-multimedia.org

I have lenny-backports pinned at 200, and it does not install anything
from backports w/o me specifying it.  It will automatically upgrade
existing backports packages with newer versions of backports packages as
they come out.

See man apt_preferences for more details.

-Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100221151839.gb8...@aurora.owens.net

Reply via email to