mayavi postinstall depends on python2.4

Bug #160045 reported by Joe Harrington
12
Affects Status Importance Assigned to Milestone
mayavi (Debian)
Fix Released
Unknown
mayavi (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Binary package hint: mayavi

I'm on Feisty i386, updated. I just tried to install mayavi 1.5-4. The postinstall explicitly calls /usr/bin/python2.4, which is not installed and on which the package does not formally depend. The postinstall should not call python2.4, but rather just python. It can run python --version to check whether the version number is sufficiently high. Errors follow my signature, but this one's pretty trivial.

--jh--

Selecting previously deselected package mayavi.
(Reading database ... 183384 files and directories currently installed.)
Unpacking mayavi (from .../archives/mayavi_1.5-4_all.deb) ...
Setting up mayavi (1.5-4) ...
/var/lib/dpkg/info/mayavi.postinst: 40: /usr/bin/python2.4: not found
dpkg: error processing mayavi (--configure):
 subprocess post-installation script returned error exit status 127
Errors were encountered while processing:
 mayavi
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up mayavi (1.5-4) ...
/var/lib/dpkg/info/mayavi.postinst: 40: /usr/bin/python2.4: not found
dpkg: error processing mayavi (--configure):
 subprocess post-installation script returned error exit status 127

Related branches

Michael Vogt (mvo)
Changed in mayavi:
importance: Undecided → High
milestone: none → ubuntu-8.04
status: New → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mayavi - 1.5-4ubuntu1

---------------
mayavi (1.5-4ubuntu1) hardy; urgency=low

  * Drop debian/mayavi.postinst; python-support already handles all the
    required python setup, and the remaining hand-written postinst breaks with
    python 2.5. LP: #160045.
  * Modify Maintainer value to match the DebianMaintainerField
    specification.

 -- Steve Langasek <email address hidden> Sat, 22 Mar 2008 14:04:01 -0700

Changed in mayavi:
status: Confirmed → Fix Released
Changed in mayavi:
status: Unknown → New
Changed in mayavi:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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