cannot install libegl-mesa0 on 22.04.2 LTS

Bug #2023008 reported by Jarno P
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
mesa (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

# Summary

`apt install libegl-mesa0` does not install it due to a dependency conflict in the apt repo.

libegl-mesa0 has dependency to explicit versions of:
* libgbm1 (= 22.2.5-0ubuntu0.1~22.04.1)
* libglapi-mesa (= 22.2.5-0ubuntu0.1~22.04.1)

But the latest in ubuntu repos are versions 22.2.5-0ubuntu0.1~22.04.2.

# Expected behavior

These closely linked packages to be up-to-date in the Ubuntu repo.

# Workaround

It is possible to install libegl-mesa0 by first downgrading the conflicting package versions:

apt install libgbm1=22.2.5-0ubuntu0.1~22.04.1
apt install libglapi-mesa=22.2.5-0ubuntu0.1~22.04.1

and then installing it normally:

apt install libegl-mesa0

# Details

```
# apt install libegl-mesa0
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:
 libegl-mesa0 : Depends: libgbm1 (= 22.2.5-0ubuntu0.1~22.04.1) but 22.2.5-0ubuntu0.1~22.04.2 is to be installed
                Depends: libglapi-mesa (= 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.`
```

1) Is the hard dependency (=) really necessary?

2) Or should I just downgrade existing libglapi-mesa and libgbm1 installs? The difference is minor patch version only so I am hesitant to do so (there must have been a reasons for the .2 patch).

# Environment

## cat /etc/lsb-release
```
cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.2 LTS"
```

# apt-cache policy

```
apt-cache policy libegl-mesa0
libegl-mesa0:
  Installed: (none)
  Candidate: 22.2.5-0ubuntu0.1~22.04.1
  Version table:
     22.2.5-0ubuntu0.1~22.04.1 500
        500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
     22.0.1-1ubuntu2 500
        500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages

```

Tags: mesa
Jarno P (jarno-p)
description: updated
Revision history for this message
David Wilian Oliveira de Sousa (david-sousarj) wrote :

This bug affects me too.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in mesa (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.