Ajuda com instalação de vinho

-1

Eu instalei vinho e então percebi que deveria ter instalado o winehq. Eu usei o código:

sudo apt-get install --install-recommends winehq-devel

Eu recebi esta resposta:

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:
 liblcms2-2 : Breaks: liblcms2-2:i386 (!= 2.5-0ubuntu4.1) but 2.6-3ubuntu1~trusty1 is to be installed
 liblcms2-2:i386 : Breaks: liblcms2-2 (!= 2.6-3ubuntu1~trusty1) but 2.5-0ubuntu4.1 is to be installed
 wine1.6-amd64 : Conflicts: wine-amd64
 wine1.6-i386:i386 : Conflicts: wine-i386
 winehq-devel : Depends: wine-devel
                Conflicts: wine
                Conflicts: wine:i386
                Conflicts: wine-amd64
                Conflicts: wine-amd64:i386
                Conflicts: wine-i386
                Conflicts: wine-i386:i386
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

então eu digito o comando que ele me diz e eu entendo isso:

bob@bob-HP-Stream-Notebook-PC-11:~$ sudo -s
[sudo] password for bob: 
root@bob-HP-Stream-Notebook-PC-11:~# apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  libllvm3.4 libopenvg1-mesa libwayland-egl1-mesa
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  liblcms2-2
Suggested packages:
  liblcms2-utils
The following packages will be upgraded:
  liblcms2-2
1 upgraded, 0 newly installed, 0 to remove and 110 not upgraded.
5 not fully installed or removed.
Need to get 0 B/134 kB of archives.
After this operation, 3,072 B of additional disk space will be used.
Do you want to continue? [Y/n] y
WARNING: The following packages cannot be authenticated!
  liblcms2-2
Install these packages without verification? [y/N] y
E: Invalid archive signature
E: Internal error, could not locate member control.tar.{gzbz2xzlzma}
E: Prior errors apply to /var/cache/apt/archives/liblcms2-2_2.6-3ubuntu1~trusty1_amd64.deb
debconf: apt-extracttemplates failed: No such file or directory
dpkg-deb: error: '/var/cache/apt/archives/liblcms2-2_2.6-3ubuntu1~trusty1_amd64.deb' is not a debian format archive
dpkg: error processing archive /var/cache/apt/archives/liblcms2-2_2.6-3ubuntu1~trusty1_amd64.deb (--unpack):
 subprocess dpkg-deb --control returned error exit status 2
Errors were encountered while processing:
 /var/cache/apt/archives/liblcms2-2_2.6-3ubuntu1~trusty1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Alguém pode me ajudar porque esses são os mesmos erros que eu recebo quando tento instalar qualquer coisa agora?

Edit: Eu estava tentando instalar um jogo. Aqui está o que acabei com:

root@bob-HP-Stream-Notebook-PC-11:~# sudo apt-get install smc
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:
 liblcms2-2 : Breaks: liblcms2-2:i386 (!= 2.5-0ubuntu4.1) but 2.6-3ubuntu1~trusty1 is to be installed
 liblcms2-2:i386 : Breaks: liblcms2-2 (!= 2.6-3ubuntu1~trusty1) but 2.5-0ubuntu4.1 is to be installed
 smc : Depends: libboost-filesystem1.54.0 but it is not going to be installed
       Depends: libboost-thread1.54.0 but it is not going to be installed
       Depends: libcegui-mk2-0.7.6 but it is not going to be installed
       Depends: libsdl-mixer1.2 but it is not going to be installed
       Depends: libsdl-ttf2.0-0 but it is not going to be installed
       Depends: smc-data (= 1.9+git20121121-1ubuntu1.1) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Editar 2:

bob@bob-HP-Stream-Notebook-PC-11:~$ sudo apt-get install synaptic
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:
 liblcms2-2 : Breaks: liblcms2-2:i386 (!= 2.5-0ubuntu4.1) but 2.6-3ubuntu1~trusty1 is to be installed
 liblcms2-2:i386 : Breaks: liblcms2-2 (!= 2.6-3ubuntu1~trusty1) but 2.5-0ubuntu4.1 is to be installed
 synaptic : Depends: libept1.4.12 but it is not going to be installed
        Recommends: rarian-compat but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
bob@bob-HP-Stream-Notebook-PC-11:~$ dpkg --configure -a
dpkg: error: requested operation requires superuser privilege
bob@bob-HP-Stream-Notebook-PC-11:~$ sudo -s
root@bob-HP-Stream-Notebook-PC-11:~# dpkg --configure -a
dpkg: error processing package liblcms2-2:i386 (--configure):
 package liblcms2-2:i386 2.6-3ubuntu1~trusty1 cannot be configured because liblcms2-2:amd64 is at a different version (2.5-0ubuntu4.1)
dpkg: dependency problems prevent configuration of wine1.6-i386:
 wine1.6-i386 depends on liblcms2-2 (>= 2.2+git20110628); however:
  Package liblcms2-2:i386 is not configured yet.

dpkg: error processing package wine1.6-i386 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of wine1.6:
 wine1.6 depends on wine1.6-i386 (= 1:1.6.2-0ubuntu4); however:
  Package wine1.6-i386 is not configured yet.

dpkg: error processing package wine1.6 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of wine:
 wine depends on wine1.6 | wine1.8; however:
  Package wine1.6 is not configured yet.
  Package wine1.8 is not installed.

dpkg: error processing package wine (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of wine1.6-amd64:
 wine1.6-amd64 depends on wine1.6:any (= 1:1.6.2-0ubuntu4); however:
   Package wine1.6 is not configured yet.

dpkg: error processing package wine1.6-amd64 (--configure):
 dependency problems - leaving unconfigured
 Errors were encountered while processing:
  liblcms2-2:i386
  wine1.6-i386
  wine1.6
  wine
  wine1.6-amd64

Edit: isso é o que eu tenho no final. há muita coisa para colocar aqui, mas eu fiz o

 sudo apt-get remove --purge wine*

houve um monte de coisas no meio, mas terminou assim:

 wine1.6-i386:i386 : Depends: wine1.6:any:i386 (= 1:1.6.2-0ubuntu4)
                 Recommends: wine-mono0.0.8:i386
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
    
por Azarius Jenkins 24.06.2016 / 09:44

1 resposta

0

O erro é devido ao conflito entre pacotes de 32 e 64 bits

Pressione

Ctrl + Alt + T

Terminal é aberto

Digite

sudo apt-get remove --purge wine*
sudo dpkg --configure -a
sudo -f install
sudo autoremove
sudo autoclean
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install winehq
apt -f install
    
por rancho 24.06.2016 / 10:14