Catfish
当我尝试升级文件搜索工具 时收到以下错误消息:
The following packages have been kept back:
catfish
The following packages have unmet dependencies:
catfish : Depends: python3-pexpect but it is not installable
E: Unable to correct problems, you have held broken packages.
因此,当我尝试安装缺少的未满足的依赖项时,python3-pexpect
我收到以下错误消息:
Package python3-pexpect 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 'python3-pexpect' has no installation candidate
请告知我如何纠正此问题,以便我能够升级Catfish
并删除受阻碍的程序。
我担心无法完全卸载然后重新安装,Catfish
因为该python3-pexpect
包不可用,而且如果升级需要该包,那么我担心根本无法重新安装Catfish
。
答案1
除非你运行的是 14.04,否则你将无法python3-pexpect
在以前的版本上安装,因为这个包仅从 14.04 开始可用。
但由于它仅依赖于 python3,因此您可以在系统上手动安装它:
- 下载相应的deb 文件。
在下载 deb 文件的同一文件夹中,打开终端并输入:
sudo dpkg -i python3-pexpect_3.1-1_all.deb
Catfish
现在所有依赖关系都已满足,最终将进行升级。