Bug#622744: python-apt: Actiongroups always raise the unbalanced actiongroups warning
Package: python-apt
Version: 0.7.100.3
Severity: normal
The "W: Unbalanced action groups, expect badness" is always raised if
packages are marked for a change.
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.38-2-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.13.2 Advanced front-end for dpkg
ii apt-utils [libapt-inst1.2] 0.8.13.2 APT utility programs
ii libc6 2.11.2-11 Embedded GNU C Library: Shared lib
ii libgcc1 1:4.6.0-2 GCC support library
ii libstdc++6 4.6.0-2 The GNU Standard C++ Library v3
ii python 2.6.6-12 interactive high-level object-orie
ii python-apt-common 0.7.100.3 Python interface to libapt-pkg (lo
ii python2.6 2.6.6-8+b1 An interactive high-level object-o
Versions of packages python-apt recommends:
ii iso-codes 3.25-1 ISO language, territory, currency,
ii lsb-release 3.2-27 Linux Standard Base version report
Versions of packages python-apt suggests:
pn python-apt-dbg <none> (no description available)
ii python-apt-doc 0.7.100.3 Python interface to libapt-pkg (AP
ii python-gtk2 2.17.0-4+b1 Python bindings for the GTK+ widge
ii python-vte 1:0.24.3-2 Python bindings for the VTE widget
-- no debconf information
import apt
cache = apt.cache.Cache()
pkg = cache["xterm"]
with cache.actiongroup():
pkg.mark_install()
Reply to: