Comment 16 for bug 995445

Revision history for this message
Doug Jones (djsdl) wrote : Re: package gpsmanshp 1.2.1-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 127

@Atheg: (continuing previous comment)

I just had a look at the Tcl docs. I learned about the info patchlevel command. This is what it does on my system:

me@precise:~$ tclsh
% info patchlevel
8.5.11
% exit
me@precise:~$ tclsh8.4
% info patchlevel
8.4.19
% exit
me@precise:~$ tclsh8.5
% info patchlevel
8.5.11
% exit
me@precise:~$

So if I ask for tclsh without specifying a specific version, it is giving me 8.5, the latest. But AFAIK the most recent version that was installed is 8.4. So apparently tclsh will take you to the most recent version number, not the last one installed. I imagine this is the behavior you desire.

The gpsmanshp.postinst script will still use the 8.4 version it thinks it needs because it explicitly calls up that version.

Hope this helps.