aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2012-09-24 15:01:53 +0100
committerLouise Crow <louise.crow@gmail.com>2012-09-24 15:01:53 +0100
commit2e0e8c434dbb71f5858f509f13f6986a0c1b0129 (patch)
treeadc1f2d7ae9da75b3a2be3d8ab06be5b5e161515
parente6d59c83066d2ff77da076b1d56da184295c82a1 (diff)
Add instructions about package pinning to the install doc.
-rw-r--r--doc/INSTALL.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/INSTALL.md b/doc/INSTALL.md
index da72987af..aa9626afe 100644
--- a/doc/INSTALL.md
+++ b/doc/INSTALL.md
@@ -25,6 +25,18 @@ master branch (which always contains the latest stable release):
git checkout master
+# Package pinning
+
+You need to configure [apt-pinning](http://wiki.debian.org/AptPreferences#Pinning-1) preferences in order to prevent packages being pulled from the debian testing distribution in preference to the stable distribution once you have added the testing repository as described below.
+
+In order to configure apt-pinning and to keep most packages coming from the Debian stable repository while installing the ones required from testing and the mySociety repository you need to run the following commands:
+
+ echo "Package: *" >> /tmp/preferences
+ echo "Pin: release a=testing">> /tmp/preferences
+ echo "Pin-Priority: 50" >> /tmp/preferences
+ sudo cp /tmp/preferences /etc/apt/
+ rm /tmp/preferences
+
# Install system dependencies
These are packages that the software depends on: third-party software