Wine не устанавливается ни при каких условиях [дубликат]

На этот вопрос уже есть ответ здесь:

Хорошо, ребята, вот в чем дело. Я использую версию ubuntu 14.04 xfce, работающую на Acer C270 Chromebook с crouton. Это чистая установка Ubuntu, не обновленная с предыдущей версии, и на ней никогда не было другой версии Wine.

Я пытаюсь установить Wine. Это команды, которые я использовал, и все решения, которые я уже пробовал, всегда дают один и тот же результат.

(trusty)pineapplez13@localhost:~$ sudo add-apt-repository ppa:ubuntu-wine/ppa

Успешное добавление вин ppa

(trusty)pineapplez13@localhost:~$ sudo apt-get update

Также успешно

   (trusty)pineapplez13@localhost:~$ sudo apt-get install wine
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:
 wine : Depends: wine1.6 but it is not going to be installed or
                 wine1.7 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

И в этом проблема.Это кажется довольно распространенным явлением, поэтому я нахожу в Google несколько решений. Установка только Wine1.7:

(trusty)pineapplez13@localhost:~$ sudo apt-get install wine1.7
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:
 wine1.7 : Depends: wine1.7-amd64 (= 1:1.7.26-0ubuntu1~ppa1) but it is not going to be installed
           Depends: wine1.7-i386 (= 1:1.7.26-0ubuntu1~ppa1)
           Recommends: cups-bsd
E: Unable to correct problems, you have held broken packages.

Похоже, у меня нет архитектуры i386, верно? Итак, я делаю следующее:

(trusty)pineapplez13@localhost:~$ sudo dpkg --add-architecture i386
(trusty)pineapplez13@localhost:~$ 

Это все, что он выводит, так что похоже, что это был успех. Так что делаю apt-get update. Однако установка wine1.7 снова возвращает тот же результат.

(trusty)pineapplez13@localhost:~$ sudo apt-get install wine1.7
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:
 wine1.7 : Depends: wine1.7-amd64 (= 1:1.7.26-0ubuntu1~ppa1) but it is not going to be installed
           Depends: wine1.7-i386 (= 1:1.7.26-0ubuntu1~ppa1)
           Recommends: cups-bsd
E: Unable to correct problems, you have held broken packages.

Итак, я пытаюсь установить cups-bsd, и он отправляет меня в зависимость от goose chase

(trusty)pineapplez13@localhost:~$ sudo apt-get install cups-bsd
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:
 cups-bsd : Depends: cups-client (= 1.7.2-0ubuntu1)
E: Unable to correct problems, you have held broken packages.
(trusty)pineapplez13@localhost:~$ sudo apt-get install cups-client
Reading package lists... Done
Building dependency tree       
Reading state information... Done
cups-client is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
(trusty)pineapplez13@localhost:~$ 

Я также пробовал одновременно установить wine1.7 и wine-i386

(trusty)pineapplez13@localhost:~$ sudo apt-get install wine1.7 wine1.7-i386
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:
 wine1.7 : Depends: wine1.7-amd64 (= 1:1.7.26-0ubuntu1~ppa1) but it is not going to be installed
           Recommends: cups-bsd
 wine1.7-i386:i386 : Depends: libglib2.0-0:i386 (>= 2.12.0) but it is not going to be installed
                     Depends: libglu1-mesa:i386 but it is not going to be installed or
                              libglu1:i386
                     Depends: libgphoto2-6:i386 (>= 2.5.2) but it is not going to be installed
                     Depends: libgphoto2-port10:i386 (>= 2.5.2) but it is not going to be installed
                     Depends: libgstreamer-plugins-base0.10-0:i386 (>= 0.10.22) but it is not going to be installed
                     Depends: libgstreamer0.10-0:i386 (>= 0.10.26) but it is not going to be installed
                     Depends: libldap-2.4-2:i386 (>= 2.4.7) but it is not going to be installed
                     Depends: libpulse0:i386 (>= 1:0.99.1) but it is not going to be installed
                     Depends: libxml2:i386 (>= 2.9.0) but it is not going to be installed
                     Recommends: libasound2-plugins:i386 but it is not going to be installed
                     Recommends: libcups2:i386 but it is not going to be installed
                     Recommends: libdbus-1-3:i386 but it is not going to be installed
                     Recommends: libfontconfig1:i386 but it is not going to be installed or
                                 libfontconfig:i386
                     Recommends: libfreetype6:i386 but it is not going to be installed
                     Recommends: libgnutls26:i386 but it is not going to be installed
                     Recommends: libosmesa6:i386 but it is not going to be installed
                     Recommends: libsane:i386 but it is not going to be installed
                     Recommends: libtiff5:i386 but it is not going to be installed or
                                 libtiff4:i386 but it is not installable
                     Recommends: libxslt1.1:i386 but it is not going to be installed
                     Recommends: libxt6:i386 but it is not going to be installed
                     Recommends: p11-kit-modules:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

