diff options
author | Louise Crow <louise.crow@gmail.com> | 2014-07-07 16:56:05 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2014-07-07 18:04:22 +0100 |
commit | 404f67a660a66cd1bed82a1c29d8d3f0c73784a3 (patch) | |
tree | 73612453c25da5dbcd6b47d18c5ea6c17b3c2a0c /docs | |
parent | 89f1ca37bcdc8f7a97bb4bc2ce3a9ab9a21fac4a (diff) |
Add raring repository for precise.
This allows us to get a more recent version of bundler and pdftk. Also
add package pinning instructions. Switch repo as EC2 was giving 403 on
some packages.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/installing/manual_install.md | 29 |
1 files changed, 23 insertions, 6 deletions
diff --git a/docs/installing/manual_install.md b/docs/installing/manual_install.md index 3bf241f53..47ed92591 100644 --- a/docs/installing/manual_install.md +++ b/docs/installing/manual_install.md @@ -109,14 +109,31 @@ The squeeze-backports repository is providing a more recent version of rubygems, **Ubuntu Precise** cat > /etc/apt/sources.list.d/ubuntu-extra.list <<EOF - deb http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ precise multiverse - deb-src http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ precise multiverse - deb http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ precise-updates multiverse - deb-src http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ precise-updates multiverse + deb http://de.archive.ubuntu.com/ubuntu/ precise multiverse + deb-src http://de.archive.ubuntu.com/ubuntu/ precise multiverse + deb http://de.archive.ubuntu.com/ubuntu/ precise-updates multiverse + deb-src http://de.archive.ubuntu.com/ubuntu/ precise-updates multiverse + deb http://de.archive.ubuntu.com/ubuntu/ raring universe + deb-src http://de.archive.ubuntu.com/ubuntu/ raring universe + EOF + +The raring repo is used here to get a more recent version of bundler and pdftk. You should configure package-pinning to reduce the priority of the raring repository so other packages aren't pulled from it. + + cat >> /etc/apt/preferences <<EOF + + Package: ruby-bundler + Pin: release n=raring + Pin-Priority: 990 + + Package: pdftk + Pin: release n=raring + Pin-Priority: 990 + + Package: * + Pin: release n=raring + Pin-Priority: 50 EOF -The repositories above let you install `wkhtmltopdf-static` using `apt`. -`bundler` will have to be installed manually on Ubuntu Precise. ### Packages customised by mySociety |