E:无法纠正问题,当您尝试在Ubuntu 12.04上安装yaws 1.98时,您持有损坏的软件包



尝试在Ubuntu 12.04上安装yaws 1.98时出现以下错误:

bash$ sudo apt-get install yaws
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:
yaws : Depends: erlang-yaws (>= 1.92-1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

由于您持有损坏的包,您可能希望尝试这里提供的建议来解决该问题,然后再次尝试安装Yaws

aptitude的依赖解析器比apt的依赖解析器更适合交互式依赖解析。Aptitude会记住哪些包是显式请求的,哪些包是由于依赖关系才安装的。Aptitude将给出一系列建议,并为您提供可能的依赖解决方案的选择。

安装资质:

sudo apt install aptitude

使用aptitude交互解决you have held broken packages错误,命令形式为:

sudo aptitude install package-name

相关内容

  • 没有找到相关文章

最新更新