Debianhelp.co.uk


How to install debian package from Backport.org

Instructions

For users:

Add this line to your /etc/apt/sources.list

deb http://www.backports.org/debian/ sarge-backports main contrib non-free

Add the following lines to your /etc/apt/preferences That will _deactivate_ all packages from backports.org

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

If you want to activate a package (e.g. nagios2), add these lines to /etc/apt/preferences

Package: nagios2
Pin: release a=sarge-backports
Pin-Priority: 999

Then run

#apt-get update

and

#apt-get install nagios2

as usual.

Another way is to skip the second entry in /etc/apt/preferences and to use

#apt-get -t sarge-backports install nagios2

which is easier when the package requires additional backports.

If you want to install any package you need to replace the mutt package name with the name of the package you want to install.