我正在尝试在 Ubuntu 20.04 上安装核心模拟器,我遇到了一个安装过程,它有以下命令
$ sudo apt-get install bash bridge-utils ebtables \
iproute libev-dev python tcl8.5 tk8.5 libtk-img \
autoconf automake gcc libev-dev make python-dev \
libreadline-dev pkg-config imagemagick help2man
并执行命令我收到以下错误
Package tk8.5 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package tcl8.5 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'tcl8.5' has no installation candidate
E: Package 'tk8.5' has no installation candidate
我尝试单独安装 tcl8.5
sudo apt-get install tcl8.5
我也遇到了同样的错误 出了什么问题? tcl8.5已经过时了吗?
答案1
是的,tcl8.5
并且tk8.5
已经过时了;他们到达了生命的尽头于 2018 年从 Debian 中删除,这导致它们从 Ubuntu、Linux Mint 等中删除。您可以安装tcl8.6
并tk8.6
尝试使用它。