python-numeric-tutorial package does not depend on python2.3 but requires it

Bug #3123 reported by Lakin Wecker
6
Affects Status Importance Assigned to Milestone
python-numeric (Ubuntu)
Fix Released
Medium
Matthias Klose

Bug Description

I tried to install the python-numeric-tutorial and it failed, looking for /usr/bin/python2.3 which wasn't installed.

Changed in python-numeric:
assignee: nobody → doko
Revision history for this message
Sascha Brossmann (brsma) wrote :

Confirmed (though the package is in universe <g>). The .deb extracts partly to /usr/lib/python2.3/site-packages, and subsequently the postinst script fails: If there exists a directory /usr/lib/python${version} for more than one version of python, the ${package}.postinst script defaults to the first version it can find (i.e. the lowest). This problem can be discovered with several postinst scripts for python modules (at least in universe). A quick-and-dirty fix is to move the extracted modules from /usr/lib/python2.3/site-packages to /usr/lib/python2.4/site-packages, edit the failing postinst script in /var/lib/dpkg/info (change the line "PV=`dpkg --listfiles $PACKAGE (...)" to "PV=2.4"), and run "/var/lib/dpkg/info/${package}.postinst configure" from the shell.

Revision history for this message
Emmet Hikory (persia) wrote :

    Another alternative is to use the new logic applied to solfege: specifically:

PV=`ls -la \`which python\`|cut -d ">" -f 2|cut -d "n" -f 2`

Zak B. Elep (zakame)
Changed in python-numeric:
status: Unconfirmed → Confirmed
Revision history for this message
Emmet Hikory (persia) wrote :

Fixed with 24.2-1ubuntu1

Changed in python-numeric:
status: Confirmed → Fix Released
Emmet Hikory (persia)
Changed in python-numeric:
status: Fix Released → Confirmed
status: Confirmed → 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.