Wine Erro de instalação do ubuntu 12.04.1 de 32 bits

0

Quando tento instalar o vinho através do terminal, ele gera o erro:

nits@nits-desktop:~$ sudo apt-get install wine
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 wine : Depends: wine1.6 but it is not going to be installed
 wine1.6-i386 : Depends: wine1.6 (= 1.6~rc2-0ubuntu1~ppa1) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Em seguida, tentando corrigir pacotes quebrados, mostra:

nits@nits-desktop:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  wine1.6
Suggested packages:
  dosbox
The following NEW packages will be installed:
  wine1.6
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0 B/1,160 kB of archives.
After this operation, 3,047 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 301229 files and directories currently installed.)
Unpacking wine1.6 (from .../wine1.6_1.6~rc2-0ubuntu1~ppa1_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/wine1.6_1.6~rc2-0ubuntu1~ppa1_i386.deb (--unpack):
 trying to overwrite '/usr/bin/wine', which is also in package wine1.6-i386 1.6~rc2-0ubuntu1~ppa1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for man-db ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Errors were encountered while processing:
 /var/cache/apt/archives/wine1.6_1.6~rc2-0ubuntu1~ppa1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Eu também não consigo remover pacotes quebrados. O que fazer? Eu tentei muitas soluções disponíveis sobre este tópico, mas nenhuma delas está funcionando. Winetricks está instalado, não funcionaria sem Wine

    
por Nitish Sershiya 17.06.2013 / 09:05

2 respostas

1

sudo apt-get -o Dpkg::Options::="--force-overwrite" -f install wine1.6

Todo o crédito vai para os postados pelos usuários nos fóruns do Ubuntu .

    
por Erwin Dupont 17.06.2013 / 10:39
0

Eu encontrei a solução. Primeiro eu tive que apagar o pacote quebrado usando:

sudo rm /var/cache/apt/archives/wine1.6_1.6~rc2-0ubuntu1~ppa1_i386.deb

Depois tentei reparar os pacotes quebrados novamente:

sudo apt-get -f install

Obrigado a todos porque o meu problema foi resolvido combinando algumas soluções aqui.

    
por Nitish Sershiya 17.06.2013 / 18:43