Repair ROS indigo installation on Ubuntu 14.04 by copying files from another PC?
I once installed ROS following this website. However I messed up the installation, deleted /opt/ros but now I cannot reinstall ROS. We have another computer here with the same Ubuntu 14.04. Is it possible that I just copy the ROS installation from that computer?
Which are the folder I would have to copy?
I copied /opt/ros but it's still complaining about
Traceback (most recent call last):
File "/opt/ros/indigo/bin/roscore", line 36, in <module>
from rosmaster.master_api import NUM_WORKERS ImportError: No module
named rosmaster.master_api
Does someone have experience with that?
When I just type sudo apt-get install ros-indigo-desktop-full
I get:
sudo apt-get install ros-indigo-desktop-full [sudo]
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-indigo-desktop-full : Depends: ros-indigo-desktop but it is not going to be installed
Depends: ros-indigo-perception but it is not going to be installed
Depends: ros-indigo-simulators but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
dpkg-l ros-indigo-* gives:
$ dpkg -l ros-indigo-* Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-===================-==============-==============-============================================ un
ros-indigo-catkin <none> <none> (no description available) rc ros-indigo-octomap
1.6.9-0trusty- amd64 The OctoMap library implements a 3D occupanc rc ros-indigo-orocos-k
1.3.0-0trusty- amd64 This package contains a recent version of th rc ros-indigo-stage
4.1.1-8trusty- amd64 Mobile robot simulator http://rtv.github.com
It would probably be better to actually reinstall things. Can you tell us a bit more about why you "cannot reinstall ROS"? What errors do you get, what have you tried?
I updated my question with the error message I'm getting