%20.png)
Estoy intentando instalar Wine en mi sistema Ubuntu, pero no puedo completar la instalación. He leído muchas otras preguntas y respuestas, pero ninguna parece solucionar mi problema. Cuando intento instalarlo con
sudo apt-get install wine
Recibo este mensaje:
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
E: Unable to correct problems, you have held broken packages.
Probé con Synaptic: (el paquete de vino tiene un signo de exclamación en lugar de un cheque)
Could not apply changes!
Fix broken packages first.
Hago clic para arreglar los paquetes y luego ocurre este error:
E: Unable to correct problems, you have held broken packages.
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
También probé comandos como
sudo apt-get remove wine
sudo aptitude search wine
sudo dpkg -p Wine
pero ninguno de ellos funcionó tan bien. Estoy tan confundido en este momento que tal vez me esté perdiendo algo simple. Soy un nuevo usuario de Ubuntu, por lo que no conozco los métodos avanzados ni los comandos de terminal. ¿Estoy haciendo algo mal? Solo probé soluciones y comandos publicados en este foro. ¡Gracias de antemano por la ayuda!
Editar: después de correr
uname -a; lsb_release -a; apt-cache policy wine wine1.6; sudo apt-get remove wine; sudo apt-get install -f
Yo obtengo:
Linux tommy-Lenovo-Z50-75 3.19.0-33-generic #38~14.04.1-Ubuntu SMP Fri Nov 6 18:17:28 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty
apt-cache policy wine wine1.6
wine:
Installed: (none)
Candidate: 1:1.7.50-0ubuntu1
Version table:
1:1.7.50-0ubuntu1 0
500 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/ trusty/main amd64 Packages
1:1.6.2-0ubuntu4 0
500 http://archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
wine1.6:
Installed: (none)
Candidate: 1:1.6.2-0ubuntu4
Version table:
1:1.6.2-0ubuntu4 0
500 http://archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
sudo apt-get remove wine
Building dependency tree
Reading state information... Done
Package 'wine' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Reading package lists... Done
sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Editar: lo intenté
$ sudo apt-get remove --purge wine
$ sudo apt-get install wine
incluso después de correr sudo apt-get update
. El problema persiste.
Edición (última y definitiva): después de un intento fallido de determinar los paquetes rotos, formatearé mi computadora portátil en Ubuntu Gnome (última versión). La versión actual ejecuto 14.04 LTS con Unity. Gracias por toda tu ayuda, este hilo debería cerrarse. Parece que a mi sistema le faltan algunos paquetes, así que como está recién instalado (hace 2 semanas), lo formatearé nuevamente. ¡Gracias de nuevo por todas las respuestas!
Respuesta1
Escriba lo siguiente en una terminal:
$ sudo apt-get remove --purge wine
$ sudo apt-get install wine
Esto debería eliminar los paquetes retenidos e instalar Wine correctamente. También asegúrese de no haber instalado Wine desde la fuente.
Respuesta2
Actualmente no tienes ningún problema... demostrado por:
$ sudo apt-get install -f Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
El PPA tampoco tiene problemas. Hay un paquete
wine
para Trusty y estedeberíainstalar el paquetewine1.7
Compruébalo con estoenlace. Después de haber probado esto en mi máquina, funciona. El paquetewine
fuerza la instalación dewine1.7
. Me temo que olvidaste ejecutar el comandosudo apt-get update
. Obviamente lo hiciste mientras tanto (según tu pregunta actualizada).El paquete
wine
es "sólo" un metapaquete. También puedes instalarwine
con el comandosudo apt-get install wine1.7
Respuesta3
Esto también repararía los enlaces necesarios.
> sudo apt-get install wine --fix-missing