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

issues with full desktop installation E: unable to correct problems, you have held broken packages.

asked 2022-11-16 03:46:15 -0500

OP10 gravatar image

updated 2022-11-17 06:48:07 -0500

Hi, I am using Ubuntu 22.04.1LTS and python 3.10.6

This is first time for me using ubuntu OS, I wanted to learn ROS so i tried to install ROS using instructions from http://wiki.ros.org/noetic/Installati... but the error shows unable to find the package so I tried instruction from this website https://varhowto.com/install-ros-noet... but now i getting errors like this

   Reading package lists... Done
Building dependency tree... Done
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:
 gazebo11 : Depends: libboost-filesystem1.71.0 but it is not installable
            Depends: libboost-iostreams1.71.0 but it is not installable
            Depends: libboost-program-options1.71.0 but it is not installable
            Depends: libboost-regex1.71.0-icu66 but it is not installable
            Depends: libboost-thread1.71.0 but it is not installable
            Depends: libgazebo11 (= 11.11.0-1~focal) but it is not going to be installed
            Depends: libignition-msgs5 (>= 5.9.0) but it is not going to be installed
            Depends: libignition-transport8 (>= 8.2.1) but it is not going to be installed
            Depends: libprotobuf17 but it is not installable
            Depends: gazebo11-common (>= 11.2.0) but it is not going to be installed
            Recommends: gazebo11-plugin-base but it is not going to be installed
 libexpat1-dev : Depends: libc6-dev but it is not installable or
                          libc-dev
 libgazebo11-dev : Depends: libgts-dev but it is not going to be installed
                   Depends: libignition-transport8-dev but it is not going to be installed
                   Depends: libignition-msgs5-dev but it is not going to be installed
                   Depends: libignition-fuel-tools4-dev but it is not going to be installed
                   Depends: libignition-common3-dev but it is not going to be installed
                   Depends: libignition-common3-graphics-dev but it is not going to be installed
                   Depends: libdart6-collision-bullet-dev (< 6.10.0) but it is not installable or
                            libdart-collision-bullet-dev (< 6.10.0) but it is not going to be installed
                   Depends: libdart6-collision-ode-dev (< 6.10.0) but it is not installable or
                            libdart-collision-ode-dev (< 6.10.0) but it is not going to be installed
                   Depends: libdart6-utils-urdf-dev (< 6.10.0) but it is not installable or
                            libdart-utils-urdf-dev (< 6.10.0) but it is not going to be installed
                   Depends: libdart6-external-odelcpsolver-dev (< 6.10.0) but it is not installable or
                            libdart-external-odelcpsolver-dev (< 6.10.0) but it is not going to be installed
                   Depends: libdart6-external-ikfast-dev (< 6.10.0) but it is not installable or
                            libdart-external-ikfast-dev (< 6.10.0) but it is not going to be installed
                   Depends: libgazebo11 (= 11.11.0-1~focal) but it is not going to be installed
                   Depends: gazebo11-common (>= 11.2.0) but it is not going to be installed
                   Depends: gazebo11-plugin-base (= 11.11.0-1~focal) but it is not going to be installed
 libgdal-dev : Depends: libc6-dev but it is not installable ...
(more)
edit retag flag offensive close merge delete

Comments

noetic requires that you use ubuntu 20. Some people have installed noetic in a docker container, but I wouldn't recommend doing so if you are new to ros.

Mike Scheutzow gravatar image Mike Scheutzow  ( 2022-11-16 20:22:11 -0500 )edit

Thank you for your suggestion this is the first for me trying linux OS, I don't know a thing about Ubuntu or ROS I am just started to learn but installing itself a trouble for me if you can please suggest me some installation guide or tutorial for me (other than http://wiki.ros.org/noetic/Installati...) my OS name is Ubuntu 22.04.1 LTS, OS type 64-bit, with GNOME Version 42.4.

OP10 gravatar image OP10  ( 2022-11-17 06:18:32 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-11-16 17:13:58 -0500

ljaniec gravatar image

updated 2022-11-16 17:14:51 -0500

Ubuntu 22.04.1 LTS is the first OS that has only ROS2 Humble support.

Source: https://docs.ros.org/en/humble/Releas...

There is an option to have ROS1 Noetic next to ROS2 Humble, but it is highly discouraged for new users:

The release of ROS 2 Humble (and Rolling) on Ubuntu 22.04 Jammy Jellyfish marks the first ROS 2 release on a platform with no official ROS 1 release. While ROS 1 Noetic will continue to be supported through the duration of its long term support window, it will only target Ubuntu 20.04. Alternatively, there are upstream variants of ROS 1 packages in Debian and Ubuntu that are not maintained as an official distribution by the ROS maintainers.

I really suggest that you just start with the ROS 2 Humble LTS version, it will be easier for you for sure.

edit flag offensive delete link more

Comments

Thank you for your suggestion i tried to install ROS 2 humble as you suggested from https://docs.ros.org/en/humble/Instal... but still i am getting same error

E: Unable to correct problems, you have held broken packages.
OP10 gravatar image OP10  ( 2022-11-17 06:05:05 -0500 )edit

Do you have a fresh Ubuntu 22.04 or are you upgrading from Ubuntu 20.04? I had somewhat similar problemswith Gazebo after the distro upgrade. Please add in the edit of your question whole error log (after the steps from https://docs.ros.org/en/humble/Instal...). Have you tried these steps as here? sudo apt update --fix-missing, sudo apt install -f etc.? Please add logs after these commands in the edit as well. You should remove ROS1 repositories in your Software & Updates -> "Other Software" as well

ljaniec gravatar image ljaniec  ( 2022-11-17 06:32:41 -0500 )edit

This is the first time for me installing ubuntu I just installed LTS version from the ubuntu download page. Also I tried both of the comments still i get the same result Please refer the edited question for error logs. I added them at the back. Also thank you for helping me.

OP10 gravatar image OP10  ( 2022-11-17 06:49:33 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2022-11-16 03:46:15 -0500

Seen: 570 times

Last updated: Nov 17 '22