im trying to install wine so i can play fortnight but when i do sudo apt-get install --install-recommends wine-staging i get an error that says wine-staging: depends: wine-staging-amd64 (=2.21.0~trusty) but is not going to be installed depends: wine-staging-i386 (=2.21.0~trusty) E: unable to correct problems
These commands worked for me on a clean 17.10 install.
Based on your error, did you perhaps forget to do the
sudo dpkg --add-architecture i386?
sudo dpkg --add-architecture i386
wget https://dl.winehq.org/wine-builds/Release.key && sudo apt-key add Release.key
sudo apt update && sudo apt install winehq-stable
See this article for details.
I had to install the following dependencies for Wine to work on Ubuntu 17.10:
sudo apt install libgd3:i386 sudo apt install libgphoto2-6:i386 sudo apt install wine-stable sudo apt install winehq-stable
Because my computer is 64-bit it didn't have the 32 bit/ i386 packages installed.
Try these commands:
sudo dpkg --add-architecture i386 sudo apt-add-repository 'https://dl.winehq.org/wine-builds/ubuntu/' wget https://dl.winehq.org/wine-builds/Release.key && sudo apt-key add Release.key sudo apt update && sudo apt install winehq-stable
protected by Community♦ Mar 13 '18 at 11:17
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?