[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#55434: tclsh and wish links may be changed causing unexpected errors in other packages



On Wed, Jan 26, 2000 at 07:55:33AM -0500, Marvin Stodolsky wrote:
[dotfile-tcsh failed to install]
> > > > I can't reproduce your problem with dotfile-tcsh 1.4-3.
> > > > Please e-mail me/us the output of this command on your machine:
> > > >
> > > >         dpkg -l "tk*.*" "tcl*.*" | grep ^.i
> > > >
> > > > This might just be another tcl/tk 8.2 incompatibility...
> > >
> > > # dpkg -l "tk*.*" "tcl*.*" | grep ^.i
> > > output was:
> > >
> > > ii  tk4.2           4.2p2-7        The Tk toolkit for TCL and X11 v4.2 - Run-Ti
> > > ii  tk8.0           8.0.4-2        The Tk toolkit for TCL and X11 v8.0 - Run-Ti
> > > ii  tkstep8.0       8.0p2-3.3      The NEXTSTEP(tm)-like version of the Tk tool
> > > ii  tcl7.6          7.6p2-7        The Tool Command Language (TCL) v7.6 - Run-T
> > > ii  tcl8.0          8.0.4-2        The Tool Command Language (TCL) v8.0 - Run-T
> >
> > Ah. Can you tell me to what does your /etc/alternatives/wish symlink
> > point? And /etc/alternatives/tclsh link?
>
> OK , with your hint I solved it:
> 
> lrwxrwxrwx    1 root     root           20 Jan 12 16:34 /etc/alternatives/wish -> /usr/bin/wishstep8.0
> lrwxrwxrwx    1 root     root           19 Jan 12 16:09 /etc/alternatives/tclsh -> /usr/bin/tclsh8.0jp

> lrwxrwxrwx    1 root     root           23 Oct 12  1998 /usr/bin/tclsh -> /etc/alternatives/tclsh
> -rwxr-xr-x    1 root     root         3408 Oct  3 16:07 /usr/bin/tclsh8.0
> -rwxr-xr-x    1 root     root         8384 Jun 22  1999 /usr/bin/tclsh8.0jp

> tclsh8.0jp  was installed as  a requirement in some now forgotten package.
> I removed it, that is tcl8.0-ja

It appears the `bookview' package explicitely depends on the Japanese tcl
and tk. Does it really require those versions, or will it run with any tclsh
and wish binaries, but the Depends: line is wrong?

> Then installed:   dpkg -i  tcl8.0
> Then:
> apt-get -s install tcl8.0
> Reading Package Lists... Done
> Building Dependency Tree... Done
> Sorry, tcl8.0 is already the newest version
> 0 packages upgraded, 0 newly installed, 0 to remove and 155 not upgraded.
> 1 packages not fully installed or removed.
> Conf dotfile-tcsh
> 
> So you can close the bug report.
> The problem was  tcl8.0-ja versis tcl8.0

It appears there are incompatibilities between these two versions of Tcl/Tk,
since `wish' was the one from TkStep, and `tclsh' was the one from Tcl JP.

Now a question to everyone: is it normal to expect sudden crashes if user
uses wish and tclsh from different packages, like it happened here with
dotfile-tcsh ?

Maybe the tclsh-providing packages should conflict with non-equal
wish-providing packages? I.e. e.g. to add this to tcl8.0 control file:

Conflicts: tk7.6, tk8.2, tk8.0-ja, tkstep8.0

Meaning it would be able to install only with tk8.0? Although, the comma
(,) in the Conflicts: field means OR, not AND... :( Also, it would mean
one couldn't have multiple Tcl/Tk suites installed at once... why do we
have them all available, anyway?

Or should I just close the bug, and hope noone else runs into similar
trouble? That doesn't seem the right thing to do.

-- 
enJoy -*/\*- don't even try to pronounce my first name

Please CC: me on any replies.


Reply to: