Broken ROS Melodic install on Ubuntu 18.04
I tried installing ROS Melodic on Ubuntu 18.04.2 following these steps: http://wiki.ros.org/melodic/Installat... . When I tried installing packages I got the following error:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
python-rosdistro-modules : Depends: python-rospkg-modules but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution)
If I try running sudo apt --fix-broken install I get the following error:
Preparing to unpack .../python-rospkg-modules_1.1.10-1_all.deb ...
Unpacking python-rospkg-modules (1.1.10-1) ...
dpkg: error processing archive /var/cache/apt/archives/python-rospkg-modules_1.1.10-1_all.deb (--unpack):
trying to overwrite '/usr/lib/python2.7/dist-packages/rospkg/__init__.py', which is also in package python-rospkg 1.1.4-1
Errors were encountered while processing:
/var/cache/apt/archives/python-rospkg-modules_1.1.10-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
If a try running sudo apt remove ros-melodic-desktop-full I getan error like the one I get when I try to install a peckage.
How can I fix my install?