Debian sources for Ubuntu Dapper

Faheem Mitha faheem at email.unc.edu
Mon Apr 23 15:12:15 CDT 2007



On Mon, 23 Apr 2007, Vincent Danjean wrote:

> 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?
>
>  Hi,
>
>  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 ?

I tried to use your Debian sarge backport for 0.9.3 (bpo2) sources, from 
your web site 
(http://www-id.imag.fr/Laboratoire/Membres/Danjean_Vincent/deb.html#mercurial). 
This is pretty compatible with Ubuntu Dapper, with the only difference 
being that the version of debhelper listed in control (5.0.37.2) was more 
recent than the version of debhepler in Dapper (5.0.7ubuntu13).

I decided that perhaps I didn't need to take the version number too 
seriously, so I removed it, and the package built fine on Dapper. How is 
the debhelper version number decided, by the way? Or is it just decided 
automatically in some fashion?

                                                                  Faheem.

> 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
>>> (http://utahpython.org/meetings.spy), 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,
>    Vincent
>
> [0] http://people.debian.org/~danjean/debian/stable/main/m/mercurial


More information about the Mercurial mailing list