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

How to install rosbash in ros-noetic ?

asked 2020-05-25 07:35:47 -0600

ylh gravatar image

updated 2020-05-25 10:21:02 -0600

gvdhoorn gravatar image

I want to intall rosbash in ros-noetic ,but met a problem:

ylh@ylh:~$ sudo apt install rosbash
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.

ylh@ylh:~$ sudo apt install catkin
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:
 catkin : Depends: python3-catkin-pkg (>= 0.4.14-2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

ylh@ylh:~$ sudo apt install python3-catkin-pkg
Reading package lists... Done
Building dependency tree       
Reading state information... Done
python3-catkin-pkg is already the newest version (0.4.20-100).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

ylh@ylh:~$ sudo apt install catkin
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:
 catkin : Depends: python3-catkin-pkg (>= 0.4.14-2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

ylh@ylh:~$

I feel like it's a dead loop:the installation of catkin-python3-catkin-pkg-catkin .... how to solve the problem?

Thank you very much if you could tell me how to do it.

edit retag flag offensive close merge delete

Comments

6

I believe you've run into the UpstreamPackages. The correct package name for rosbash would be: ros-noetic-rosbash, not rosbash. Same for Catkin: it's ros-noetic-catkin, not catkin.

gvdhoorn gravatar image gvdhoorn  ( 2020-05-25 10:22:32 -0600 )edit

Thank you very much for your reply.I tried it according to what you said, but it all shows the latest version.It didn't work.

ylh gravatar image ylh  ( 2020-05-25 19:44:20 -0600 )edit

I am also having the same problem, this didn't work. Are there any solutions rather then reinstalling?

Aysusya gravatar image Aysusya  ( 2020-05-26 15:45:37 -0600 )edit

I am a novice, the principle of the error is not clear, so I have no other solution.

ylh gravatar image ylh  ( 2020-05-26 23:48:12 -0600 )edit

@Aysusya : please post a new question if you haven't done so already. If it turns out your problem does indeed have the same cause as @ylh's, it'll be closed as a duplicate.

Please provide sufficient information in your question: which commands did you use to install rosbash? Verbatim copies of any error messages, etc.

gvdhoorn gravatar image gvdhoorn  ( 2020-05-27 02:44:59 -0600 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2020-05-26 01:18:02 -0600

ylh gravatar image

I solved it.I deleted all workspaces which be created before installing ros-noetic ,and uninstall ros-noetic ,then,reinstalled the ros-noetic .Everything is working fine!

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2020-05-25 07:30:06 -0600

Seen: 8,947 times

Last updated: May 26 '20