Profile picture for user admin_romcom

Steam was not launched a long time ago on my PC. System was upgraded with dist-upgrage command. And after system upgrade the message about missing libraries appered on Steam launch. But they could not be installed due to the conflicts in versions. In this article I propose my solution for solving this problem.

Steam message about packages to be installed:

$ steam

Package libgl1-mesa-dri:i386 needs to be installed

Package libgl1-mesa-glx:i386 needs to be installed

...

 

Tried it mannualy:

$ sudo apt install libgl1-mesa-dri:i386 libgl1-mesa-glx:i386

...

The following packages have unmet dependencies:

libgl1-mesa-dri:i386 : Depends: libllvm9:i386 (>= 1:9~svn298832-1~) but it is not going to be installed

 

OK, check further what it's need:

$ sudo apt install libllvm9:i386

...

The following packages have unmet dependencies:

libllvm9:i386 : Depends: libatomic1:i386 (>= 4.8) but it is not going to be installed


$ sudo apt install libatomic1:i386

...

The following packages have unmet dependencies:

debhelper : Depends: dh-autoreconf (>= 17~) but it is not going to be installed

libicu-dev : Depends: libstdc++-6-dev but it is not going to be installed or

libstdc++-dev

virtualbox : Depends: virtualbox-dkms (>= 5.2.34-dfsg-0~ubuntu18.04.1) but it is not going to be installed or

virtualbox-source (>= 5.2.34-dfsg-0~ubuntu18.04.1) but it is not going to be installed or

virtualbox-modules

 

Installing manually everything that I could find:

$ sudo apt install virtualbox-dkms virtualbox-source virtualbox-modules libatomic1:i386 libstdc++-6-dev

 

After that one more error with dh-autoreconf left. But the problem is that I've already had version 17.

 

$ sudo apt install dh-autoreconf

...

dh-autoreconf is already the newest version (17).

 

The article on stackoverflow was found and the solution was to use backport repos.

https://askubuntu.com/questions/25717/how-do-i-enable-the-backports-repository

Strings were added to file /etc/apt/preferences:

Package: *

Pin: release a=<release>-backports

Pin-Priority: 500

 

After that I've run update command to see which packages could be updated:

$ sudo apt update

$ apt list --upgradable

Listing... Done

debhelper/bionic-backports,bionic-backports 12.1.1ubuntu1~ubuntu18.04.1 all [upgradable from: 11.1.6ubuntu2]

dh-autoreconf/bionic-backports,bionic-backports 19~ubuntu18.04.1 all [upgradable from: 17]

init/bionic-backports 1.56+nmu1~ubuntu18.04.1 amd64 [upgradable from: 1.51]

init-system-helpers/bionic-backports,bionic-backports 1.56+nmu1~ubuntu18.04.1 all [upgradable from: 1.51]

iproute2/bionic-backports 4.18.0-1ubuntu2~ubuntu18.04.1 amd64 [upgradable from: 4.15.0-2ubuntu1]

simple-scan/bionic 3.28.0-0ubuntu1 amd64 [upgradable from: 3.20.0-0ubuntu1]

smartmontools/bionic-backports 7.0-0ubuntu1~ubuntu18.04.1 amd64 [upgradable from: 6.5+svn4324-1]

$ sudo apt upgrade

 

But in the end error still exists.

$ sudo apt install dh-autoreconf

...

dh-autoreconf is already the newest version (19~ubuntu18.04.1).

 

Anyway, let's do this in extreme way - remove packages and reinstall it:

$ sudo apt remove dh-autoreconf

...

The following packages were automatically installed and are no longer required:

dwz intltool-debian kbuild libarchive-cpio-perl libarchive-zip-perl libfile-stripnondeterminism-perl libmail-sendmail-perl libsys-hostname-long-perl module-assistant po-debconf

Use 'sudo apt autoremove' to remove them.

The following packages will be REMOVED:

debhelper dh-autoreconf dh-strip-nondeterminism virtualbox-source

0 upgraded, 0 newly installed, 4 to remove and 1 not upgraded.

After this operation, 2 606 kB disk space will be freed.

 

After that install package libatomic1:i386

$ sudo apt install libatomic1:i386

...

The following packages were automatically installed and are no longer required:

bison cpp-5 dwz flex gir1.2-gtk-2.0 gir1.2-harfbuzz-0.0 icu-devtools intltool-debian kbuild lib32gcc1 lib32stdc++6 libarchive-cpio-perl libarchive-zip-perl libasan2 libasan3 libasan4

libatk1.0-dev libatkmm-1.6-dev libbison-dev libcairo-script-interpreter2 libcairo2-dev libcairomm-1.0-dev libcilkrts5 libclang-common-6.0-dev libffi-dev libfile-stripnondeterminism-perl

