Debian: apt preferencesΒΆ

Install some packages from testingΒΆ

From: http://stackoverflow.com/questions/512906

Add the following to /etc/apt/preferences:

Package: *
Pin: release a=testing
Pin-Priority: 200

200 means that new packages in testing still override local packages that are not in stable (local is always 100), but not ones that are in the stable repo as well.

To install packages from testing:

$ apt-get install -t testing <some_package>
comments powered by Disqus

Table Of Contents

Previous topic

CentOS: Install Solr with Tomcat6

Next topic

Debian: archive repositories

This Page