Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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

I wish to get TortiseHQ for use with bitbuket working in ubuntu but I can not work it out... I have the latest version of ubuntu 12.04 at teh time of this post...

I used these commands to install..

sudo add-apt-repository ppa:mercurial-ppa/releases

sudo add-apt-repository ppa:tortoisehg-ppa/releases

sudo apt-get update

sudo apt-get install tortoisehg

sudo apt-get install qct vim emacs kdiff3 kompare meld xxdiff tkcvs mgdiff

I am sure this is how I did it last time only a few weeks ago (setting up a mates laptop now) but when I try to run TortiseHQ workstation I get this error...

** Mercurial version (2.2.1). TortoiseHg version (2.3)

** Command: log

** CWD: /home/itisme

** Encoding: UTF-8

** Extensions loaded:

** Python version: 2.7.3 (default, Apr 20 2012, 22:39:59) [GCC 4.6.3]

** Qt-4.8.1 PyQt-4.9.1

This version of TortoiseHg requires Mercurial version 2.0.n to 2.1.n, but found 2.2.1

So i guess i need to install an older version of mercurial.. but I do not know how.. also the context menus in the UI file browser are not showing up...

Any ideas?

share|improve this question
up vote 4 down vote accepted

I had the same problem.

Installing Mercurial from

and then installing tortoiseHg using sudo apt-get install tortoisehg solved my problem.





share|improve this answer
I had to also download a new version of Mercurial-Common. – Liron Aug 9 '12 at 8:25

Why are you installing TortoiseHg and Mercurial from PPAs if both are easily available from the Software Center?

If a given software requires an specific version to run, and this is not clearly described in the .deb package (which would prevent you from installing it when versions mismatch), I would seriously question the quality of those builds.

To avoid this kind of headaches is precisely what Software Center was made for.

That said, to install to a specific version of any package, do this:

apt-cache policy mercurial

Check Version table options. Choose one that fits Tortoise's requirement. then:

apt-get install mercurial=<version>
share|improve this answer
i am new to ubuntu i was just following the install instruction on the tortiseHQ website – aJynks May 4 '12 at 23:28
@aJynks: And thus you had your first lesson on the do's and dont's of Ubuntu's Brave New World: this is not windows, you don't have to hunt for developers websites, your OS already conveniently provides more than 35.000 software for you in the Software Center, including TortoiseHg and Mercurial. And they are build and tested by people that knows the details of your particular release, something an upstream software developer rarely do. – MestreLion May 5 '12 at 6:49

Apt Pinning is what you need. Plenty of documentation available on the subject.

share|improve this answer
@Mitch What link? (I've just added one...but this should still of course be expanded to include the essential information.) – Eliah Kagan Aug 22 '12 at 8:50

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.