我尝试使用 cpanm 安装 MIME::Base64,结果出现 sys/types.h 缺失的错误。然后我尝试安装 libc6-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:
libc6-dev : Depends: libc6 (= 2.13-38+deb7u8) but 2.19-11 is to be installed
Depends: libc-dev-bin (= 2.13-38+deb7u8)
E: Unable to correct problems, you have held broken packages.
我希望有人知道解决方案并能帮助我
答案1
似乎您正在尝试在 Debian 7 系统 (2.13-38+deb7u8) 上安装 Debian 8 libc6 (2.19-11)。检查您的/etc/apt/sources.list
任何奇怪条目。