E: Unable to correct problems, you have held broken packages when trying to install yaws 1.98 on Ubuntu 12.04 [closed]

StackOverflow https://stackoverflow.com/questions/22447859

Question

I get the following errors when trying to install yaws 1.98 on Ubuntu 12.04.

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.
Was it helpful?

Solution

Since you're holding broken packages, you might want to try the advice provided here to fix that problem, and then try again to install Yaws.

OTHER TIPS

aptitude's dependency resolver is more suitable for interactive dependency resolution than apt's dependency resolver. aptitude remembers which packages were explicitly requested and which packages were only installed due to dependencies. aptitude will make a series of recommendations and give you a choice of possible dependency resolutions.

Install aptitude:

sudo apt install aptitude

Use aptitude for interactive resolution of you have held broken packages errors with a command of the form:

sudo aptitude install package-name
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top