ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
3

roslaunch reinstallation

asked 2017-05-01 10:49:51 -0600

qor qor gravatar image

Hey there,

While I was trying to fix my rqt problem (but that's another post) I sudo apt purge rqt and then sudo apt autoremove and update. Now I have broken apparently roslaunch :/

Here are the subsequent commands and their outputs:

roscore

The program 'roscore' is currently not installed. You can install it by typing:
sudo apt install python-roslaunch

then:

sudo apt install python-roslaunch

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:
 python-roslaunch : Depends: python-roslib but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

then:

sudo apt install python-roslib

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:
 python-roslib : Depends: catkin but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

And it goes on like this for

sudo apt install catkin --> Depends: python-catkin-pkg but it is not going to be installed

sudo apt install python-catkin-pkg

where it says its already there:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
python-catkin-pkg is already the newest version (0.3.1-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

What is wrong with that? Can anybody help me with this?

Thanks in advance!

edit retag flag offensive close merge delete

Comments

I have the exact same problem and also didnt find any solution for that yet. Would be glad to get some hints..

brausebart gravatar image brausebart  ( 2017-05-16 11:34:22 -0600 )edit

I have this same problem. I've tried steps proposed here but with no luck.

mago3421 gravatar image mago3421  ( 2017-05-19 12:51:12 -0600 )edit

I want to uninstall ros which is with the same error

anyone can help

INDAR98 gravatar image INDAR98  ( 2018-05-24 00:41:08 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
3

answered 2017-06-23 01:34:50 -0600

dvlierop gravatar image

Has your environment been set up properly? E.g.

echo "source /opt/ros/kinetic/setup.bash" >> ~/.bashrc
source ~/.bashrc

See http://wiki.ros.org/kinetic/Installat... .

I believe that it should be looking for ros-kinetic-roslaunch, instead of python-roslaunch

edit flag offensive delete link more

Comments

thanks dvlierop it works for me

ahmed alaa gravatar image ahmed alaa  ( 2018-02-02 02:48:06 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2017-05-01 10:49:51 -0600

Seen: 25,519 times

Last updated: May 01 '17