Robotics StackExchange | Archived questions

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

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/Installation/Ubuntu but the error shows unable to find the package so I tried instruction from this website https://varhowto.com/install-ros-noetic-ubuntu-20-04/#Before_Installing_ROS_Noetic 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
               Depends: libjpeg-dev
 libgeotiff-dev : Depends: libjpeg-dev
 libhdf4-alt-dev : Depends: libjpeg-dev
 libhdf5-dev : Depends: libjpeg-dev
 libhdf5-openmpi-dev : Depends: libjpeg-dev
 libicu-dev : Depends: libc6-dev but it is not installable or
                       libc-dev
 libjson-c-dev : Depends: libjson-c5 (= 0.15-2build4) but 0.15-3~ubuntu1.22.04.1 is to be installed
 libnuma-dev : Depends: libc6-dev but it is not installable or
                        libc-dev
 libopenmpi-dev : Depends: gfortran-11 but it is not installable or
                           gfortran-mod-15
                  Recommends: libcoarrays-openmpi-dev but it is not installable
 libpcre2-dev : Depends: libc-dev
 libsqlite3-dev : Depends: libc6-dev but it is not installable
 libstdc++-11-dev : Depends: libc6-dev (>= 2.13-0ubuntu6) but it is not installable
 libtiff-dev : Depends: libc6-dev but it is not installable or
                        libc-dev
               Depends: libjpeg-dev
 libusb-1.0-0-dev : Depends: libusb-1.0-0 (= 2:1.0.25-1ubuntu1) but 2:1.0.25-1ubuntu2 is to be installed
                    Recommends: libusb-1.0-doc but it is not going to be installed
 libvtk9-dev : Depends: libc6-dev but it is not installable
               Depends: libfreetype6-dev
               Depends: libjpeg-dev
 libxerces-c-dev : Depends: libc6-dev but it is not installable or
                            libc-dev
 libxft-dev : Depends: libc6-dev but it is not installable or
                       libc-dev
              Depends: libfontconfig1-dev
              Depends: libfreetype6-dev
 python3-dev : Depends: python3 (= 3.10.4-0ubuntu2) but 3.10.6-1~22.04 is to be installed
 qtbase5-dev : Depends: libqt5core5a (= 5.15.3+dfsg-2) but 5.15.3+dfsg-2ubuntu0.2 is to be installed
               Depends: libqt5dbus5 (= 5.15.3+dfsg-2) but 5.15.3+dfsg-2ubuntu0.2 is to be installed
               Depends: libqt5gui5 (= 5.15.3+dfsg-2) but 5.15.3+dfsg-2ubuntu0.2 is to be installed
               Depends: libqt5network5 (= 5.15.3+dfsg-2) but 5.15.3+dfsg-2ubuntu0.2 is to be installed
               Depends: libqt5widgets5 (= 5.15.3+dfsg-2) but 5.15.3+dfsg-2ubuntu0.2 is to be installed
 ros-noetic-actionlib : Depends: libboost-thread1.71.0 but it is not installable
 ros-noetic-actionlib-tutorials : Depends: libboost-thread1.71.0 but it is not installable
 ros-noetic-bondcpp : Depends: libboost-thread1.71.0 but it is not installable
 ros-noetic-camera-calibration-parsers : Depends: libboost-filesystem1.71.0 but it is not installable
                                         Depends: libboost-python1.71.0 but it is not installable
                                         Depends: libboost-python1.71.0-py38 but it is not installable
                                         Depends: libyaml-cpp0.6 (>= 0.6.2) but it is not installable
 ros-noetic-class-loader : Depends: libconsole-bridge0.4 but it is not installable
                           Depends: libpocofoundation62 (>= 1.9.2) but it is not installable
                           Depends: libpoco-dev but it is not going to be installed
 ros-noetic-compressed-depth-image-transport : Depends: libconsole-bridge0.4 but it is not installable
                                               Depends: libopencv-core4.2 (>= 4.2.0+dfsg) but it is not installable
                                               Depends: libopencv-imgcodecs4.2 (>= 4.2.0+dfsg) but it is not installable
 ros-noetic-compressed-image-transport : Depends: libconsole-bridge0.4 but it is not installable
                                         Depends: libopencv-core4.2 (>= 4.2.0+dfsg) but it is not installable
                                         Depends: libopencv-imgcodecs4.2 (>= 4.2.0+dfsg) but it is not installable
                                         Depends: libopencv-imgproc4.2 (>= 4.2.0+dfsg) but it is not installable
 ros-noetic-controller-manager : Depends: libboost-filesystem1.71.0 but it is not installable
                                 Depends: libconsole-bridge0.4 but it is not installable
                                 Depends: libtinyxml2-6a (>= 5.0.0) but it is not installable
 ros-noetic-cpp-common : Depends: libconsole-bridge0.4 but it is not installable
 ros-noetic-cv-bridge : Depends: libboost-python1.71.0 but it is not installable
                        Depends: libboost-python1.71.0-py38 but it is not installable
                        Depends: libboost-regex1.71.0-icu66 but it is not installable
                        Depends: libopencv-core4.2 (>= 4.2.0+dfsg) but it is not installable
                        Depends: libopencv-imgcodecs4.2 (>= 4.2.0+dfsg) but it is not installable
                        Depends: libopencv-imgproc4.2 (>= 4.2.0+dfsg) but it is not installable
                        Depends: libopencv-dev but it is not going to be installed
 ros-noetic-depth-image-proc : Depends: libconsole-bridge0.4 but it is not installable
                               Depends: libopencv-calib3d4.2 (>= 4.2.0+dfsg) but it is not installable
                               Depends: libopencv-core4.2 (>= 4.2.0+dfsg) but it is not installable
                               Depends: libopencv-imgproc4.2 (>= 4.2.0+dfsg) but it is not installable
 ros-noetic-diagnostic-aggregator : Depends: libboost-filesystem1.71.0 but it is not installable
                                    Depends: libboost-regex1.71.0-icu66 but it is not installable
                                    Depends: libconsole-bridge0.4 but it is not installable
                                    Depends: libtinyxml2-6a (>= 5.0.0) but it is not installable
 ros-noetic-diagnostic-common-diagnostics : Depends: hddtemp but it is not installable
 ros-noetic-diff-drive-controller : Depends: libconsole-bridge0.4 but it is not installable
                                    Depends: liburdfdom-model but it is not installable
 ros-noetic-eigen-conversions : Depends: liborocos-kdl1.4 but it is not installable
 ros-noetic-filters : Depends: libconsole-bridge0.4 but it is not installable
 ros-noetic-gazebo-plugins : Depends: libboost-thread1.71.0 but it is not installable
                             Depends: libgazebo11 (>= 11.11.0) but it is not going to be installed
                             Depends: libopencv-core4.2 (>= 4.2.0+dfsg) but it is not installable
                             Depends: libopencv-imgproc4.2 (>= 4.2.0+dfsg) but it is not installable
                             Depends: libprotobuf17 but it is not installable
 ros-noetic-gazebo-ros : Depends: libboost-thread1.71.0 but it is not installable
                         Depends: libgazebo11 (>= 11.11.0) but it is not going to be installed
                         Depends: libprotobuf17 but it is not installable
 ros-noetic-gazebo-ros-control : Depends: libboost-filesystem1.71.0 but it is not installable
                                 Depends: libboost-thread1.71.0 but it is not installable
                                 Depends: libconsole-bridge0.4 but it is not installable
                                 Depends: libgazebo11 (>= 11.11.0) but it is not going to be installed
                                 Depends: libtinyxml2-6a (>= 5.0.0) but it is not installable
                                 Depends: ros-noetic-transmission-interface but it is not going to be installed
 ros-noetic-image-geometry : Depends: libopencv-calib3d4.2 (>= 4.2.0+dfsg) but it is not installable
                             Depends: libopencv-core4.2 (>= 4.2.0+dfsg) but it is not installable
                             Depends: libopencv-imgproc4.2 (>= 4.2.0+dfsg) but it is not installable
                             Depends: libopencv-dev but it is not going to be installed
 ros-noetic-image-proc : Depends: libconsole-bridge0.4 but it is not installable
                         Depends: libopencv-core4.2 (>= 4.2.0+dfsg) but it is not installable
                         Depends: libopencv-imgproc4.2 (>= 4.2.0+dfsg) but it is not installable
 ros-noetic-image-publisher : Depends: libconsole-bridge0.4 but it is not installable
                              Depends: libopencv-core4.2 (>= 4.2.0+dfsg) but it is not installable
                              Depends: libopencv-imgcodecs4.2 (>= 4.2.0+dfsg) but it is not installable
                              Depends: libopencv-videoio4.2 (>= 4.2.0+dfsg) but it is not installable
 ros-noetic-image-rotate : Depends: libconsole-bridge0.4 but it is not installable
                           Depends: libopencv-core4.2 (>= 4.2.0+dfsg) but it is not installable
                           Depends: libopencv-imgproc4.2 (>= 4.2.0+dfsg) but it is not installable
 ros-noetic-image-transport : Depends: libboost-filesystem1.71.0 but it is not installable
                              Depends: libconsole-bridge0.4 but it is not installable
                              Depends: libtinyxml2-6a (>= 5.0.0) but it is not installable
 ros-noetic-image-view : Depends: libboost-thread1.71.0 but it is not installable
                         Depends: libconsole-bridge0.4 but it is not installable
                         Depends: libopencv-core4.2 (>= 4.2.0+dfsg) but it is not installable
                         Depends: libopencv-highgui4.2 (>= 4.2.0+dfsg) but it is not installable
                         Depends: libopencv-imgcodecs4.2 (>= 4.2.0+dfsg) but it is not installable
                         Depends: libopencv-videoio4.2 (>= 4.2.0+dfsg) but it is not installable
 ros-noetic-interactive-markers : Depends: libboost-thread1.71.0 but it is not installable
 ros-noetic-joint-state-controller : Depends: libconsole-bridge0.4 but it is not installable
 ros-noetic-kdl-conversions : Depends: liborocos-kdl1.4 but it is not installable
 ros-noetic-kdl-parser : Depends: liborocos-kdl1.4 but it is not installable
                         Depends: libtinyxml2-6a (>= 5.0.0) but it is not installable
                         Depends: liburdfdom-model but it is not installable
 ros-noetic-laser-assembler : Depends: libboost-filesystem1.71.0 but it is not installable
                              Depends: libconsole-bridge0.4 but it is not installable
                              Depends: libtinyxml2-6a (>= 5.0.0) but it is not installable
 ros-noetic-laser-filters : Depends: libboost-filesystem1.71.0 but it is not installable
                            Depends: libconsole-bridge0.4 but it is not installable
                            Depends: libtinyxml2-6a (>= 5.0.0) but it is not installable
 ros-noetic-nodelet : Depends: libboost-filesystem1.71.0 but it is not installable
                      Depends: libboost-thread1.71.0 but it is not installable
                      Depends: libconsole-bridge0.4 but it is not installable
                      Depends: libtinyxml2-6a (>= 5.0.0) but it is not installable
 ros-noetic-nodelet-tutorial-math : Depends: libconsole-bridge0.4 but it is not installable
 ros-noetic-pcl-ros : Depends: libboost-filesystem1.71.0 but it is not installable
                      Depends: libconsole-bridge0.4 but it is not installable
                      Depends: libpcl-common1.10 (>= 1.10.0+dfsg) but it is not installable
                      Depends: libpcl-features1.10 (>= 1.10.0+dfsg) but it is not installable
                      Depends: libpcl-filters1.10 (>= 1.10.0+dfsg) but it is not installable
                      Depends: libpcl-io1.10 (>= 1.10.0+dfsg) but it is not installable
                      Depends: libpcl-search1.10 (>= 1.10.0+dfsg) but it is not installable
                      Depends: libpcl-segmentation1.10 (>= 1.10.0+dfsg) but it is not installable
                      Depends: libpcl-surface1.10 (>= 1.10.0+dfsg) but it is not installable
 ros-noetic-pluginlib-tutorials : Depends: libboost-filesystem1.71.0 but it is not installable
                                  Depends: libconsole-bridge0.4 but it is not installable
                                  Depends: libtinyxml2-6a (>= 5.0.0) but it is not installable
 ros-noetic-position-controllers : Depends: libconsole-bridge0.4 but it is not installable
 ros-noetic-robot-state-publisher : Depends: liborocos-kdl1.4 but it is not installable
                                    Depends: liburdfdom-world but it is not installable
 ros-noetic-rosbag : Depends: libboost-filesystem1.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: libconsole-bridge0.4 but it is not installable
                     Depends: ros-noetic-rosbag-storage but it is not going to be installed
 ros-noetic-rosconsole : Depends: libboost-regex1.71.0-icu66 but it is not installable
                         Depends: liblog4cxx10v5 (>= 0.10.0) but it is not installable
                         Depends: libapr1-dev but it is not going to be installed
                         Depends: libaprutil1-dev but it is not going to be installed
                         Depends: liblog4cxx-dev but it is not going to be installed
 ros-noetic-rosconsole-bridge : Depends: libconsole-bridge0.4 but it is not installable
 ros-noetic-roscpp : Depends: libboost-chrono1.71.0 but it is not installable
                     Depends: libboost-filesystem1.71.0 but it is not installable
                     Depends: libboost-thread1.71.0 but it is not installable
 ros-noetic-roscpp-tutorials : Depends: libboost-thread1.71.0 but it is not installable
 ros-noetic-rospack : Depends: libboost-filesystem1.71.0 but it is not installable
                      Depends: libboost-program-options1.71.0 but it is not installable
                      Depends: libtinyxml2-6a (>= 5.0.0) but it is not installable
 ros-noetic-rqt-image-view : Depends: libconsole-bridge0.4 but it is not installable
                             Depends: libopencv-core4.2 (>= 4.2.0+dfsg) but it is not installable
                             Depends: libopencv-imgproc4.2 (>= 4.2.0+dfsg) but it is not installable
                             Depends: ros-noetic-rqt-gui-cpp but it is not going to be installed
 ros-noetic-rqt-rviz : Depends: libboost-program-options1.71.0 but it is not installable
                       Depends: libconsole-bridge0.4 but it is not installable
                       Depends: ros-noetic-rqt-gui-cpp but it is not going to be installed
 ros-noetic-rviz : Depends: libboost-filesystem1.71.0 but it is not installable
                   Depends: libboost-program-options1.71.0 but it is not installable
                   Depends: libboost-thread1.71.0 but it is not installable
                   Depends: libconsole-bridge0.4 but it is not installable
                   Depends: libtinyxml2-6a (>= 5.0.0) but it is not installable
                   Depends: liburdfdom-world but it is not installable
                   Depends: libyaml-cpp0.6 (>= 0.6.2) but it is not installable
 ros-noetic-rviz-plugin-tutorials : Depends: libboost-thread1.71.0 but it is not installable
                                    Depends: libconsole-bridge0.4 but it is not installable
 ros-noetic-stage-ros : Depends: libboost-thread1.71.0 but it is not installable
                        Depends: ros-noetic-stage but it is not going to be installed
 ro

    s-noetic-stereo-image-proc : Depends: libconsole-bridge0.4 but it is not installable
                                    Depends: libopencv-calib3d4.2 (>= 4.2.0+dfsg) but it is not installable
                                    Depends: libopencv-core4.2 (>= 4.2.0+dfsg) but it is not installable
                                    Depends: libopencv-imgproc4.2 (>= 4.2.0+dfsg) but it is not installable
     ros-noetic-tf : Depends: libboost-thread1.71.0 but it is not installable
     ros-noetic-tf-conversions : Depends: liborocos-kdl1.4 but it is not installable
     ros-noetic-tf2 : Depends: libconsole-bridge0.4 but it is not installable
     ros-noetic-tf2-ros : Depends: libboost-thread1.71.0 but it is not installable
     ros-noetic-theora-image-transport : Depends: libconsole-bridge0.4 but it is not installable
                                         Depends: libopencv-core4.2 (>= 4.2.0+dfsg) but it is not installable
                                         Depends: libopencv-imgproc4.2 (>= 4.2.0+dfsg) but it is not installable
     ros-noetic-turtle-actionlib : Depends: libboost-thread1.71.0 but it is not installable
     ros-noetic-urdf : Depends: libboost-filesystem1.71.0 but it is not installable
                       Depends: libconsole-bridge0.4 but it is not installable
                       Depends: libtinyxml2-6a (>= 5.0.0) but it is not installable
                       Depends: liburdfdom-model but it is not installable
     uuid-dev : Depends: libc6-dev but it is not installable or
                         libc-dev
     zlib1g-dev : Depends: libc6-dev but it is not installable or
                           libc-dev
    E: Unable to correct problems, you have held broken packages.

