[Python-apps-team] Bug#491109: mercurial: Unreliable test for "wish" in postinst.
Daniel Kobras
kobras at debian.org
Wed Jul 16 18:12:03 UTC 2008
Package: mercurial
Version: 1.0.1-3
Severity: normal
Hi!
When mercurial's postinst checks whether to enable extension hgk, it
runs
which wish > /dev/null || enable=false
but wish is handled via alternatives, and might only become available
later on if mercurial and tk8.4 are upgraded in one batch. Lacking
something like a "Pre-Suggests" to avoid this situation, maybe the test
could be expanded to eg.
which wish > /dev/null || test -d /usr/share/doc/tk8.4 || enable=false
or even a version that's less kludgy.
Regards,
Daniel.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.25-2-amd64 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages mercurial depends on:
ii libc6 2.7-12 GNU C Library: Shared libraries
ii mercurial-common 1.0.1-3 Scalable distributed version contr
ii python 2.5.2-1 An interactive high-level object-o
ii python-support 0.8.4 automated rebuilding support for P
ii ucf 3.007 Update Configuration File: preserv
Versions of packages mercurial recommends:
ii kdiff3 0.9.92-2 compares and merges 2 or 3 files o
ii meld 1.1.5.1-2 graphical tool to diff and merge f
ii python-beaker 0.9.5-1 Simple WSGI middleware that uses t
-- no debconf information
More information about the Python-apps-team
mailing list