I wanted backuppc to install from unstable, so I added the following:
/etc/apt/preferences.d:
1 2 3 4 5 6 7 8 9 10 11 |
Package: * Pin: release o=Debian,a=squeeze Pin-Priority: 600 Package: * Pin: release o=Debian,a=unstable Pin-Priority: 400 Package: backuppc Pin: release o=Debian,a=unstable Pin-Priority: 800 |
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.