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

3 Answers 3

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.

2
  • 1
    I think you should apt-add-repository command according to the article in omgubuntu website
    – Vu Anh
    Feb 21, 2018 at 16:04
  • Feel free to post your own answer. Feb 21, 2018 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.

1
  • apt search winehq-stable doesn’t find anything on my Ubuntu 17.10 install. I suppose you have some PPA installed. Apr 10, 2018 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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .