I am looking for a script that would enable debian backports for debian squeeze, something that I could just run and will enable me to install new packages like a decent version of mercurial after, just by doing apt-get upgrade mercurial
.
Asked
Active
Viewed 271 times
-1
![](../../users/profiles/10361.webp)
sorin
- 7,668
- 24
- 75
- 100
1 Answers
0
Read this and put the instructions there in a script. What's the problem with it?
#!/bin/bash
echo "deb http://YOURMIRROR.debian.org/debian-backports squeeze-backports(-sloppy) main" >> /etc/apt/sources.list
apt-get update
And then you can do
apt-get -t squeeze-backports install "mercurial"
![](../../users/profiles/8897.webp)
Sven
- 97,248
- 13
- 177
- 225
-
Is there a way to activate mercurial from backports so you can install it without having to specify the `-t` ? – sorin Apr 19 '13 at 12:58