首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Installing perlapi-5.8.8

Installing perlapi-5.8.8
EN

Stack Overflow用户
提问于 2015-09-13 23:04:21
回答 1查看 1.4K关注 0票数 3

我的问题是,我想在ubuntu上安装libgtk-perl包,但由于其未满足的依赖项(即perlapi 5.8.8)而失败。我也尝试过自动依赖项安装,但也失败了。问题是它是一个虚拟包,即使安装了perl-base (如说明所示),也无法安装perlapi。有没有人能帮我安装perlapu 5.8.8

代码语言:javascript
复制
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.
EN

回答 1

Stack Overflow用户

发布于 2015-09-14 08:35:39

您正在尝试使用Perl包Gtk。为此,您正在尝试安装一个使用Perl 5.8.8构建的二进制文件,这需要您切换到Perl 5.8.8 (或5.8.9)。除了是一个重大的倒退,你不能做你想做的事情而不破坏你的系统。将Perl切换到Perl 5.8.8会导致问题。

如果您的系统没有为您的Perl版本提供Perl模块Gtk的包,请自己安装它,如下所示(在安装必要的C库之后):

代码语言:javascript
复制
cpan Gtk
票数 3
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/32551028

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档