Ros2 Humble unmet dependencies: libgbm-dev [closed]

asked 2023-06-09 16:44:42 -0500

lservilla gravatar image

My ubuntu version is:

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.2 LTS
Release:    22.04
Codename:   jammy

I am trying to install ros-humble-desktop however I am receiving the following dependency error:

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:
 libgbm-dev : Depends: libgbm1 (= 22.2.5-0ubuntu0.1~22.04.1) but 22.2.5-0ubuntu0.1~22.04.2 is to be installed
E: Unable to correct problems, you have held broken packages.

I followed the installation guide for Humble/Ubuntu at making sure to complete all the steps. Reverting to the required version of libgbm1 would cause the following to be removed:

The following packages will be REMOVED:
apturl cheese evolution-data-server gdm3 gir1.2-gst-plugins-base-1.0 gir1.2-mutter-10 gir1.2-rb-3.0 gir1.2-webkit2-4. gnome-calendar gnome-control-center gnome-initial-setup gnome-online-accounts gnome-remote-desktop gnome-session-bin gnome-shell gnome-shell-extension-appindicator gnome-shell-extension-desktop icons-ng gnome-shell-extension-ubuntu-dock gnome-startup-applications gnome-todo gnome-user-docs google-chrome-stable gstreamer1.0-clutter-3.0 gstreamer1.0-gl gstreamer1.0-gtk3 libcheese-gtk25 libcheese8 libclutter-1.0-0 libclutter-gst-3.0-0 libclutter-gtk-1.0-0 libcogl-pango20 libcogl-path20 libcogl20 libedataserverui-1.2-3 libegl-mesa0 libegl1 libgbm1 libgoa-backend-1.0-1 libgstreamer-gl1.0-0 libmutter-10-0 libwebkit2gtk-4.0-37 libyelp0 nautilus-share rhythmbox-plugins shotwell totem totem-plugins ubuntu-desktop ubuntu-desktop-minimal ubuntu-docs ubuntu-release-upgrader-gtk ubuntu-session update-manager update-notifier xorg xserver-xorg xserver-xorg-core xserver-xorg-input-all xserver-xorg-input-libinput xserver-xorg-input-wacom xserver-xorg-video-all xserver-xorg-video-amdgpu xserver-xorg-video-ati xserver-xorg-video-fbdev xserver-xorg-video-intel xserver-xorg-video-nouveau xserver-xorg-video-qxl xserver-xorg-video-radeon xserver-xorg-video-vesa xserver-xorg-video-vmware xwayland yelp zenity

As this list includes such things ad ubuntu-desktop this is not a valid option. Is there a way to solve this?

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by lservilla
close date 2023-06-13 10:50:43.292255


This is a know issue with some installs and tracked here: ros2/ros2/#1433.

gvdhoorn gravatar image gvdhoorn  ( 2023-06-10 00:33:50 -0500 )edit