Poblemas na Instalação do Wine 4.0

Todos os tutorias possiveis na internet eu achei, aqui tbm no Forum, nenhum resolve o poblema, preciso de ajuda, formatei recente o notebook, com o Linux Mint e não consigo instalar o Wine, sempre resolve com este err.

Os pacotes a seguir têm dependências desencontradas:
** winehq-stable : Depende: wine-stable (= 4.0.2~bionic)**
E: Impossível corrigir problemas, você manteve (hold) pacotes quebrados.

Não cheguei a ler tudo, mas veja se resolve. Parece ser um problema parecido com o seu

Se não me engano, o Wine está disponível na loja de aplicativos do Mint, já tentou baixar por lá? :thinking:

1 Curtida

Aah não, aparece como indisponível :sweat_smile:

1 Curtida

sudo apt install --install-recommends winehq-stable

Espero ter ajudado

Obrigado, mas não resolve

ok…

segue outro link
https://forum.winehq.org/viewtopic.php?f=8&t=30158#p114483

Your problem is the: **--install-recommends** flag to **apt** / **aptitude** .
This will pull in optional dependency packages for all packages, in the hierarchy of package dependencies for the main meta packages.
It appears that one of these ~20 dependency packages is a blocker.

So if you do:

**Code:**

sudo apt-get install winehq-stable

You can get the core Wine Stable package and hard dependencies installed.
You may need to do:

**Code:**

sudo aptitude install -f

first - to check for held/ broken packages.

You may then be able to run these commands, on the 2 main architecture meta packages, e.g.:

**Code:**

sudo aptitude why-not --with-recommends wine-stable-amd64
sudo aptitude why-not --with-recommends wine-stable-i386:i386

The output of these commands will hopefully just be the dependency conflicts that cannot be installed!

Note: the suffix **:i386** which is Debian notation to denote a **32-bit multilib** package (i.e. build for a **64-bit** System).

Or you can manually go through the list of recommended packages - installing them one by one till you get a conflict:

**Code:**

sudo aptitude reinstall --with-recommends wine-stable-amd64
sudo aptitude reinstall --with-recommends wine-stable-i386:i386

As the whole set of optional dependency packages will fail - if only **one** package from the set cannot be installed! ![:cry:](https://forum.winehq.org/images/smilies/icon_cry.gif "Crying or Very sad")

Then you'll know what package is the blocker for installation. You can use:

**Code:**

sudo aptitude why-not <package name>