[Pkg-tcltk-devel] tk: missing symlink from wish8.6 to wish
Schindler Stefan
sschindl at hsr.ch
Tue Jun 2 17:22:05 UTC 2015
Hi Sergei
I created a new debian 8 VM without anything on it to test the bug.
It worked perfectly so I guess it happend on my work-machine during the dist-upgrade.
My guess would be, the upgrade from tk-8.5 -> tk-8.6 did not work perfectly.
I think this is ok :)
Regards Stefan
________________________________________
Von: sgolovan at gmail.com <sgolovan at gmail.com> im Auftrag von Sergei Golovan <sgolovan at nes.ru>
Gesendet: Freitag, 29. Mai 2015 13:21
An: Schindler Stefan
Cc: Debian Tcl/Tk Packagers
Betreff: Re: [Pkg-tcltk-devel] tk: missing symlink from wish8.6 to wish
Hi Stefan,
On Fri, May 29, 2015 at 2:01 PM, Schindler Stefan <sschindl at hsr.ch> wrote:
> Dear Maintainer,
>
> * What led up to the situation?
> I would like to use gitk with the standard debian installation, wich uses
> tk.
> * What exactly did you do (or not do) that was effective (or
> ineffective)?
> I installed the package with synaptic
> * What was the outcome of this action?
> the package became visible. But gitk only look for wish and does not look
> for wish8.6 so it does not start
> * What outcome did you expect instead?
> gitk would start up normally
>
> I fixed this by adding a symlink:
>
> # ln -s ./wish8.6 /usr/bin/wish
>
> I would be very happy if you fixed it.
As you can see (in fact, it's what I can see on my Debian jessie
workstation, though this should be the same everywhere):
1) % head -n 4 /usr/bin/gitk
#!/bin/sh
# Tcl ignores the next line -*- tcl -*- \
exec wish "$0" -- "$@"
so, you're absolutely correct, gitk wants to execute wish.
2) ~% ls -al /usr/bin/wish
lrwxrwxrwx 1 root root 7 Mar 8 2014 /usr/bin/wish -> wish8.6
In contrast with your setup, I have /usr/bin/wish linked to wish8.6.
Where did it come from?
3) % dpkg -S /usr/bin/wish
tk: /usr/bin/wish
It came from the tk package. Let's look into the gitk dependencies:
4) % apt-cache show gitk |grep Depends
Depends: git (>> 1:2.1.4), git (<< 1:2.1.4-.), tk
The tk package is present, so when you install gitk (using any tool
like synaptic, or apt, or apt-get, or aptitude) it should pull in tk
which should install the /usr/bin/wish symlink.
Could you try to run all 4 above commands and look if their output is
different? Also, tell me which distirbution you're currently using and
which versions of the gitk, tk and tk8.6 packages are installed in
your system.
Cheers!
--
Sergei Golovan
More information about the Pkg-tcltk-devel
mailing list