[Bug 995445] Re: package gpsmanshp 1.2.1-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 127
Doug Jones
djsdl at frombob.to
Tue Aug 14 00:24:57 UTC 2012
@Atheg:
(Note that I am totally guessing about this, and all of the following
may be less than helpful)
AFAIK, installing tcl8.4 doesn't roll back anything. I just checked my
system, and I now have both 8.4 and 8.5 installed where I only had 8.5
before. I don't know if this presents any problems as I never
explicitly use TCL myself and know little about it. However:
I just tried this in a terminal:
me at precise:~$ tclsh
%
%
% exit
me at precise:~$ tclsh8.4
%
%
%
% exit
me at precise:~$ tclsh8.5
%
%
%
%
% exit
me at precise:~$
So I can explicitly call up either version of tclsh. They are both
installed and working. I don't know how to tell which one comes up when
I just type tclsh.
The idea of doing
sudo apt-get install tcl8.4
to resolve the problem was just an attempt to make a single error message go away, and see what happens after that. As it turns out, it appears to have completely fixed the problem. But it is just a workaround, and I don't know if it will negatively impact anything else you are doing. Somebody more expert on the use of TCL should chime in on this.
The error message was coming from a script called gpsmanshp.postinst
that is explicitly referring to tclsh8.4, a package that is not
installed on a default Precise installation (and there is apparently no
dependency listed with gpsmanshp, so it is not automatically installed
when gpsmanshp is). Perhaps manually editing that script (replacing 8.4
with 8.5 in one line) would also fix the problem, but I haven't tested
that and don't know what ripple effects that would have on anything
else, if any.
It has been over a month since I tried that fix, and it doesn't seem to
have hurt anything. It did make an extremely annoying recurring error
message go away. And it did complete the installation (I think!) of
gpsmanshp, a package that I know virtually nothing about and haven't
even had time to look at since then.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/995445
Title:
package gpsmanshp 1.2.1-1 failed to install/upgrade: subprocess
installed post-installation script returned error exit status 127
Status in “apt” package in Ubuntu:
Confirmed
Status in “gpsmanshp” package in Ubuntu:
Confirmed
Bug description:
It cannot be uninstalled or anything. It happened after installing
gis-workstation.
ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: gpsmanshp 1.2.1-1
ProcVersionSignature: Ubuntu 3.2.0-24.38-generic 3.2.16
Uname: Linux 3.2.0-24-generic x86_64
ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
Date: Sun May 6 13:47:28 2012
DuplicateSignature:
Setting up gpsmanshp (1.2.1-1) ...
/var/lib/dpkg/info/gpsmanshp.postinst: 7: /var/lib/dpkg/info/gpsmanshp.postinst: tclsh8.4: not found
dpkg: error processing gpsmanshp (--configure):
subprocess installed post-installation script returned error exit status 127
ErrorMessage: subprocess installed post-installation script returned error exit status 127
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
SourcePackage: gpsmanshp
Title: package gpsmanshp 1.2.1-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 127
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/995445/+subscriptions
More information about the foundations-bugs
mailing list