Package: python-central
Version: 0.5.12
Severity: important

Hello,

I had send a bug report for the package reportbug (#417246). Following 
the answer provided by Chris Lawrence, I tried to reinstall the package 
python-central. Unfortunately I still have the same problems with this 
package and now with python-uno also. Here is what I get when I try to 
upgrade both reportbug and python-uno :

sz92s# aptitude dist-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:
  python-uno reportbug 
2 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 503kB of archives. After unpacking 8192B will be freed.
Do you want to continue? [Y/n/?] 
Writing extended state information... Done
Get:1 ftp://ftp.wa.au.debian.org sid/main reportbug 3.34.2 [144kB]
Get:2 ftp://ftp.wa.au.debian.org sid/main python-uno 2.0.4.dfsg.2-7 
[359kB]
Fetched 503kB in 23s (21.6kB/s)                                                 
                                        
(Reading database ... 63416 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
Preparing to replace python-uno 2.0.4.dfsg.2-6 (using 
..../python-uno_2.0.4.dfsg.2-7_amd64.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/python-uno_2.0.4.dfsg.2-7_amd64.deb (--unpack):
 subprocess new pre-removal script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/reportbug_3.34.2_all.deb
 /var/cache/apt/archives/python-uno_2.0.4.dfsg.2-7_amd64.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 have bothon python2.4 and python2.5 installed.

My python configuration is like this :

sz92s# ls -l /usr/bin/python
lrwxrwxrwx 1 root root 24 2007-04-06 13:46 /usr/bin/python -> 
/etc/alternatives/python
sz92s# ls -l /etc/alternatives/python
lrwxrwxrwx 1 root root 18 2007-04-06 13:52 /etc/alternatives/python -> 
/usr/bin/python2.4
sz92s# update-alternatives --config python

There are 2 alternatives which provide `python'.

  Selection    Alternative
-----------------------------------------------
*+        1    /usr/bin/python2.4
          2    /usr/bin/python2.5

Press enter to keep the default[*], or type selection number: 1
Using `/usr/bin/python2.4' to provide `python'.


Regards.

Mack-Eustache Kouame.

-- System Information:
Debian Release: lenny/sid
  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 python-central depends on:
ii  python                        2.4.4-2    An interactive high-level object-o

python-central recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to