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

version graph

Package: python-central; Maintainer for python-central is (unknown);

Reported by: Adam Borowski <kilobyte@angband.pl>

Date: Wed, 2 Dec 2009 22:40:45 UTC

Severity: serious

Tags: patch

Merged with 559206, 559260, 559297, 559322, 559324, 559354

Found in version python-central/0.6.14

Fixed in versions python-central/0.6.14+nmu1, python-central/0.6.14+nmu2

Done: Scott Kitterman <scott@kitterman.com>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, APT Development Team <deity@lists.debian.org>:
Bug#559227; Package python-apt. (Wed, 02 Dec 2009 22:40:48 GMT) (full text, mbox, link).


Acknowledgement sent to Adam Borowski <kilobyte@angband.pl>:
New Bug report received and forwarded. Copy sent to APT Development Team <deity@lists.debian.org>. (Wed, 02 Dec 2009 22:40:48 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Adam Borowski <kilobyte@angband.pl>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: python-apt: fails to install or remove
Date: Wed, 2 Dec 2009 23:06:40 +0100
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




Information forwarded to debian-bugs-dist@lists.debian.org, APT Development Team <deity@lists.debian.org>:
Bug#559227; Package python-apt. (Wed, 02 Dec 2009 23:21:04 GMT) (full text, mbox, link).


Acknowledgement sent to Kumar Appaiah <a.kumar@alumni.iitm.ac.in>:
Extra info received and forwarded to list. Copy sent to APT Development Team <deity@lists.debian.org>. (Wed, 02 Dec 2009 23:21:05 GMT) (full text, mbox, link).


Message #10 received at 559227@bugs.debian.org (full text, mbox, reply):

From: Kumar Appaiah <a.kumar@alumni.iitm.ac.in>
To: 559227@bugs.debian.org, 559206@bugs.debian.org
Subject: Patch for this bug
Date: Wed, 2 Dec 2009 17:18:43 -0600
[Message part 1 (text/plain, inline)]
forcemerge 559206 559227
tags 559206 + patch
thanks

Hi!

Please find attached a simple patch (add a parenthesis at line 2111)
to fix this bug.

HTH, and thanks.

Kumar
[pycentral_fix.diff (text/x-diff, attachment)]

Bug reassigned from package 'python-apt' to 'python-central'. Request was from Kumar Appaiah <a.kumar@alumni.iitm.ac.in> to control@bugs.debian.org. (Wed, 02 Dec 2009 23:33:04 GMT) (full text, mbox, link).


Bug No longer marked as found in versions python-apt/0.7.13.4. Request was from Kumar Appaiah <a.kumar@alumni.iitm.ac.in> to control@bugs.debian.org. (Wed, 02 Dec 2009 23:33:05 GMT) (full text, mbox, link).


Forcibly Merged 559206 559227. Request was from Kumar Appaiah <akumar@debian.org> to control@bugs.debian.org. (Wed, 02 Dec 2009 23:51:06 GMT) (full text, mbox, link).


Added tag(s) pending. Request was from Luca Falavigna <dktrkranz@debian.org> to control@bugs.debian.org. (Thu, 03 Dec 2009 00:03:12 GMT) (full text, mbox, link).


Forcibly Merged 559206 559227 559260 559297. Request was from Kumar Appaiah <akumar@debian.org> to control@bugs.debian.org. (Thu, 03 Dec 2009 14:36:07 GMT) (full text, mbox, link).


Forcibly Merged 559206 559227 559260 559297 559322. Request was from Kumar Appaiah <a.kumar@alumni.iitm.ac.in> to control@bugs.debian.org. (Thu, 03 Dec 2009 16:24:08 GMT) (full text, mbox, link).


Forcibly Merged 559206 559227 559260 559297 559322 559324. Request was from Kumar Appaiah <a.kumar@alumni.iitm.ac.in> to control@bugs.debian.org. (Thu, 03 Dec 2009 16:48:10 GMT) (full text, mbox, link).


Forcibly Merged 559206 559227 559260 559297 559322 559324 559354. Request was from Kumar Appaiah <a.kumar@alumni.iitm.ac.in> to control@bugs.debian.org. (Thu, 03 Dec 2009 22:21:05 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 02 Jan 2010 07:28:12 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jan 14 01:20:28 2024; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.