Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

today I've installed Mercurial on Debian, but then realized it was the 1.0 version that is not compatible with new the repository format. I'm not sure which course of action to take, install Mercurial from source or from one of the three updated packages in lenny-backports, squeeze and sid. What would be the best way?

Also, I'm quite inexperienced with Debian (more used to Gentoo) and after reading some documentation, I'm quite confused about how to install unstable/testing packages, can someone point me some good documentation?


Update: Ended up using the backport package following instructions from that page:

share|improve this question
up vote 1 down vote accepted

You can easily add a sid repository to your /etc/apt/sources.list file then update and install:

deb sid main

or download the deb package and install with:

dpkg -i mercurial_1.3.1-1_i386.deb
share|improve this answer
If the idea is to stay close to the stable release, then using backports ( is the best way to go. Using "dpkg -i" should never be recommended to a novice user. – jamessan Nov 10 '09 at 17:33
I wouldn't say hes inexperienced if he knows his way around Gentoo. Just unfamiliar with debian package management. – John T Nov 10 '09 at 19:04
I would not recommend adding any sid/unstable or squeeze/testing repositories or packages to a stable system! Next thing you know, half your system will have upgraded itself to unstable! If you want to stay stable, use backports. – thomasrutter Feb 12 '10 at 7:40
a better method would be to use the backports, if available, or backport it oneself by grabbing the source package and building on one's own system. (in which case, installing with "dpkg -i" is perfectly reasonable.) – quack quixote Feb 12 '10 at 7:49

Use - it's the best way and if you set up the pinning to 200 like they say in the instructions page on the site, you'll get security updates for it too.

share|improve this answer
That's what I ended up using, but I don't remember if I properly set up the pinning, and I don't administer this machine anymore. I'll tell the new guy about this though. Thanks – Nicolas Buduroi Feb 12 '10 at 17:55

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.