4

So I have an old server which I want to use as Mercurial repository host. apt-get install mercurial gives me v0.9, which is stoneage and without Windows filename workaround, which I rely on.

I've downloaded the v1.9 source and tried to build it but I end up in a web of depedency conflicts. Is it any way I can get v1.9 of mercurial to run in an Intrepid installation (kernel 2.6.24-19-generic)?

If not, how about 1.1 (the first one with Windows filename workaround)?

Jorge Castro
  • 71,754
Nilzor
  • 317

3 Answers3

2

Short answer: No.

Long answer: Nada.

First, 9.10 has reached its "EOL", or "End Of Life" - you'd be better off installing 10.04 or 8.04, they're still supported.

With that being said, you could try to enable the backports repository - (more on that here) and see if it's got Mercurial 1.9.

jrg
  • 60,611
1

I made it! I actually tried to upgrade the release first with do-release-upgrade, but that failed. What did succeed in this process however, was upgrading Python using aptitude (apt-get failed). This lead me to try and compile the source for mercurial agaian, and voila!

So aptitude install python-dev did the trick, followed by make install

To be honest, I'm not quite sure which apt-sources I used at that moment, but I think it was Hardy. Guess no one else will try this after me anyway, so... well anyway :)

Nilzor
  • 317
0

You can get Mercurial 1.9 from the PPA for it. To add it, pop open a terminal and type:

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

Once that's completed, run a quick update.

sudo apt-get update

Then you can now install the latest Mercurial using apt-get.