aboutsummaryrefslogtreecommitdiffstats
path: root/doc/INSTALL.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/INSTALL.md')
-rw-r--r--doc/INSTALL.md7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/INSTALL.md b/doc/INSTALL.md
index ea8871888..e99cb491d 100644
--- a/doc/INSTALL.md
+++ b/doc/INSTALL.md
@@ -1,4 +1,4 @@
-These instructions assume Debian Squeeze (64-bit) or Ubuntu 10.04 LTS.
+These instructions assume Debian Squeeze (64-bit) or Ubuntu 12.04 LTS (precise).
[Install instructions for OS X](https://github.com/mysociety/alaveteli/wiki/OS-X-Quickstart)
are under development. Debian Squeeze is the best supported
deployment platform.
@@ -32,6 +32,10 @@ You need to configure [apt-pinning](http://wiki.debian.org/AptPreferences#Pinnin
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=squeeze-backports">> /tmp/preferences
+ echo "Pin-Priority: 200" >> /tmp/preferences
+ echo "" >> /tmp/preferences
+ echo "Package: *" >> /tmp/preferences
echo "Pin: release a=testing">> /tmp/preferences
echo "Pin-Priority: 50" >> /tmp/preferences
sudo cp /tmp/preferences /etc/apt/
@@ -49,6 +53,7 @@ If you are running Debian, add the following repositories to
deb http://debian.mysociety.org squeeze main
deb http://ftp.debian.org/debian/ testing main non-free contrib
+ deb http://backports.debian.org/debian-backports squeeze-backports main contrib non-free
The repositories above allow us to install the packages
`wkhtmltopdf-static` and `bundler` using `apt`; so if you're running