Public bug reported:

# 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

```

** Affects: mesa (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: mesa

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to mesa in Ubuntu.
https://bugs.launchpad.net/bugs/2023008

Title:
  cannot install libegl-mesa0 on 22.04.2 LTS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/2023008/+subscriptions


_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to