Linux Panda

Open Source | Linux | Android | Tech

Tag Archives: preference

Apt Pinning Debian Multimedia Using Preferences

In this guide, we are going to see the steps to apt pinning Debian Multimedia repo using preferences in Debian.

 

Debian

 

Disclaimer:

Before we proceed, I want to let you know that even though the steps in this guide works in my Debian installation properly, it does not mean that the Apt-Pinning method used in this guide may work properly in your system too and/or may break the installation.

So please read more about Apt-Pinning in the Debian Wiki before proceeding further.

 

Multimedia codecs (3rd party repo)

If you want to install w32codecs and libdvdcss2 (required for the decryption of CSS protected-DVD), then you need to add the 3rd party repository deb-multimedia to do that.

Now open /etc/apt/sources.list and add the deb-multimedia repository.
sudo vi /etc/apt/sources.list

 

Add the following lines to the sources.list,

#Debian Multimedia
deb http://www.deb-multimedia.org jessie main non-free
deb-src http://www.deb-multimedia.org jessie main non-free

Now we have to deal with one more issue. Both debian.org and deb-multimedia.org host packages with same names in their repositories.

So we have to set apt pinning in such a way that the packages with same names that exist in both the repositories are downloaded from debian.org and not deb-multimedia.org.

Read more of this post

%d bloggers like this: