apt-get failure with libgbm1-22.0.1-1ubuntu2.1
We started getting the following failures in CI when installing libgbm-dev:
libgbm-dev : Depends: libgbm1 (= 22.0.1-1ubuntu2) but 22.0.1-1ubuntu2.1 is to be installed
Looking at the logs, libgbm1-
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu mesa Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Manfred Hampl
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
For diagnostic purposes please provide the output that you receive for the following commands:
uname -a
lsb_release -crid
apt policy libgbm-dev libgbm1
sudo apt update
apt policy libgbm-dev libgbm1
My expectation is that an update installs version 22.0.5-0ubuntu0.3
Revision history for this message
|
#2 |
I see that before `sudo apt update`, libgbm-dev and libgbm1 both have 22.0.1-1ubuntu2.1, but after, libgbm-dev removes 22.0.1-1ubuntu2.1.
=======
$ uname -a
Linux ip-10-10-20-200 5.15.0-1014-aws #18-Ubuntu SMP Wed Jun 15 20:04:04 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
$ lsb_release -crid
Distributor ID: Ubuntu
Description: Ubuntu 22.04 LTS
Release: 22.04
Codename: jammy
$ apt policy libgbm-dev libgbm1
libgbm-dev:
Installed: (none)
Candidate: 22.0.1-1ubuntu2.1
Version table:
22.
500 http://
22.
500 http://
21.
500 http://
libgbm1:
Installed: 22.0.1-1ubuntu2.1
Candidate: 22.0.1-1ubuntu2.1
Version table:
*** 22.0.1-1ubuntu2.1 500
500 http://
100 /var/lib/
22.
500 http://
21.
500 http://
$ sudo apt update
Hit:1 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 https:/
Get:2 https:/
Get:7 https:/
Get:8 http://
Get:9 https:/
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
Get:14 http://
Get:15 http://
Get:16 http://
Get:17 http://
Get:18 http://
Get:19 http://
Get:20 http://
Hit:21 https:/
Get:22 http://
Get:23 http://
Get:24 http://
Get:25 http://
Get:26 http://
Get:27 http://
Get:28 http://
Get:29 https:/
Get:30 http://
Get:31 http://
Get:32 http://
Get:33 http://
Get:34 http://
Get:35 http://
Get:36 https:/
Get:37 http://
Get:38 http://
Get:39 http://
Get:40 http://
Get:41 http://
Get:42 http://
Get:43 https:/
Get:44 http://
Get:45 http://
Get:46 http://
Get:47 https:/
Fetched 7,787 kB in 2s (3,431 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
251 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: https:/
W: https:/
$ apt policy libgbm-dev libgbm1
libgbm-dev:
Installed: (none)
Candidate: 22.0.1-1ubuntu2
Version table:
22.
500 http://
22.
500 http://
21.
500 http://
libgbm1:
Installed: 22.0.1-1ubuntu2.1
Candidate: 22.0.1-1ubuntu2.1
Version table:
22.
500 http://
*** 22.0.1-1ubuntu2.1 100
100 /var/lib/
22.
500 http://
21.
500 http://
$ sudo apt-get install libgbm-dev
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:
libgbm-dev : Depends: libgbm1 (= 22.0.1-1ubuntu2) but 22.0.1-1ubuntu2.1 is to be installed
E: Unable to correct problems, you have held broken packages.
Revision history for this message
|
#3 |
1. Your package management configuration is not correct. You are running Ubuntu jammy, but you are also loading the package list for focal-updates. (This probably has no effect on your current problem.)
2. Before trying to install additional packages or installing updates you should update the local copy of the package inventory (e.g. with the "apt update" command). See the difference in output of the apt policy command
3. Currently there is a version update for the libgbm packages in progress, and there is a known problem covering your case (sorry, I can't find the bug number)
see also https:/
The simple solution is waiting for the phased update to complete, this should take maximum 36 hours from now.
If you need the libgbm-dev package immediately, then you can either manually download and install it (in version 22.0.1-1ubuntu2.1 e.g. from https:/
Revision history for this message
|
#4 |
1. Hm interesting. We're just using the base Circle CI ubuntu AMI, so it's probably Circle CI needing to fix their config. Regardless, probably unrelated to this issue
2. We do run `apt-get update`. Notice how installing libgbm-dev still fails after running apt-get update
3. ah I see, I didn't realize that phased updates were a thing. I'm surprised it takes so long, though. For now, I just downgraded the package (apt-get install libgbm-dev libgbm1=
Thank you!
Revision history for this message
|
#5 |
Re: "I'm surprised it takes so long, though."
In the phased updates process there is an increase by 10% every 6 hours, that gives a maximum time span of 2 1/2 days.