python-numeric-tutorial package does not depend on python2.3 but requires it
Bug #3123 reported by
Lakin Wecker
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-numeric (Ubuntu) |
Fix Released
|
Medium
|
Matthias Klose |
Bug Description
I tried to install the python-
Changed in python-numeric: | |
assignee: | nobody → doko |
Changed in python-numeric: | |
status: | Unconfirmed → Confirmed |
Changed in python-numeric: | |
status: | Fix Released → Confirmed |
status: | Confirmed → Fix Released |
To post a comment you must log in.
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.