ROS melodic installation unmet dependencies problem
Hey Guys,
I have tried all the possible solutions posted on ROS and other ubuntu forums. And yet I am unable to solve the error for the held broken packages.
sudo apt install ros-melodic-desktop-full
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:
ros-melodic-desktop-full : Depends: ros-melodic-desktop but it is not going to be installed
Depends: ros-melodic-perception but it is not going to be installed
Depends: ros-melodic-simulators but it is not going to be installed
Depends: ros-melodic-urdf-sim-tutorial but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
The list of things tried: 1. Used Synaptic pacakge manger to remove ros-melodic 2. Followed this answer
Any suggestions?
Hi @pmuthu2s,
This line
E: Unable to correct problems, you have held broken packages.
may be self explanatory. I think you have broken packages in your system and apt is unable to solve that. You may want to check your system packages and solve this broken ones before installing any other package. On the other hand if you can affort it, there is the possibility of reinstalling the OS.Hello! I have just met this problem and been obstructed. I have tried many solutions but they don't work. may I ask for your solution ? i really appreciate!
@WuShuangJJ This is not a forum, it is a Q&A site. As such, please don't post answers that aren't actually answers. I've re-posted your answer as a question comment. Please see the support guidelines for more: http://wiki.ros.org/Support
Good luck getting your issue resolved!