Проблемы с установкой libgl1-mesa-dri:i386 из-за множества неудовлетворенных зависимостей и скрытых битых пакетов

Я пытался установить Steam на мою Ubuntu 16.04 LTS. Когда я бегу:

sudo apt install steam

Я получаю следующее:

Reading package lists... Done
Building dependency tree       
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:
steam:i386 : Depends: libgl1-mesa-dri:i386 but it is not going to be 
installed
          Depends: libgl1-mesa-glx:i386 but it is not going to be 
installed
E: Unable to correct problems, you have held broken packages.

Ничего страшного, я попытался установить отдельные пакеты (я уже запустил sudo dpkg --add-architecture i386 перед запуском этих команд):

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:
 appmenu-qt5 : Depends: libqt5gui5 (>= 5.5.0) but it is not going to be installed or
                        libqt5gui5-gles (>= 5.5.0) but it is not going to be installed
 libcontent-hub0 : Depends: libqt5gui5 (>= 5.0.2) but it is not going to be installed or
                            libqt5gui5-gles (>= 5.0.2) but it is not going to be installed
 liboxideqtcore0 : Depends: libqt5gui5 (>= 5.4.0) but it is not going to be installed or
                            libqt5gui5-gles (>= 5.4.0) but it is not going to be installed
 liboxideqtquick0 : Depends: libqt5gui5 (>= 5.0.2) but it is not going to be installed or
                             libqt5gui5-gles (>= 5.0.2) but it is not going to be installed
                    Depends: libqt5quick5 (>= 5.2.0) but it is not going to be installed or
                             libqt5quick5-gles (>= 5.2.0) but it is not going to be installed
 libqmenumodel0 : Depends: libqt5gui5 (>= 5.0.2) but it is not going to be installed or
                           libqt5gui5-gles (>= 5.0.2) but it is not going to be installed
 libqt5multimedia5 : Depends: libqt5gui5 (>= 5.2.0) but it is not going to be installed or
                              libqt5gui5-gles (>= 5.2.0) but it is not going to be installed
 libqt5multimediaquick-p5 : Depends: libqt5gui5 (>= 5.0.2) but it is not going to be installed or
                                     libqt5gui5-gles (>= 5.0.2) but it is not going to be installed
                            Depends: libqt5quick5 (>= 5.4.0) but it is not going to be installed or
                                     libqt5quick5-gles (>= 5.4.0) but it is not going to be installed
 libqt5printsupport5 : Depends: libqt5gui5 (>= 5.3.0) but it is not going to be installed or
                                libqt5gui5-gles (>= 5.3.0) but it is not going to be installed
 libqt5waylandclient5 : Depends: libqt5gui5 (>= 5.5.0) but it is not going to be installed or
                                 libqt5gui5-gles (>= 5.5.0) but it is not going to be installed
 libqt5widgets5 : Depends: libqt5gui5 (>= 5.5.0) but it is not going to be installed or
                           libqt5gui5-gles (>= 5.5.0) but it is not going to be installed
 libqt5x11extras5 : Depends: libqt5gui5 (>= 5.0.2) but it is not going to be installed or
                             libqt5gui5-gles (>= 5.0.2) but it is not going to be installed
 libthumbnailer-qt1.0 : Depends: libqt5gui5 (>= 5.0.2) but it is not going to be installed or
                                 libqt5gui5-gles (>= 5.0.2) but it is not going to be installed
 libubuntugestures5 : Depends: libqt5gui5 (>= 5.0.2) but it is not going to be installed or
                               libqt5gui5-gles (>= 5.0.2) but it is not going to be installed
                      Depends: libqt5quick5 (>= 5.0.2) but it is not going to be installed or
                               libqt5quick5-gles (>= 5.0.2) but it is not going to be installed
 libubuntutoolkit5 : Depends: libqt5gui5 (>= 5.0.2) but it is not going to be installed or
                              libqt5gui5-gles (>= 5.0.2) but it is not going to be installed
 qml-module-io-thp-pyotherside : Depends: libqt5gui5 (>= 5.0.2) but it is not going to be installed or
                                          libqt5gui5-gles (>= 5.0.2) but it is not going to be installed
                                 Depends: libqt5quick5 (>= 5.0.2) but it is not going to be installed or
                                          libqt5quick5-gles (>= 5.0.2) but it is not going to be installed
 qml-module-qtquick-layouts : Depends: libqt5gui5 (>= 5.5.0) but it is not going to be installed or
                                       libqt5gui5-gles (>= 5.5.0) but it is not going to be installed
                              Depends: libqt5quick5 (>= 5.2.0) but it is not going to be installed or
                                       libqt5quick5-gles (>= 5.2.0) but it is not going to be installed
 qml-module-ubuntu-layouts : Depends: libqt5quick5 (>= 5.0.2) but it is not going to be installed or
                                      libqt5quick5-gles (>= 5.0.2) but it is not going to be installed
 qml-module-ubuntu-thumbnailer0.1 : Depends: libqt5gui5 (>= 5.0.2) but it is not going to be installed or
                                             libqt5gui5-gles (>= 5.0.2) but it is not going to be installed
                                    Depends: libqt5quick5 (>= 5.5.0) but it is not going to be installed or
                                             libqt5quick5-gles (>= 5.5.0) but it is not going to be installed
 qmlscene : Depends: libqt5gui5 (>= 5.3.0) but it is not going to be installed or
                     libqt5gui5-gles (>= 5.3.0) but it is not going to be installed
            Depends: libqt5quick5 (>= 5.3.0) but it is not going to be installed or
                     libqt5quick5-gles (>= 5.3.0) but it is not going to be installed
 va-driver-all : Depends: vdpau-va-driver but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

Я пытался делать sudo apt-get update а также -f install но это тоже не помогло. Я понял, что эти пакеты (appmenu-qt5, libcontent-hub0 и т. Д.) Уже установлены в их последних версиях. У меня нет сломанных пакетов, так как я проверял с помощью Synaptic.

Я не уверен, как исправить эту ошибку.

1 ответ

Это похоже на мою проблему.

The following packages have unmet dependencies:
 steam:i386 : Depends: libgl1-mesa-dri:i386 but it is not going to be 

Я пытался так много раз установить libgl1-mesa-dri, но я получил эту ошибку

the following packages have unmet dependencies: libgl1-mesa-dri:i386 : Depends: libgcrypt20:i386 (>= 1.7.0) but it is not going to be installed

Затем я попытался установить libgcrypt20:i386 опять же, но я не могу. Это что-то говорит о the following packages have unmet dependencies, к сожалению, я не захватил журнал.

Тем не менее, я думаю, что вы столкнулись с аналогичной проблемой со мной. Вот мое решение, которое я вручную загружаю и устанавливаю libgcrypt20 (1.7.8-2) (последняя версия) с https://packages.debian.org/sid/libgcrypt20.

Тогда я могу установить libgcrypt20:i386 пакет

sudo apt-get install -f sudo apt-get install libgcrypt20:i386

Затем я могу запустить установленную программу Steam, которую я вручную загружаю с официального сайта Steam, на своем Debian Stretch.

Я надеюсь, что это работает отлично, в случае, если вы боретесь за установку Steam

sudo apt-get install steam

У меня была такая же ошибка при установке масштабирования, поэтому я последовал за nokieng и загрузил libcrypt с https://packages.debian.org/sid/libgcrypt20. Тогда я сделал sudo dpkg -i libcrypt01.Тогда я сделал sudo apt-get install -f После этого я сделал sudo dpkg -i zoom_amd64.deb и зум был успешно установлен.

Другие вопросы по тегам