Package: bpython
Version: 0.9.5.2-2
Severity: normal

Hi,

[ normal as it does not break the package or something ]

bpython.postinst reads:
case "$1" in
    configure)
        # This is needed for upgrades from < 0.9.5.2-2, since we're being
        # installed in /usr/share/pyshared/ with python-support > 0.90.0
        dpkg --compare-versions $2 lt 0.9.5.2-2 && \
            rm -rf /usr/share/python2.5/site-packages/bpython && \
            rm -rf /usr/lib/python2.5/site-packages/bpython
    ;;

Which produces the following on a fresh (!!!) install:
Setting up bpython (0.9.5.2-2) ...
dpkg: --compare-versions takes three arguments: <version> <relation> <version>

Type dpkg --help for help about installing and deinstalling packages [*];
Use `dselect' or `aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;
Type dpkg --license for copyright license and lack of warranty (GNU GPL) [*].

Options marked [*] produce a lot of output - pipe it through `less' or `more' !

$2 is not set when we're installing (not upgrading).

Regards
Evgeni

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-1-amd64 (SMP w/2 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 bpython depends on:
ii  python                      2.5.4-2      An interactive high-level object-o
ii  python-pkg-resources        0.6.8-1      Package Discovery and Resource Acc
ii  python-pygments             1.1.1+dfsg-2 syntax highlighting package writte
ii  python-support              1.0.6        automated rebuilding support for P

bpython recommends no packages.

bpython suggests no packages.

-- no debconf information



-- 
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