[Python-apps-team] Bug#750871: mercurial: odd problem with /usr/bin/hg hash bang when backporting to wheezy

Faheem Mitha faheem at faheem.info
Sat Jun 7 19:31:18 UTC 2014


Package: mercurial
Version: 3.0-1
Severity: normal

Hi,

When I backported the mercurial 3.0-1 package in unstable to wheezy,
something odd happened. The hash bang at the top of the installed
/usr/bin/hg in the backported 3.0 mercurial package is
#!/usr/bin/python2.6. This is wrong, of course, since the default
Python version on wheezy is 2.7. The correct hash bang is
#!/usr/bin/python.

The last version I backported to wheezy, which was 2.9, as well as the
mercurial 3.0 unstable deb file I downloaded, both have
#!/usr/bin/python as expected.

So something seems to be going wrong on wheezy. Max Bowsher on
#mercurial was able to reproduce this.

                                                       Regards, Faheem


-- System Information:
Debian Release: 7.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (500, 'oldstable'), (50, 'unstable'), (50, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/6 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mercurial depends on:
ii  libc6             2.13-38+deb7u1
ii  mercurial-common  3.0-1
ii  python            2.7.3-4+deb7u1
ii  python2.6         2.6.8-1.1
ii  ucf               3.0025+nmu3

Versions of packages mercurial recommends:
ii  openssh-client  1:6.0p1-4+deb7u1

Versions of packages mercurial suggests:
ii  kdiff3  0.9.96-4
pn  qct     <none>

-- no debconf information



More information about the Python-apps-team mailing list