Author Topic: [Solved] Unable to install wine  (Read 3172 times)

Jurgen

  • Newbie
  • *
  • Posts: 4
    • View Profile
[Solved] Unable to install wine
« on: September 05, 2016, 06:07:38 PM »
I'm running "WattOS R10 64bit" and I'm unable to install wine.

If I try to install it via "Synaptic" all I get is:
Code: [Select]
Could not apply changes! Fix broken packages first.
If I try to install it via terminal this is what I get:

Code: [Select]
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:
 wine : Depends: wine1.6 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Tried to install it by adding the PPA (sudo add-apt-repository ppa:ubuntu-wine/ppa). Still the same:
Code: [Select]
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:
 wine : Depends: wine1.6 but it is not going to be installed or
                 wine1.8 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


Did some search and there was something to enable multiarch (or something like that). I believe I did that but still the same.

Is my system broken? Should I do a reinstall?
« Last Edit: September 05, 2016, 08:48:26 PM by Jurgen »

Dan

  • Sr. Member
  • ****
  • Posts: 192
    • View Profile
Re: Unable to install wine
« Reply #1 on: September 05, 2016, 06:33:59 PM »
Hi Jurgen!

I'm on my phone, so I can't check if 32bit is already enabled on the 64bit system.

First, let's assume it's not.

Just in case something was missed, open your terminal and enter the following...

sudo dpkg --add-architecture i386

Hit Enter on your keyboard...

Nothing will happen.

Now enter...

sudo apt-get update

After that finishes, try installing Wine again.

I'll try to check back in a few hours (sorry) if no one else has chimed in.

If you've already done both steps above, we'll go from there.

Jurgen

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Unable to install wine
« Reply #2 on: September 05, 2016, 06:43:26 PM »
Thanks Dan

Still the same problem:

Code: [Select]
jurgen@jurgenlive:~$ sudo dpkg --add-architecture i386
[sudo] password for jurgen:
jurgen@jurgenlive:~$ sudo apt-get update
Hit:1 http://mirror.amsiohosting.net/archive.ubuntu.com xenial InRelease
Hit:2 http://archive.canonical.com/ubuntu xenial InRelease                     
Hit:3 http://ppa.launchpad.net/gnumdk/lollypop/ubuntu xenial InRelease         
Hit:4 http://mirror.amsiohosting.net/archive.ubuntu.com xenial-security InRelease
Reading package lists... Done                     
jurgen@jurgenlive:~$ sudo apt-get install wine
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:
 wine : Depends: wine1.6 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
jurgen@jurgenlive:~$ clear

jurgen@jurgenlive:~$ sudo dpkg --add-architecture i386
jurgen@jurgenlive:~$ one
The program 'one' is currently not installed. You can install it by typing:
sudo apt install opennebula
jurgen@jurgenlive:~$ sudo dpkg --add-architecture i386
jurgen@jurgenlive:~$ sudo apt-get update
Hit:1 http://mirror.amsiohosting.net/archive.ubuntu.com xenial InRelease       
Hit:2 http://archive.canonical.com/ubuntu xenial InRelease                     
Hit:3 http://ppa.launchpad.net/gnumdk/lollypop/ubuntu xenial InRelease 
Hit:4 http://mirror.amsiohosting.net/archive.ubuntu.com xenial-security InRelease
Reading package lists... Done                     
jurgen@jurgenlive:~$ sudo apt-get install wine
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:
 wine : Depends: wine1.6 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
jurgen@jurgenlive:~$ clear

jurgen@jurgenlive:~$ sudo dpkg --add-architecture i386
jurgen@jurgenlive:~$ sudo apt-get update
Hit:1 http://mirror.amsiohosting.net/archive.ubuntu.com xenial InRelease
Hit:2 http://archive.canonical.com/ubuntu xenial InRelease
Hit:3 http://ppa.launchpad.net/gnumdk/lollypop/ubuntu xenial InRelease
Hit:4 http://mirror.amsiohosting.net/archive.ubuntu.com xenial-security InRelease
Reading package lists... Done                     
jurgen@jurgenlive:~$ sudo apt-get install wine
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:
 wine : Depends: wine1.6 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
jurgen@jurgenlive:~$

Jurgen

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Unable to install wine
« Reply #3 on: September 05, 2016, 08:46:42 PM »
After hours of searching I finally managed to fix it.

All I had to do was go to: "Software & Updates" > "Updates tab" and check "Recommended Updates (Xenial-Updates)".


Probably I unchecked it by mistake, have no idea.


Anyway thnx Dan :)

Dan

  • Sr. Member
  • ****
  • Posts: 192
    • View Profile
Re: [Solved] Unable to install wine
« Reply #4 on: September 05, 2016, 09:06:24 PM »
LOL! I was just signing in to give you that information!

I tried to install wine before enabling that, and I got the same message.

I had enabled it on my 32bit system and had no problem with wine, so I suspected that might be the solution.

Thanks for your patience; I only wish it could have been solved earlier for you.