1. Make this your /etc/apt/preferences file:
# /etc/apt/preferences -- The APT preferences configuration. # Run 'man apt_preferences' for more information. # # This file tells APT to use packages from the stable distribution by # default, but allows packages from other distributions to be used without # complete distribution upgrade. # # The user may specifically request packages from a particular distribution # with --target-release option of apt-get. # # WARNING: Empty lines have special meaning in this file. # Package: * Pin: release a=stable Pin-Priority: 900
Package: * Pin: release a=testing Pin-Priority: 800
Package: * Pin: release a=unstable Pin-Priority: 700 # eof
2. Add the appropriate lines to the /etc/apt/sources.list file:
deb http://ftp.us.debian.org/debian/ testing main non-free contrib
3. Run `apt-get update`.
4. Run `apt-get upgrade`. (If nothing is downloaded, then the pin is working properly.)
5. Run `apt-get install -t testing spamassassin`. (There might be dependencies on a newer version of perl or libc.)
6. Be careful with dselect after installing the pin. There are many 'required' packages in testing that it will try to install, but that you don't really need.
David Corbin wrote:
I have a production system, that I do NOT want to migrate to testing/unstable. But, I would like to upgrade one particular package (spamassassin, in this case) to a more recent version.
What is the recommended way of doing this? Should I just download and build the upstream package? Can pinning help me?
Thanks David
P.S. I realize that upgrading any package might require upgrades to several other packages.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]