How to install rosbash in ros-noetic ?
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.
I believe you've run into the UpstreamPackages. The correct package name for
rosbash
would be:ros-noetic-rosbash
, notrosbash
. Same for Catkin: it'sros-noetic-catkin
, notcatkin
.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.
I am also having the same problem, this didn't work. Are there any solutions rather then reinstalling?
I am a novice, the principle of the error is not clear, so I have no other solution.
@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.