Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am a pretty novice user and have just recently installed Ubuntu 12.10 on my six year-old laptop as a dual boot with Windows. I installed with the simple Windows Installer and haven't done any major adjustments to Ubuntu other than to install the beta of Google Music Uploader for Ubuntu.

I just recently tried to use get Wine so I can run EAC (Exact Audio Copy). However, whenever I run the command in the terminal to get Wine 1.5, I errors.

For example, if I out in this command: "sudo apt-get install wine"

I get this:

"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.5 but it is not going to be installed
E: Unable to correct problems, you have held broken packages."

When I input this "sudo apt-get install wine1.5" I get this:

"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:
 wine1.5 : Depends: wine1.5-i386 (= 1.5.25-0ubuntu1) but it is not installable
           Recommends: gnome-exe-thumbnailer but it is not going to be installed or
                       kde-runtime but it is not going to be installed
           Recommends: fonts-droid but it is not going to be installed
           Recommends: ttf-mscorefonts-installer but it is not going to be installed
           Recommends: fonts-horai-umefont but it is not going to be installed
           Recommends: fonts-unfonts-core but it is not going to be installed
           Recommends: winbind but it is not going to be installed
           Recommends: winetricks but it is not going to be installed
E: Unable to correct problems, you have held broken packages."

Before this I tried the same with Wine1.4. Same error messages.

Any ideas? I'm pretty new to Ubuntu and the open-source world, so any help would be greatly appreciated. Thanks.

share|improve this question

marked as duplicate by Uri Herrera, Seth, vasa1, Raja, Jorge Castro Mar 2 '13 at 16:51

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2 Answers 2

First check your repositories and give us if possible. If everything was ok then sudo apt-get update may fix this. Else try to install it from ppa:

sudo apt-add-repository ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get install wine
share|improve this answer
    
Dumb question: how do I check the repositories? As said, I am a novice to this. –  user136862 Mar 2 '13 at 4:33
    
Go to system settings > Software sources > Other software. Some ppa can cause trouble. make sure that every thing is standard. –  Mostafa Shahverdy Mar 2 '13 at 4:36
    
There are 4 things: Added by software-center; credentials stored in /etc/apt/auth.conf dl.google.com/linux/musicmanager/deb ppa.launchpad.net/ubuntu-wine/ppa/ubuntu ppa.launchpad.net/ubuntu-wine/ppa/ubuntu Obviously one of those is the Google Music Manager. –  user136862 Mar 2 '13 at 4:53
    
Try to remove them (wine ppa) first, then sudo apt-get update and sudo apt-get install wine if it was done then bingo! else re add them using commands above, and try to install again. Hope it works ... –  Mostafa Shahverdy Mar 2 '13 at 5:05
1  
I'll have to try synaptic tomorrow. It's midnight where I am and I must sleep. Thanks! I'll try it later and will report back –  user136862 Mar 2 '13 at 5:29

Try following the instructions here.   They are pretty easy to follow.

Hope this helps!

share|improve this answer
    
Just tried this. Still getting the "package dependencies cannot be resolved" with those instructions. –  user136862 Mar 2 '13 at 4:48
    
@user136862 I have had a similar problem before. Have you tried installing it via synaptic? –  Stephen Mar 2 '13 at 5:14
    
Nope. Totally ignorant as to Synaptic. I'm pretty new to Ubuntu. How would I go about trying that? –  user136862 Mar 2 '13 at 5:16
    
@user136862 press alt+F2, type in synaptic, press enter. Then after synaptic starts type wine into the search bar. Then click on the check-mark box next to what want to install. A menu should come up, then click on mark for installation. Then click on the the big Apply button somewhere on the top. –  Stephen Mar 2 '13 at 5:21
    
Try sudo apt-get update; sudo apt-get dist-upgrade; sudo apt-get install wine If this does not fix the problem then follow the instructions in this Package Manager Troubleshooting Procedure and we will try to help you on the Launchpad Ubuntu Answers Forum –  Warren Hill Mar 2 '13 at 11:00

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