Package: python2.3
Version: 2.3.5-14
Followup-For: Bug #373939

Confirmed here.  The same bug shows up on my system:

    % dpkg -i /var/cache/apt/archives/python2.3_2.3.5-14_i386.deb 
    (Reading database ... 180261 files and directories currently installed.)
    Preparing to replace python2.3 2.3.5-14 (using 
.../python2.3_2.3.5-14_i386.deb) ...
    Unpacking replacement python2.3 ...
    Setting up python2.3 (2.3.5-14) ...
    Traceback (most recent call last):
      File "/usr/bin/pycentral", line 1365, in ?
        main()
      File "/usr/bin/pycentral", line 1359, in main
        rv = action.run(global_options)
      File "/usr/bin/pycentral", line 1008, in run
        pkg.set_default_runtime_from_version_info()
      File "/usr/bin/pycentral", line 575, in 
set_default_runtime_from_version_info
        self.default_runtime = get_runtime_for_version(versions[0])
    TypeError: unindexable object
    dpkg: error processing python2.3 (--install):
     subprocess post-installation script returned error exit status 1
    Errors were encountered while processing:
     python2.3

    % echo $?
    1

Here's something odd -- if I downgrade one version the error
is still there:

    % dpkg -i /var/cache/apt/archives/python2.3_2.3.5-13_i386.deb 
    (Reading database ... 180261 files and directories currently installed.)
    Preparing to replace python2.3 2.3.5-14 (using 
.../python2.3_2.3.5-13_i386.deb) ...
    Unpacking replacement python2.3 ...
    Setting up python2.3 (2.3.5-13) ...
    Traceback (most recent call last):
      File "/usr/bin/pycentral", line 1365, in ?
        main()
      File "/usr/bin/pycentral", line 1359, in main
        rv = action.run(global_options)
      File "/usr/bin/pycentral", line 1008, in run
        pkg.set_default_runtime_from_version_info()
      File "/usr/bin/pycentral", line 575, in 
set_default_runtime_from_version_info
        self.default_runtime = get_runtime_for_version(versions[0])
    TypeError: unindexable object
    dpkg: error processing python2.3 (--install):
     subprocess post-installation script returned error exit status 1
    Errors were encountered while processing:
    python2.3

Usually downgrading fixes such things, but not in this instance.

Hope this helps...


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.16-2-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)

Versions of packages python2.3 depends on:
ii  libbz2-1.0                    1.0.3-2    high-quality block-sorting file co
ii  libc6                         2.3.6-15   GNU C Library: Shared libraries
ii  libdb4.3                      4.3.29-5   Berkeley v4.3 Database Libraries [
ii  libncurses5                   5.5-2      Shared libraries for terminal hand
ii  libreadline5                  5.1-7      GNU readline and history libraries
ii  libssl0.9.8                   0.9.8b-2   SSL shared libraries
ii  python-central                0.4.16     register and build utility for Pyt
ii  zlib1g                        1:1.2.3-11 compression library - runtime

Versions of packages python2.3 recommends:
ii  python2.3-iconvcodec          1.1.2-2.2  Python universal Unicode codec, us

-- no debconf information


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

Reply via email to