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

Unable to install Galactic due to umet dependencies

asked 2023-01-28 09:28:37 -0500

sdu568 gravatar image

updated 2023-01-28 09:38:33 -0500

Hello, I am currently running Ubuntu 20. However, when I was following the steps to install Ros2, I encounter a stranger error. Does anyone know how to resolve the following error?

shouyu@shouyu-Nitro-AN515-55:~$ sudo apt install ros-galactic-desktop
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-galactic-desktop : Depends: ros-galactic-pcl-conversions but it is not going to be installed
                        Depends: ros-galactic-rqt-common-plugins but it is not going to be installed
                        Depends: ros-galactic-rviz-default-plugins but it is not going to be installed
                        Depends: ros-galactic-rviz2 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

answered 2023-01-29 09:29:22 -0500

ljaniec gravatar image

Can you try to sudo apt-get install ros-galactic-pcl-conversions ros-galactic-rqt-common-plugins ros-galactic-rviz-default-plugins ros-galactic-rviz2?

It should give you more information about what is missing currently in your setup. Please share it with us.

Did you use rosdep init and rosdep update in your ROS2 workspace?

edit flag offensive delete link more


Hello, thank you for taking time to answer the question.

So before I saw this answer, I did the hard way, which is to reimage my Linux, and reinstalled ROS2 on the new system.

Thank you very much for your time!

sdu568 gravatar image sdu568  ( 2023-01-31 06:57:28 -0500 )edit

@sdu568 Well, I'd be lying if I said I hadn't done the same myself a few times, haha!

ljaniec gravatar image ljaniec  ( 2023-02-01 12:38:06 -0500 )edit

Question Tools



Asked: 2023-01-28 09:28:37 -0500

Seen: 458 times

Last updated: Jan 29