Pinning a package example for Debian/Ubuntu

Posted on .

I wanted backuppc to install from unstable, so I added the following:

/etc/apt/preferences.d:

Quick explanation:
– Moving “squeeze” (my base installation) above 500 keeps it as priority default installation.
– Having unstable below 500 means it has lower priority of anything already installed.
– Then pinning backuppc package to the top so it’ll get installed with unstable.

Leave a Reply

You may leave the Name and Email fields blank to post anonymously.