I know this question has at least half a dozen with a similar title, but none of those answers or comments help me. So here we go:
I tried to follow the instructions on the Wine Wiki. When I did
sudo dpkg --add-architecture i386
the command returned to the prompt with no error, so I assumed the architecture was added successfully. I added the repository as instructed, and then I did:
sudo apt update
.
Of course the screen rolled so fast that I didn't look if any mention of i386 was being made. I tried to sudo apt install -install-recommends winehq-stable
and I got the dreaded message that a dependency was not being installed. I tried to sudo apt install
that one, which gave me yet another unmet dependency. I tried to follow the unmet dependencies until I got such a long list that I got tired of typing them all by hand (bonus question: is there a way to do that automatically? Like sending that output to a file and copying and pasting it back to the console?). So I checked the architecture with sudo dpkg --print-architecture
* and big surprise: it returned only amd64, no i386.
At this point I purged the wine-ppa and tried to install wine from the regular ubuntu repositories, thinking I would live with the fact that it may not be the latest. Only it didn't install that either: it gave me the message
wine : Depends: wine64 (>= 5.0-3ubuntu1) but it is not going to be installed or
wine32 (>= 5.0-3ubuntu1)
Depends: wine64 (< 5.0-3ubuntu1.1~) but it is not going to be installed or
wine32 (< 5.0-3ubuntu1.1~)
I thought it funny that the message seems to suggest that wine
depends on both an older and a newer version of the same packages. I thought something could have been left from the ppa I added previously and so I followed these instructions to even delete the lock files of apt
. No change: the message is still there. I got to the point where I don't know how to proceed.
Edit:
I also looked at the dpkg log before and after trying sudo dpkg --add-architecture i386
and there's no change. The try didn't get logged (don't know if it should).
*Yet, if I type sudo dpkg --print-foreign-architectures
it does show i386 (only).