【发布时间】:2015-12-09 15:24:11
【问题描述】:
我的问题是我想在 ubuntu 上安装软件包 libgtk-perl 但由于其未满足的依赖关系(即 perlapi-5.8.8)而失败,我也尝试过进行自动依赖安装但也失败了。问题是它是一个虚拟包,即使安装了 perl-base(如说明所示)perlapi 也无法安装。请谁能帮我安装 perlapu-5.8.8
adminuser@adminuser-VirtualBox:~$ sudo apt-get install libgtk-perl
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libgtk-perl : Depends: perlapi-5.8.8
E: Unable to correct problems, you have held broken packages.
adminuser@adminuser-VirtualBox:~$ sudo apt-get install perlapi-5.8.8
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package perlapi-5.8.8 is a virtual package provided by:
perl-base 5.8.8-7 [Not candidate version]
E: Package 'perlapi-5.8.8' has no installation candidate
adminuser@adminuser-VirtualBox:~$ sudo apt-get install perl-base
Reading package lists... Done
Building dependency tree
Reading state information... Done
perl-base is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
【问题讨论】:
-
如果您使用仍受支持的 ubuntu 版本,您可能会获得更大的成功。 5.8.8 一定是 Ubuntu 8.04/8.10,它已经有 7 年的历史了,而且很久没有支持了。据我所知,文件已从官方 ubuntu 服务器中删除,因此您将无法再从那里下载软件包。
-
@SteffenUllrich 和
libgtk-perl几乎肯定适用于更老的 GTK 1.x。 GTK 2.0 于 2002 年问世。 -
嗯,基本上我需要 perlapi-5.8.8,我使用的是 ubuntu 14.04。我需要 if 来运行 virtuoso
-
不要提供使用 libgtk2-perl 的版本?这就是最新版本的 Ubuntu 所使用的。
标签: linux perl ubuntu perl-module