[Edgy] python2.4-minimal raises ValueError 'empty set of versions'

Bug #63598 reported by Mariusz Ciesla
2
Affects Status Importance Assigned to Milestone
python2.4 (Ubuntu)
Fix Released
Undecided
Matthias Klose

Bug Description

Binary package hint: python2.4-minimal

Konfigurowanie python2.4-minimal (2.4.3-8ubuntu2) ...
Linking and byte-compiling packages for runtime python2.4...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1329, in ?
    main()
  File "/usr/bin/pycentral", line 1323, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 958, in run
    requested = list(pyversions.requested_versions(vstring, version_only=True))
  File "/usr/share/pycentral-data/pyversions.py", line 128, in requested_versions
    raise ValueError, 'empty set of versions'
ValueError: empty set of versions

Revision history for this message
Keywan Tonekaboni (prometoys) wrote :

I have the same problem and can't continue dist-upgrade or using apt to install other packages.

Package: python2.4
Version: 2.4.3-8ubuntu2
Severity: wishlist

-- System Information:
Debian Release: testing/unstable
  APT prefers edgy-updates
  APT policy: (990, 'edgy-updates'), (990, 'edgy-security'), (990, 'edgy-proposed'), (990, 'edgy-backports'), (990, 'edgy')
Architecture: powerpc (ppc)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.17-10-powerpc
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages python2.4 depends on:
ii libbz2-1.0 1.0.3-3 high-quality block-sorting file co
ii libc6 2.4-1ubuntu10 GNU C Library: Shared libraries
ii libdb4.4 4.4.20-6 Berkeley v4.4 Database Libraries [
ii libncursesw5 5.5-2ubuntu1 Shared libraries for terminal hand
ii libreadline5 5.1-7build1 GNU readline and history libraries
ii libssl0.9.8 0.9.8b-2ubuntu2 SSL shared libraries
ii mime-support 3.36-1 MIME files 'mime.types' & 'mailcap
pn python2.4-minimal <none> (no description available)

python2.4 recommends no packages.

-- no debconf information

Revision history for this message
Keywan Tonekaboni (prometoys) wrote :

Hope this detailed output is helpful. In my opinion this bug is important because it blocks APT and I can't test other software.

Setting up python2.4-minimal (2.4.3-8ubuntu2) ...
+ [ configure = configure ]
+ cd /usr/lib/python2.4
+ dpkg -L python2.4-minimal
+ sed -n /\.py$/s,^/usr/lib/python2.4/,,p
+ files=__future__.py
ConfigParser.py
StringIO.py
UserDict.py
compileall.py
copy.py
copy_reg.py
dis.py
fnmatch.py
getopt.py
glob.py
inspect.py
linecache.py
opcode.py
optparse.py
os.py
pickle.py
platform.py
popen2.py
posixpath.py
py_compile.py
random.py
re.py
repr.py
socket.py
sre.py
sre_compile.py
sre_constants.py
sre_parse.py
stat.py
string.py
subprocess.py
tempfile.py
textwrap.py
token.py
tokenize.py
traceback.py
types.py
warnings.py
site.py
+ /usr/bin/python2.4 /usr/lib/python2.4/py_compile.py __future__.py ConfigParser.py StringIO.py UserDict.py compileall.py copy.py copy_reg.py dis.py fnmatch.py getopt.py glob.py inspect.py linecache.py opcode.py optparse.py os.py pickle.py platform.py popen2.py posixpath.py py_compile.py random.py re.py repr.py socket.py sre.py sre_compile.py sre_constants.py sre_parse.py stat.py string.py subprocess.py tempfile.py textwrap.py token.py tokenize.py traceback.py types.py warnings.py site.py
+ grep -sq ^byte-compile[^#]*optimize /etc/python/debian_config
+ [ -z 2.4.3-8ubuntu1 ]
+ dpkg --compare-versions 2.4.3-8ubuntu1 lt 2.4.3-8
+ [ -f /var/lib/python/python2.4_installed ]
+ grep -sq ^supported-versions[^#]*python2.4 /usr/share/python/debian_defaults
+ [ != noninteractive ]
+ echo Linking and byte-compiling packages for runtime python2.4...
Linking and byte-compiling packages for runtime python2.4...
+ dpkg -s python2.4-minimal
+ awk /^Version:/ {print $2}
+ version=2.4.3-8ubuntu2
+ [ -x /usr/share/python/runtime.d/pycentral.rtinstall ]
+ /usr/share/python/runtime.d/pycentral.rtinstall rtinstall python2.4 2.4.3-8ubuntu1 2.4.3-8ubuntu2
WARNING: using old version '/usr/bin/python2.3' found
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1329, in ?
    main()
  File "/usr/bin/pycentral", line 1323, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 958, in run
    requested = list(pyversions.requested_versions(vstring, version_only=True))
  File "/usr/share/pycentral-data/pyversions.py", line 128, in requested_versions
    raise ValueError, 'empty set of versions'
ValueError: empty set of versions
dpkg: error processing python2.4-minimal (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 python2.4-minimal
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Matthias Klose (doko) wrote :

fixed in python-central 0.5.6ubuntu2.

Changed in python2.4:
assignee: nobody → doko
status: Unconfirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.