Unable to install wine

Questions about Wine on Linux
Locked
GottaSlay
Newbie
Newbie
Posts: 2
Joined: Wed Oct 31, 2018 7:30 am

Unable to install wine

Post by GottaSlay »

Running

Code: Select all

sudo apt-get install --install-recommends winehq-stable
Results to this

Code: Select all

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:
 winehq-stable : Depends: wine-stable (= 3.0.3~bionic)
E: Unable to correct problems, you have held broken packages.
I'm using Ubuntu 18.04.1
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Unable to install wine

Post by jkfloris »

There are several forum topics about this issue. Probably there is a version mismatch between a amd64 and i386 package.
You can find the unmet dependency by checking the dependencies by hand:

Code: Select all

sudo apt-get install wine-stable
...
The following packages have unmet dependencies:
 wine-stable : Depends: wine-stable-amd64
    wine-stable-i386
...
sudo apt-get install wine-stable-amd64
sudo apt-get install wine-stable-i386
<and so on>
Locked