` Also my OS type is 64-bit, GNOME version is 42.4 and Windowing system x11 Please help me resolve this issue.

i tried commands likesudo apt-get purge ros-* sudo apt-get remove ros-* but nothing worked

I tried installing ROS 2 humble version from using this guide https://docs.ros.org/en/humble/Installation/Ubuntu-Install-Debians.html this is the error I get

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:
 libblkid-dev : Depends: libc6-dev but it is not installable or
                         libc-dev
 libexif-dev : Depends: libc6-dev but it is not installable
 libexpat1-dev : Depends: libc6-dev but it is not installable or
                          libc-dev
 libgdal-dev : Depends: libc6-dev but it is not installable
               Depends: libjpeg-dev
 libgeotiff-dev : Depends: libjpeg-dev
 libhdf4-alt-dev : Depends: libjpeg-dev
 libhdf5-dev : Depends: libjpeg-dev
 libhdf5-openmpi-dev : Depends: libjpeg-dev
 libicu-dev : Depends: libc6-dev but it is not installable or
                       libc-dev
 libjson-c-dev : Depends: libjson-c5 (= 0.15-2build4) but 0.15-3~ubuntu1.22.04.1 is to be installed
 libmount-dev : Depends: libc6-dev but it is not installable or
                         libc-dev
 libnuma-dev : Depends: libc6-dev but it is not installable or
                        libc-dev
 libopencv-highgui-dev : Depends: libjpeg-dev
 libopenmpi-dev : Depends: gfortran-11 but it is not installable or
                           gfortran-mod-15
                  Recommends: libcoarrays-openmpi-dev but it is not installable
 libpcre2-dev : Depends: libc-dev
 libpcre3-dev : Depends: libc6-dev but it is not installable
 libpulse-dev : Depends: libpulse0 (= 1:15.99.1+dfsg1-1ubuntu1) but 1:15.99.1+dfsg1-1ubuntu2 is to be installed
                Depends: libpulse-mainloop-glib0 (= 1:15.99.1+dfsg1-1ubuntu1) but 1:15.99.1+dfsg1-1ubuntu2 is to be installed
 libsqlite3-dev : Depends: libc6-dev but it is not installable
 libstdc++-11-dev : Depends: libc6-dev (>= 2.13-0ubuntu6) but it is not installable
 libtiff-dev : Depends: libc6-dev but it is not installable or
                        libc-dev
               Depends: libjpeg-dev
 libudev-dev : Depends: libudev1 (= 249.11-0ubuntu3) but 249.11-0ubuntu3.6 is to be installed
 libusb-1.0-0-dev : Depends: libusb-1.0-0 (= 2:1.0.25-1ubuntu1) but 2:1.0.25-1ubuntu2 is to be installed
                    Recommends: libusb-1.0-doc but it is not going to be installed
 libvtk9-dev : Depends: libc6-dev but it is not installable
               Depends: libfreetype6-dev
               Depends: libjpeg-dev
 libxerces-c-dev : Depends: libc6-dev but it is not installable or
                            libc-dev
 libxft-dev : Depends: libc6-dev but it is not installable or
                       libc-dev
              Depends: libfontconfig1-dev
              Depends: libfreetype6-dev
 python3-dev : Depends: python3 (= 3.10.4-0ubuntu2) but 3.10.6-1~22.04 is to be installed
 qtbase5-dev : Depends: libqt5core5a (= 5.15.3+dfsg-2) but 5.15.3+dfsg-2ubuntu0.2 is to be installed
               Depends: libqt5dbus5 (= 5.15.3+dfsg-2) but 5.15.3+dfsg-2ubuntu0.2 is to be installed
               Depends: libqt5gui5 (= 5.15.3+dfsg-2) but 5.15.3+dfsg-2ubuntu0.2 is to be installed
               Depends: libqt5network5 (= 5.15.3+dfsg-2) but 5.15.3+dfsg-2ubuntu0.2 is to be installed
               Depends: libqt5widgets5 (= 5.15.3+dfsg-2) but 5.15.3+dfsg-2ubuntu0.2 is to be installed
 ros-humble-rviz-ogre-vendor : Depends: libfreetype6-dev
 uuid-dev : Depends: libc6-dev but it is not installable or
                     libc-dev
 zlib1g-dev : Depends: libc6-dev but it is not installable or
                       libc-dev
E: Unable to correct problems, you have held broken packages.

Asked by OP10 on 2022-11-16 04:46:15 UTC

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.

Asked by Mike Scheutzow on 2022-11-16 21:22:11 UTC

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/Installation/Ubuntu) my OS name is Ubuntu 22.04.1 LTS, OS type 64-bit, with GNOME Version 42.4.

Asked by OP10 on 2022-11-17 07:18:32 UTC

Answers

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

Source: https://docs.ros.org/en/humble/Releases/Release-Humble-Hawksbill.html#supported-platforms

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.

Asked by ljaniec on 2022-11-16 18:13:58 UTC

Comments

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

E: Unable to correct problems, you have held broken packages.

Asked by OP10 on 2022-11-17 07:05:05 UTC

Do you have a fresh Ubuntu 22.04 or are you upgrading from Ubuntu 20.04? I had somewhat similar problems with 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/Installation/Ubuntu-Install-Debians.html). 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

Asked by ljaniec on 2022-11-17 07:32:41 UTC

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.

Asked by OP10 on 2022-11-17 07:49:33 UTC