after 17.10->18.4 upgrade, the system did not start due to missing libGL.so.1 and libGLESv2.so.2 files

Asked by yaroslav

laptop: Dell XPS12
More or less a standard Ubuntu 17.10 was upgraded to 18.4
gnome-session-bin 3.28.1-0ubuntu2 could not find some libs.

After the upgrade, the system did not start with the following error and blinking screen:

May 4 14:21:02 Dell gnome-session[7085]: /usr/lib/gnome-session/gnome-session-check-accelerated-gl-helper: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory
May 4 14:21:02 Dell gnome-session[7085]: gnome-session-check-accelerated: GL Helper exited with code 32512
May 4 14:21:02 Dell gnome-session[7085]: /usr/lib/gnome-session/gnome-session-check-accelerated-gles-helper: error while loading shared libraries: libGLESv2.so.2: cannot open shared object file: No such file or directory
May 4 14:21:02 Dell gnome-session[7085]: gnome-session-check-accelerated: GLES Helper exited with code 32512
May 4 14:21:02 Dell at-spi-bus-launcher[3520]: dbus-daemon[3525]: Successfully activated service 'org.a11y.atspi.Registry'

To fix the issue, I had to SSH to this laptop (I was brought to the load screen from other TTYs every 2 seconds) and make symlinks:

root@Dell:~# #ln -s /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1 /usr/lib/x86_64-linux-gnu/libGL.so.1
root@Yarik-Dell:~# #ln -s /usr/lib/x86_64-linux-gnu/mesa/libGLESv2.so.2 /usr/lib/x86_64-linux-gnu/libGLESv2.so.2

missing dependency?

other info from the laptop:

root@Yarik-Dell:~# lspci | grep -i VGA
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)

root@Dell:~# ldd /usr/lib/gnome-session/gnome-session-check-accelerated-gl-helper | egrep "libGL.so.1|libGLESv2.so.2"
 libGL.so.1 => /usr/lib/x86_64-linux-gnu/libGL.so.1 (0x00007ffac7ca8000)

root@Dell:~# apt-file search /usr/lib/x86_64-linux-gnu/libGL.so.1
libgl1: /usr/lib/x86_64-linux-gnu/libGL.so.1
libgl1: /usr/lib/x86_64-linux-gnu/libGL.so.1.0.0
nvidia-340: /usr/lib/x86_64-linux-gnu/libGL.so.1
root@Dell:~# apt-cache policy nvidia-340
nvidia-340:
  Installed: (none)
  Candidate: 340.106-0ubuntu3
  Version table:
     340.106-0ubuntu3 500
        500 http://at.archive.ubuntu.com/ubuntu bionic/restricted amd64 Packages
root@Dell:~# apt-cache policy libgl1
libgl1:
  Installed: (none)
  Candidate: 1.0.0-2ubuntu2
  Version table:
     1.0.0-2ubuntu2 500
        500 http://at.archive.ubuntu.com/ubuntu bionic/main amd64 Packages

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: gnome-session-bin 3.28.1-0ubuntu2
ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17
Uname: Linux 4.15.0-20-generic x86_64
ApportVersion: 2.20.9-0ubuntu7
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Fri May 4 14:51:33 2018
EcryptfsInUse: Yes
InstallationDate: Installed on 2017-06-15 (323 days ago)
InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
SourcePackage: gnome-session
UpgradeStatus: Upgraded to bionic on 2018-05-04 (0 days ago)

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu gnome-session Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
yaroslav (fedorina) said :
#1

I am not sure if this a bug and if yes, then in which package. Better to discuss first.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

Discuss on the bug please. Keep the issue in one place. Sounds like a bug to me

Can you help with this problem?

Provide an answer of your own, or ask yaroslav for more information if necessary.

To post a message you must log in.