libopengl0 on 20.04 cannot be installed
On a freshly installed 20.04 (dell xps 9310) it is somehow not possible to install libopengl.so, which I need to start Salome software.
Trying to install
sudo apt install libopengl0
The following packages have unmet dependencies:
libopengl0 : Depends: libglvnd0 (= 1.3.1-1) but 1.3.1-1ubuntu0.
E: Unable to correct problems, you have held broken packages.
it looks like that the /etc/apt/
deb http://
deb http://
deb http://
deb http://
deb-src http://
deb http://
deb http://
deb http://
in addition to, there are these repositories:
deb http://
deb http://
deb-src http://
deb http://
deb-src http://
deb [arch=amd64] http://
deb http://
deb-src http://
deb http://
deb-src http://
deb http://
deb-src http://
deb http://
deb-src http://
deb http://
deb-src http://
deb http://
deb-src http://
deb https:/
deb [arch=amd64] https:/
My question is the following, why there is a version 1.3.1-1ubuntu0.
Any suggestions?
Best, Emek
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- B. Emek Abali
- Solved:
- 2020-11-24
- Last query:
- 2020-11-24
- Last reply:
- 2020-11-24
What is the output of:
lsb_release -a; uname -a; apt-cache policy libopengl0 libglvnd0
Thanks
The package version in the default repos are at the right versions
https:/
https:/
and will install
B. Emek Abali (bilenemek) said : | #3 |
lsb_release -a; uname -a; apt-cache policy libopengl0 libglvnd0
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.1 LTS (fossa-bulbasaur X38)
Release: 20.04
Codename: focal
Linux ...... 5.6.0-1033-oem #35-Ubuntu SMP Thu Oct 22 10:55:50 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
libopengl0:
Installed: (none)
Candidate: 1.3.1-1
Version table:
1.3.1-1 500
500 http://
libglvnd0:
Installed: 1.3.1-1ubuntu0.
Candidate: 1.3.1-1ubuntu0.
Version table:
*** 1.3.1-1ubuntu0.
100 /var/lib/
1.3.1-1 500
500 http://
B. Emek Abali (bilenemek) said : | #4 |
Technically, libglvnd0 is holding it back, somehow I have the update version, although not really understanding, which repo is giving it to me
$ sudo apt update
Hit:1 http://
Hit:2 http://
Hit:3 http://
Hit:4 http://
Hit:5 http://
Hit:6 https:/
Hit:7 https:/
Hit:8 http://
Hit:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Fetched 190 kB in 3s (62,2 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
$ sudo apt install libglvnd0
Reading package lists... Done
Building dependency tree
Reading state information... Done
libglvnd0 is already the newest version (1.3.1-
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
$ sudo apt install --reinstall libglvnd0
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reinstallation of libglvnd0 is not possible, it cannot be downloaded.
B. Emek Abali (bilenemek) said : | #5 |
I could use aptitude and downgrade the following packages
Downgrade the following packages:
1) libegl1 [1.3.1-
2) libgl1 [1.3.1-
3) libgles2 [1.3.1-
4) libglvnd0 [1.3.1-
5) libglx0 [1.3.1-
then libopengl0 could be installed and all is working now!
Manfred Hampl (m-hampl) said : | #6 |
You already identified the root cause: you do not have focal-updates enabled in your list of repositories.
Open the software-