How to install debian package from


For users:

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

deb sarge-backports main contrib non-free

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

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


#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.