Comment 8 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

On my system, tcl8.5 is installed, but tcl8.4 is not. So:

   sudo apt-get install tcl8.4

This resulted in:

Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  tclreadline
The following NEW packages will be installed:
  tcl8.4
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 870 kB of archives.
After this operation, 3,375 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ precise/main tcl8.4 amd64 8.4.19-4ubuntu3 [870 kB]
Fetched 870 kB in 6s (124 kB/s)
Selecting previously unselected package tcl8.4.
(Reading database ... 253204 files and directories currently installed.)
Unpacking tcl8.4 (from .../tcl8.4_8.4.19-4ubuntu3_amd64.deb) ...
Processing triggers for man-db ...
Setting up gpsmanshp (1.2.1-1) ...
warning: error while loading gpsmanshp.so: couldn't load file "./gpsmanshp.so": ./gpsmanshp.so: undefined symbol: DBFClose
Setting up tcl8.4 (8.4.19-4ubuntu3) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place

...which leads me to suspect that gpsmanshp is now installed.

And, now I don't get error messages whenever I try to install packages.

So, either this is a dependency problem, or perhaps gpsmanshp.postinst just needs to be edited to refer to tclsh8.5 instead of tclsh8.4.