И здесь он указывает на кучу библиотек, которых у меня, по-видимому, нет, также указывая на ошибку с многоархивом dpkg, поэтому я также попробовал это исправление:

(trusty)pineapplez13@localhost:~$ gksu gedit /etc/dpkg/dpkg.cfg.d/multiarch

Создание текстового файла с напечатанной в нем внешней архитектурой i386 , чтобы разрешить мне установить wine1.7-i386. После успешного обновления apt-get я пытаюсь установить wine1.7-i386 и получаю:

(trusty)pineapplez13@localhost:~$ sudo apt-get install wine1.7-i386
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:
 wine1.7-i386:i386 : Depends: libglib2.0-0:i386 (>= 2.12.0) but it is not going to be installed
                     Depends: libglu1-mesa:i386 but it is not going to be installed or
                              libglu1:i386
                     Depends: libgphoto2-6:i386 (>= 2.5.2) but it is not going to be installed
                     Depends: libgphoto2-port10:i386 (>= 2.5.2) but it is not going to be installed
                     Depends: libgstreamer-plugins-base0.10-0:i386 (>= 0.10.22) but it is not going to be installed
                     Depends: libgstreamer0.10-0:i386 (>= 0.10.26) but it is not going to be installed
                     Depends: libldap-2.4-2:i386 (>= 2.4.7) but it is not going to be installed
                     Depends: libpulse0:i386 (>= 1:0.99.1) but it is not going to be installed
                     Depends: libxml2:i386 (>= 2.9.0) but it is not going to be installed
                     Recommends: libasound2-plugins:i386 but it is not going to be installed
                     Recommends: libcups2:i386 but it is not going to be installed
                     Recommends: libdbus-1-3:i386 but it is not going to be installed
                     Recommends: libfontconfig1:i386 but it is not going to be installed or
                                 libfontconfig:i386
                     Recommends: libfreetype6:i386 but it is not going to be installed
                     Recommends: libgnutls26:i386 but it is not going to be installed
                     Recommends: libosmesa6:i386 but it is not going to be installed
                     Recommends: libsane:i386 but it is not going to be installed
                     Recommends: libtiff5:i386 but it is not going to be installed or
                                 libtiff4:i386 but it is not installable
                     Recommends: libxslt1.1:i386 but it is not going to be installed
                     Recommends: libxt6:i386 but it is not going to be installed
                     Recommends: p11-kit-modules:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Еще раз. Редактировать: Я подтвердил, что действительно поддерживаю архитектуру i386, потому что

sudo dpkg --print-foreign-architectures

Returns i386, так что проблема не в этом, очень странно.

Даже использование команды -f с apt-get ничего не меняет

(trusty)pineapplez13@localhost:~$ sudo apt-get install -f wine1.7
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:
 wine1.7 : Depends: wine1.7-amd64 (= 1:1.7.26-0ubuntu1~ppa1) but it is not going to be installed
           Depends: wine1.7-i386 (= 1:1.7.26-0ubuntu1~ppa1)
           Recommends: cups-bsd
E: Unable to correct problems, you have held broken packages. 

Кроме того, при использовании apt-get clean, apt-get autoclean и apt-get -f install все возвращают 0 пакетов, измененных каким-либо образом. Скачивание через программный центр возвращает тот же результат. Я перепробовал все исправления, которые были загружены как решение этой проблемы, но безрезультатно. Это действительно не пробуждает никакого смысла, я не могу понять, в чем проблема.

Edit: Я отказался от установки Wine, поэтому я просто попытаюсь собрать его в 32-битном контейнере Linux. Я опубликую здесь шаги, которые я использовал, если когда-нибудь у меня это заработает.

4
задан 27 September 2014 в 12:26

1 ответ

Во-первых, очистите свою систему с:

apt-get update
apt-get -f install

Тогда удаляют Вино:

apt-get remove wine wine1.6

Тогда установка [только 113] один пакет, в зависимости от Вашей системы: или amd64 или i386

sudo apt-get install wine1.7

позволяют мне видеть Ваш вывод выполнения так в случае ошибки.

0
ответ дан 17 November 2019 в 07:20