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

Unable to correct problems, you have held broken packages.

asked 2021-10-03 00:42:48 -0500

andrewshehan111 gravatar image

updated 2021-10-03 04:48:12 -0500

gvdhoorn gravatar image

In ROS2 Foxy

/ws_moveit2$ sudo apt install rosbash
[sudo] password for andrew: 
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:
 rosbash : Depends: catkin but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-10-03 04:49:26 -0500

gvdhoorn gravatar image

updated 2021-10-03 09:51:44 -0500

You cannot install rosbash for ROS Foxy.

rosbash is a ROS 1 package, it's not available for ROS 2.

The cause for your error however is likely the fact that rosbash is the UpstreamPackages version of python-$ROS_DISTRO-rosbash, which would be the correct package name.

You cannot mix the two streams of packages (well, it can be done, but I would not attempt that if you're just starting out).

edit flag offensive delete link more

Comments

ok thank you for your answer.

andrewshehan111 gravatar image andrewshehan111  ( 2021-10-04 22:42:48 -0500 )edit

Could you please mark the question as answered by clicking the chechmark to the left of the answer if you feel it has been answered? It should turn green.

gvdhoorn gravatar image gvdhoorn  ( 2021-10-05 00:51:11 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2021-10-03 00:42:48 -0500

Seen: 899 times

Last updated: Oct 03 '21