This looks like a bug in python-central instead of reportbug. Try updating python-central and trying again.
On 4/1/07, Mack-Eustache KOUAME <[EMAIL PROTECTED]> wrote:
Package: reportbug Version: 3.34 Severity: important Hi, When I try to upgrade the package reportbug, here is the following problem that I encounter : sz92s# aptitude upgrade Reading package lists... Done Building dependency tree... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done Building tag database... Done The following packages will be upgraded: reportbug 1 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 144kB of archives. After unpacking 8192B will be freed. Do you want to continue? [Y/n/?] Get:1 ftp://ftp.wa.au.debian.org sid/main reportbug 3.34.2 [144kB] Fetched 144kB in 14s (9698B/s) Selecting previously deselected package reportbug. (Reading database ... 63361 files and directories currently installed.) Preparing to replace reportbug 3.34 (using .../reportbug_3.34.2_all.deb) ... Traceback (most recent call last): File "/usr/bin/pycentral", line 1373, in ? main() File "/usr/bin/pycentral", line 1367, in main rv = action.run(global_options) File "/usr/bin/pycentral", line 952, in run pkg.remove(runtimes, remove_script_files=True) File "/usr/bin/pycentral", line 697, in remove default_runtime.remove_byte_code(self.private_files) AttributeError: 'NoneType' object has no attribute 'remove_byte_code' dpkg: warning - old pre-removal script returned error exit status 1 dpkg - trying script from the new package instead ... Traceback (most recent call last): File "/usr/bin/pycentral", line 1373, in ? main() File "/usr/bin/pycentral", line 1367, in main rv = action.run(global_options) File "/usr/bin/pycentral", line 952, in run pkg.remove(runtimes, remove_script_files=True) File "/usr/bin/pycentral", line 697, in remove default_runtime.remove_byte_code(self.private_files) AttributeError: 'NoneType' object has no attribute 'remove_byte_code' dpkg: error processing /var/cache/apt/archives/reportbug_3.34.2_all.deb (--unpack): subprocess new pre-removal script returned error exit status 1 Traceback (most recent call last): File "/usr/bin/pycentral", line 1373, in ? main() File "/usr/bin/pycentral", line 1367, in main rv = action.run(global_options) File "/usr/bin/pycentral", line 889, in run self.options.exclude, byte_compile_default=True) File "/usr/bin/pycentral", line 672, in install self.default_runtime.byte_compile(self.private_files, AttributeError: 'NoneType' object has no attribute 'byte_compile' dpkg: error while cleaning up: subprocess post-installation script returned error exit status 1 Errors were encountered while processing: /var/cache/apt/archives/reportbug_3.34.2_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover: dpkg: error processing reportbug (--configure): Package is in a very bad inconsistent state - you should reinstall it before attempting configuration. Errors were encountered while processing: reportbug I try to remove the package in order to install the newer version and here is the result : sz92s# dpkg -r reportbug dpkg: error processing reportbug (--remove): Package is in a very bad inconsistent state - you should reinstall it before attempting a removal. Errors were encountered while processing: reportbug Then I Try to reinstall it and here is what it says : sz92s# aptitude reinstall reportbug Reading package lists... Done Building dependency tree... Done Reading extended state information Initializing package states... Done Writing extended state information... Done Reading task descriptions... Done Building tag database... Done The following packages will be REINSTALLED: reportbug 0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded. Need to get 0B of archives. After unpacking 0B will be used. Writing extended state information... Error! E: I wasn't able to locate file for the reportbug package. This might mean you need to manually fix this package. E: Couldn't lock list directory..are you root? When I try to reconfigure the package I have : sz92s# dpkg-reconfigure reportbug /usr/sbin/dpkg-reconfigure: reportbug is broken or not fully installed here is the result of "dpkg -C" : sz92s# dpkg -C The following packages are in a mess due to serious problems during installation. They must be reinstalled for them (and any packages that depend on them) to function properly: reportbug reports bugs in the Debian distribution Regards, Mack-Eustache Kouame -- Package-specific info: ** Environment settings: INTERFACE="text" ** /home/booki/.reportbugrc: reportbug_version "3.34" mode novice ui text email "[EMAIL PROTECTED]" no-cc header "X-Debbugs-CC: [EMAIL PROTECTED]" smtphost bugs.debian.org -- System Information: Debian Release: 4.0 APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.20.4.mek.070327 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8) Versions of packages reportbug depends on: ii apt 0.6.46.4-0.1 Advanced front-end for dpkg ii python 2.4.4-2 An interactive high-level object-o ii python-central 0.5.12 register and build utility for Pyt reportbug recommends no packages. -- no debconf information
-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]