Package: python-apt Version: 0.7.97.1 Severity: normal If a package is marked for removal the required_space property of the apt.cache.Cache returns Not a Number. It should be a negative value to represent disk space which will be freed. Why is a float used instead of a long?
>>> c = apt.Cache() >>> p = c["xterm"] >>> p.mark_delete() >>> c.required_space nan -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages python-apt depends on: ii apt [libapt-pkg4.10] 0.8.5 Advanced front-end for dpkg ii apt-utils [libapt-inst1.2] 0.8.5 APT utility programs ii libc6 2.11.2-6 Embedded GNU C Library: Shared lib ii libgcc1 1:4.4.4-15 GCC support library ii libstdc++6 4.4.4-15 The GNU Standard C++ Library v3 ii python 2.6.6-1 interactive high-level object-orie ii python-central 0.6.16+nmu1 register and build utility for Pyt Versions of packages python-apt recommends: ii iso-codes 3.20-1 ISO language, territory, currency, ii lsb-release 3.2-23.1 Linux Standard Base version report ii python2.6 2.6.6-5 An interactive high-level object-o Versions of packages python-apt suggests: pn python-apt-dbg <none> (no description available) ii python-apt-doc 0.7.97.1 Python interface to libapt-pkg (AP ii python-gtk2 2.17.0-4 Python bindings for the GTK+ widge ii python-vte 1:0.24.3-1 Python bindings for the VTE widget -- no debconf information -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

