On 02/12/2010 14:02, Alexander Reichle-Schmehl wrote:
Hi!

* Lucas Nussbaum<lu...@lucas-nussbaum.net>  [101121 11:07]:

While testing the installation of all packages in unstable, I ran
into the following problem:

Setting up mercurial-common (1.6.4-1) ...
Setting up mercurial (1.6.4-1) ...
[..]
Setting up mercurial-server (1.0.1-1.1) ...
abort: couldn't find mercurial libraries in [/usr/bin /usr/lib/python2.6 
/usr/lib/python2.6/plat-linux2 /usr/lib/python2.6/lib-tk 
/usr/lib/python2.6/lib-old /usr/lib/python2.6/lib-dynload 
/usr/local/lib/python2.6/dist-packages /usr/lib/python2.6/dist-packages 
/usr/lib/pymodules/python2.6]
(check your install and PYTHONPATH)
dpkg: error processing mercurial-server (--configure):

I fail to reproduce this bug.  I tried current sid and current squeeze
(which actually means:  The very same versions you tried), using apt-get
as well als aptitude.  It always got installed and set up without any
errors. I tried my pbuilder chroots as well as installation with on the
fly chroots created by piuparts.

Looking at the postrm script, I guess the following line must have
caused the error (as everything else doesn't involve python):

su -c "/usr/share/mercurial-server/init/hginit /usr/share/mercurial-server" hg

And my first thought was, that this line might need some tighter
dependency mercurial / mercurial-common, but looking at your
installation log, it shows that mercurial-common and mercurial itself
are already installed and configured at that point.

Can you reproduce this error?


I just tried and it fails (on my testing box):

| $ aptitude install mercurial-server
| The following NEW packages will be installed:
|   mercurial{a} mercurial-common{a} mercurial-server
| 0 packages upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
| Need to get 1 427 kB of archives. After unpacking 5 784 kB will be used.
| Do you want to continue? [Y/n/?]
| Get:1 ftp://ftp.debian.org/debian/ testing/main mercurial-common all 1.6.4-1 [1 336 kB] | Get:2 ftp://ftp.debian.org/debian/ testing/main mercurial i386 1.6.4-1 [71,9 kB] | Get:3 ftp://ftp.debian.org/debian/ testing/main mercurial-server all 1.0.1-1.1 [18,9 kB]
| Fetched 1 427 kB in 1s (1 274 kB/s)
| Preconfiguring packages ...
| Selecting previously deselected package mercurial-common.
| (Reading database ... 304736 files and directories currently installed.)
| Unpacking mercurial-common (from .../mercurial-common_1.6.4-1_all.deb) ...
| Selecting previously deselected package mercurial.
| Unpacking mercurial (from .../mercurial_1.6.4-1_i386.deb) ...
| Selecting previously deselected package mercurial-server.
| Unpacking mercurial-server (from .../mercurial-server_1.0.1-1.1_all.deb) ...
| Processing triggers for man-db ...
| Processing triggers for doc-base ...
| Processing 1 added doc-base file(s)...
| Registering documents with scrollkeeper...
| Setting up mercurial-common (1.6.4-1) ...
| Setting up mercurial (1.6.4-1) ...
|
| Creating config file /etc/mercurial/hgrc.d/hgext.rc with new version
| Setting up mercurial-server (1.0.1-1.1) ...
| abort: couldn't find mercurial libraries in [/usr/bin /usr/lib/python2.6 /usr/lib/python2.6/plat-linux2 /usr/lib/python2.6/lib-tk /usr/lib/python2.6/lib-old /usr/lib/python2.6/lib-dynload /usr/local/lib/python2.6/dist-packages /usr/lib/python2.6/dist-packages /usr/lib/python2.6/dist-packages/PIL /usr/lib/python2.6/dist-packages/gst-0.10 /usr/lib/pymodules/python2.6 /usr/lib/pymodules/python2.6/gtk-2.0 /usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode]
| (check your install and PYTHONPATH)
| dpkg: error processing mercurial-server (--configure):
| subprocess installed post-installation script returned error exit status 255
| configured to not write apport reports
| Processing triggers for python-support ...
| Errors were encountered while processing:
|  mercurial-server
| E: Sub-process /usr/bin/dpkg returned an error code (1)
| A package failed to install.  Trying to recover:
| Setting up mercurial-server (1.0.1-1.1) ...
|
| $ echo $?
| 255
|

but it doesn't fail in a clean sid chroot.

Given that the maintainer is not responding, that the package is
not present in Lenny and that it has two RC bugs... maybe it's
better to just not ship it in Squeeze?

Best Regards,

--
Mehdi Dogguy مهدي الدڤي
http://dogguy.org/



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to