2

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

1

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?

  1. sudo dpkg --add-architecture i386
  2. wget https://dl.winehq.org/wine-builds/Release.key && sudo apt-key add Release.key
  3. sudo apt update && sudo apt install winehq-stable

See this article for details.

  • 1
    I think you should apt-add-repository command according to the article in omgubuntu website – Vu Anh Feb 21 '18 at 16:04
  • Feel free to post your own answer. – Organic Marble Feb 21 '18 at 16:22
0

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.

  • apt search winehq-stable doesn’t find anything on my Ubuntu 17.10 install. I suppose you have some PPA installed. – Frédéric Grosshans Apr 10 '18 at 21:25
0

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?

Not the answer you're looking for? Browse other questions tagged or ask your own question.