Vinho não está instalado, não importa o que [duplicado]

4

Tudo bem pessoal, aqui está o acordo. Estou no Ubuntu 14.04 xfce versão, rodando em um Chromebook Acer C270 com crouton. Esta é uma instalação limpa do Ubuntu, não atualizada a partir de uma versão anterior, nem nunca teve outra versão do mesmo.

Estou tentando instalar o Wine. Estes são os comandos que eu usei e todas as soluções que eu já tentei sempre o mesmo resultado exato.

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

Para o sucesso de adicionar o vinho ppa

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

Também bem-sucedido

   (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.

E esse é o problema. Parece bastante comum, então eu google e encontrar várias soluções. Instalando apenas o 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.

Parece que não tenho arquitetura i386, certo? Então eu faço isso:

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

Isso é tudo o que sai, então parece ser um sucesso. Então eu faço o apt-get update. No entanto, a instalação do wine1.7 retorna novamente o mesmo resultado.

(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.

Então eu tento instalar o cups-bsd e ele me envia em uma perseguição de ganso

(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:~$ 

Eu também tentei instalar wine1.7 e wine-i386 ao mesmo tempo

(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.

E aqui está apontando para um monte de bibliotecas que eu aparentemente não tenho, apontando também para um erro com o multiarching do dpkg, então eu também tentei esta correção:

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

Criando um arquivo de texto com foreign-architecture i386 impresso nele para permitir que eu instale o wine1.7-i386. Depois de atualizar com sucesso o apt-get eu tento instalar wine1.7-i386 e fico:

(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.

Mais uma vez. Edit: Eu confirmei que eu realmente tenho suporte para arquitetura i386, porque

sudo dpkg --print-foreign-architectures

Retorna i386 para que pareça não ser o problema, muito estranho.

Mesmo usando o comando -f com o apt-get não muda nada

(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. 

Além disso, usando o apt-get clean, o apt-get autoclean e o apt-get -f instalam todos os pacotes de retorno 0 modificados de qualquer forma. O download pelo centro de software retorna o mesmo resultado. Eu tentei o que parece ser cada correção que foi enviada como uma solução para este problema, mas sem sucesso. Isso realmente não desperta qualquer sentido, não consigo descobrir qual é o problema.

Edit: Eu já desisti de instalar o wine, então vou tentar construí-lo em um container linux de 32-bit. Eu vou postar aqui com os passos que eu usei se eu conseguir trabalhar.

    
por Alex Cage 25.09.2014 / 20:00

1 resposta

0

Primeiro, limpe seu sistema com:

apt-get update
apt-get -f install

Em seguida, remova o vinho:

apt-get remove wine wine1.6

Em seguida, instale apenas o um pacote, dependendo do seu sistema: ou amd64 ou i386

sudo apt-get install wine1.7

deixe-me ver sua saída em caso de erro.

    
por Matthias Huber 20.05.2015 / 20:50