Problem Install: Melodic
I am using Ubuntu 17.10, and now I am trying to install version Melodic ROS. But I got this error.
sudo apt-get install python-rosinstall python-rosinstall-generator python-wstool build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version (12.4ubuntu1).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libopencv-dev : Depends: libopencv3.2-java (= 3.2.0+dfsg-4osrf2~artful) but it is not going to be installed
Recommends: opencv-data but it is not going to be installed
python-rosinstall : Depends: python-vcstools (>= 0.1.38) but it is not going to be installed
Depends: python-rosdistro (>= 0.3.0) but it is not going to be installed
Depends: python-catkin-pkg but it is not going to be installed
Depends: subversion but it is not going to be installed
Depends: mercurial but it is not going to be installed
Depends: bzr but it is not going to be installed
python-rosinstall-generator : Depends: python-catkin-pkg (>= 0.1.28) but it is not going to be installed
Depends: python-rosdistro (>= 0.6.8) but it is not going to be installed
Depends: python-rospkg but it is not going to be installed
python-wstool : Depends: python-vcstools (>= 0.1.38) but it is not going to be installed
Depends: subversion but it is not going to be installed
Depends: mercurial but it is not going to be installed
Depends: bzr but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Could someone can help to to fix it?