Debian sources for Ubuntu Dapper

Vincent Danjean Vincent.Danjean at
Mon Apr 23 14:34:19 CDT 2007

Tim Post a écrit :
> On Sat, 2007-04-21 at 00:26 +0000, Faheem Mitha wrote:
>> Hi everyone,
>> Does anyone know where I can find mercurial 0.9.3 Debian package
>> sources (can be compiled into a Debian package)for Ubuntu Dapper?


  I'm the Debian maintainer of mercurial.
  My debian sources are available in any debian repo. I also made a
backport for sarge available in my personal repo [0]. Now that sarge
is oldstable and etch is stable, I do not know if will continue to build
packages for sarge.

>> Alternatively, a binary amd64 package would work. I tried using Debian
>> package sources, but ran into compatibility problems.

Can you explain which ones exactly ?
Most of the times, you only need to do :
sudo vi /etc/apt/sources.list # add the source repo you need, ie the "deb-src ..." line
sudo apt-get update
apt-get source mercurial
cd mercurial-0.9.3
sudo apt-get install build-essential fakeroot
sudo apt-get build-dep fakeroot
dpkg-buildpackage -rfakeroot -us -us
sudo dpkg -i ../mercurial....

>> I could only find a i386 binary package here
>> (, but I need the source to compile
>> on an amd64 machine.
>> Thanks.                                                 Faheem.
> I'd just download Mercurial source and build it. I'm not entirely sure
> the package you want exists in amd64, did you try backports?

As I said above, I did not upload mercurial 0.9.3 to backport, only
mercurial 0.9.1. So you would probably be interested in looking in my
repo [0]

> If I recall correctly, there were some annoying python problems in that
> version too (amd64), which is another good reason to build your own.
> There was a very good reason it wasn't packaged in amd64 but I can't
> remember clearly enough to explain it, but could also be mistaken.

I never head about any problems on Debian and amd64. On the other hand,
I do not use the ubuntu distribution at all.

> May save a few hours if you just build it :)
> --Tim

  Best regards,


More information about the Mercurial mailing list