[Pkg-tcltk-devel] Bug#802577: Bug#802577: tk: No /usr/bin/wish

Sergei Golovan sgolovan at nes.ru
Fri Nov 20 08:44:33 UTC 2015


tags 802577 + moreinfo
thanks

Hi Torquil,

Sorry for a delayed reply.

On Wed, Oct 21, 2015 at 1:48 PM, Torquil Macdonald Sørensen
<torquil at gmail.com> wrote:
>
> According to dpkg --listfiles and apt-file, the binary packages tk should
> provide the file /usr/bin/wish. I had no such file on my system, so I had
> to do apt-get install --reinstall tk to get it. So perhaps there is
> something that can go wrong when upgrading tk from a previous version?

Before jessie we used the alternatives system to provide /usr/bin/wish, so
/usr/bin/wish symlink pointed to /etc/alternatives/wish which pointed to
/usr/bin/wish-default (or some other file if a local admin wanted to change
the default wish interpreter). On upgrade to jessie the tk.preinst script
removes all alternatives to /usr/bin/wish, so that the new tk package could
install a simple symlink /usr/bin/wish->wish8.6. I can't figure out what could
go wrong on an upgrade (every upgrade attempt whether with the default
alternative or some unusual went fine so far). Could you tell if there were
any other problems with you upgrade? By the way, the tcl package provides
symlink /usr/bin/tclsh in a similar way. Do you have it? Or it's
missing as well?

Cheers!
-- 
Sergei Golovan



More information about the Pkg-tcltk-devel mailing list