Давно не запускал Steam, обновил систему dist-upgrage. И после запуска выдало что нужно доустановить библиотеки. Но установить не смог, тк были конфликты в версиях. Предлагаю свое решение, с которым все заработало.
Сообщение Steam о необходимости установки пакетов:
$ steam Package libgl1-mesa-dri:i386 needs to be installed Package libgl1-mesa-glx:i386 needs to be installed ...
Пробую вручную
$ 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
Ок, смотрим дальше, чего ему не хватает.
$ 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
Установил вручную все что можно:
$ sudo apt install virtualbox-dkms virtualbox-source virtualbox-modules libatomic1:i386 libstdc++-6-dev
После этого осталась только одна ошибка с dh-autoreconf. Но проблема в том, что у меня стояла какраз 17 версия.
$ sudo apt install dh-autoreconf ... dh-autoreconf is already the newest version (17).
Прочитал на stackoverflow что возможно нужно использовать backport репозитории.
https://askubuntu.com/questions/25717/how-do-i-enable-the-backports-repository
Добавил в файл /etc/apt/preferences (возможно он не был создан ранее) строки:
Package: * Pin: release a=<release>-backports Pin-Priority: 500
После этого обновился и проверил какие пакеты могут обновится.
$ 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
Но в итоге все рано ошибка
$ sudo apt install dh-autoreconf ... dh-autoreconf is already the newest version (19~ubuntu18.04.1).
В общем, решил пойти экстремальным путем - удалить пакет, с которым проблем и установить его заново.
$ 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.
После этого запустил установку 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]
Много чего удалилось. Надеюсь действительно ненужного.
После устновки libatomic запустил установку того чего не хватало стиму.
$ 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]
И Steam наконец-то запустился.
Добавить комментарий