我只是尝试在 Ubuntu 上使用 apt 安装 libperl-dev,但出现以下错误:
user@comp-2:~$ sudo apt-get install libperl-dev
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:
libperl-dev : Depends: perl (= 5.14.2-6ubuntu2) but 5.14.2-6ubuntu2.1 is to be installed
Depends: libperl5.14 (= 5.14.2-6ubuntu2) but 5.14.2-6ubuntu2.1 is to be installed
E: Unable to correct problems, you have held broken packages.
我试图用谷歌搜索这个问题,但没有找到清楚的东西。
有人可以解释一下这是什么意思:“取决于:libperl5.14 (= 5.14.2-6ubuntu2) 但要安装 5.14.2-6ubuntu2.1”,以及如何解决?
谢谢你的前面。