[Pkg-tcltk-devel] tcl package is 8.6.16 but tcl8.6=8.6.17
Flachy Joe
flachyjoe at gmail.com
Sat Aug 30 18:49:40 BST 2025
Hi, I encounter a problem with package versioning in sid:
:~$ apt-cache show tcl
Package: tcl
Source: tcltk-defaults
Version: 8.6.16
Installed-Size: 20
Maintainer: Debian Tcl/Tk Packagers
<pkg-tcltk-devel at lists.alioth.debian.org>
Architecture: amd64
Provides: tclsh
Depends: tcl8.6 (>= 8.6.16+dfsg-1~)
:~$ apt-cache show tcl8.6
Package: tcl8.6
Version: 8.6.17+dfsg-1
So when I launch tclsh:
:~$ tclsh
application-specific initialization failed: Can't find a usable
init.tcl in the following directories:
/usr/lib/tcl8.6 /lib/tcl8.6 /usr/library /library
/tcl8.6.16/library /tcl8.6.16/library
/usr/share/tcltk/tcl8.6/init.tcl: version conflict for package
"Tcl": have 8.6.16, need exactly 8.6.17
version conflict for package "Tcl": have 8.6.16, need exactly 8.6.17
while executing
"package require -exact Tcl 8.6.17"
(file "/usr/share/tcltk/tcl8.6/init.tcl" line 21)
invoked from within
"source /usr/share/tcltk/tcl8.6/init.tcl"
("uplevel" body line 1)
invoked from within
"uplevel #0 [list source $tclfile]"
This probably means that Tcl wasn't installed properly.
Solved by changing the file "/usr/share/tcltk/tcl8.6/init.tcl" line 21 from
package require -exact Tcl 8.6.17
to
package require Tcl
Regards,
FFW
More information about the Pkg-tcltk-devel
mailing list