libfl-dev libfl2 libgdk-pixbuf2.0-dev libglibmm-2.4-dev libgraphite2-dev libgsoap-2.8.60 libharfbuzz-gobject0 libicu-le-hb0 libiculx60 libisl15 libitm1 liblsan0 libltdl-dev libmail-sendmail-perl

libmpx0 libmpx2 libobjc4 libomp-dev libomp5 libpixman-1-dev libsigc++-2.0-dev libsys-hostname-long-perl libtsan0 libubsan0 libvncserver1 libxcb-shm0-dev libxcomposite-dev libxft-dev

libxml2-utils llvm-6.0 llvm-6.0-dev llvm-6.0-runtime module-assistant po-debconf x11proto-composite-dev

Use 'sudo apt autoremove' to remove them.

The following packages will be REMOVED:

acpi-call-dkms build-essential clang clang-6.0 dkms g++ g++-7 gcc gcc-5 gcc-7 libatomic1 libgcc-5-dev libgcc-6-dev libgcc-7-dev libgtk2.0-dev libgtkmm-2.4-dev libharfbuzz-dev libicu-dev

libicu-le-hb-dev libobjc-7-dev libpango1.0-dev libpangomm-1.4-dev libstdc++-5-dev libstdc++-6-dev libstdc++-7-dev libtool virtualbox virtualbox-dkms virtualbox-qt

The following NEW packages will be installed:

libatomic1:i386

0 upgraded, 1 newly installed, 29 to remove and 1 not upgraded.

Need to get 9 720 B of archives.

After this operation, 389 MB disk space will be freed.

Do you want to continue? [Y/n]

 

There was a lot of removing. I hope there was only unused things.

After installing libatomic missing libraries were installed.

$ sudo apt-get install libgl1-mesa-dri:i386 libgl1-mesa-glx:i386

Reading package lists... Done

Building dependency tree

Reading state information... Done

The following packages were automatically installed and are no longer required:

bison cpp-5 dwz flex gir1.2-gtk-2.0 gir1.2-harfbuzz-0.0 icu-devtools intltool-debian kbuild lib32gcc1 lib32stdc++6 libarchive-cpio-perl libarchive-zip-perl libasan2 libasan3 libasan4

libatk1.0-dev libatkmm-1.6-dev libbison-dev libcairo-script-interpreter2 libcairo2-dev libcairomm-1.0-dev libcilkrts5 libclang-common-6.0-dev libffi-dev libfile-stripnondeterminism-perl

libfl-dev libfl2 libgdk-pixbuf2.0-dev libglibmm-2.4-dev libgraphite2-dev libgsoap-2.8.60 libharfbuzz-gobject0 libicu-le-hb0 libiculx60 libisl15 libitm1 liblsan0 libltdl-dev libmail-sendmail-perl

libmpx0 libmpx2 libobjc4 libomp-dev libomp5 libpixman-1-dev libsigc++-2.0-dev libsys-hostname-long-perl libtsan0 libubsan0 libvncserver1 libxcb-shm0-dev libxcomposite-dev libxft-dev

libxml2-utils llvm-6.0 llvm-6.0-dev llvm-6.0-runtime module-assistant po-debconf x11proto-composite-dev

Use 'sudo apt autoremove' to remove them.

The following additional packages will be installed:

libdrm-amdgpu1:i386 libdrm-intel1:i386 libdrm-nouveau2:i386 libdrm-radeon1:i386 libedit2:i386 libelf1:i386 libgl1:i386 libglx-mesa0:i386 libglx0:i386 libllvm9:i386 libpciaccess0:i386

libsensors4:i386 libxcb-glx0:i386

Suggested packages:

lm-sensors:i386

The following NEW packages will be installed:

libdrm-amdgpu1:i386 libdrm-intel1:i386 libdrm-nouveau2:i386 libdrm-radeon1:i386 libedit2:i386 libelf1:i386 libgl1:i386 libgl1-mesa-dri:i386 libgl1-mesa-glx:i386 libglx-mesa0:i386 libglx0:i386

libllvm9:i386 libpciaccess0:i386 libsensors4:i386 libxcb-glx0:i386

0 upgraded, 15 newly installed, 0 to remove and 1 not upgraded.

Need to get 24,9 MB of archives.

After this operation, 324 MB of additional disk space will be used.

Do you want to continue? [Y/n]

 

And the Steam started without errors.

Add new comment

The content of this field is kept private and will not be shown publicly.
  • No HTML tags allowed.
 o  o  o  o   o-o   o  o    0   
| | | / | | | | /|
o--O OO o-o O--O o |
| | \ | | | | |
o o o o-o o o o-o-o

Enter the code depicted in ASCII art style.