[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#559227: python-apt: fails to install or remove



Package: python-apt
Version: 0.7.13.4
Severity: grave
Justification: renders package unusable

During upgrade:
(Reading database ... 30226 files and directories currently installed.)
Preparing to replace python-apt 0.7.13.3 (using .../python-apt_0.7.13.4_i386.deb) ...
  File "/usr/bin/pycentral", line 2112
    else:
       ^
SyntaxError: invalid syntax
dpkg: warning: old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
  File "/usr/bin/pycentral", line 2112
    else:
       ^
SyntaxError: invalid syntax
dpkg: error processing /var/cache/apt/archives/python-apt_0.7.13.4_i386.deb (--install):
 subprocess new pre-removal script returned error exit status 1
  File "/usr/bin/pycentral", line 2112
    else:
       ^
SyntaxError: invalid syntax
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/python-apt_0.7.13.4_i386.deb


During attempted removal:
dpkg: error processing python-apt (--remove):
 Package is in a very bad inconsistent state - you should
 reinstall it before attempting a removal.

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

Kernel: Linux 2.6.26-1-vserver-686 (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 python-apt depends on:
ii  apt [libapt-pkg-libc6.9-6-4.8 0.7.24     Advanced front-end for dpkg
ii  apt-utils [libapt-inst-libc6. 0.7.24     APT utility programs
ii  libc6                         2.10.2-2   GNU C Library: Shared libraries
ii  libgcc1                       1:4.4.2-3  GCC support library
ii  libstdc++6                    4.4.2-3    The GNU Standard C++ Library v3
ii  lsb-release                   3.2-23     Linux Standard Base version report
ii  python                        2.5.4-2    An interactive high-level object-o
ii  python-central                0.6.14     register and build utility for Pyt

Versions of packages python-apt recommends:
ii  iso-codes                     3.12-1     ISO language, territory, currency,
ii  libjs-jquery                  1.3.3-2    JavaScript library for dynamic web

Versions of packages python-apt suggests:
pn  python-apt-dbg                <none>     (no description available)
pn  python-gtk2                   <none>     (no description available)
pn  python-vte                    <none>     (no description available)

-- no debconf information



Reply to: