Cannot Install Wine

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
SixxBehemoth
Newbie
Newbie
Posts: 3
Joined: Sun Jun 29, 2008 6:53 am

Cannot Install Wine

Post by SixxBehemoth »

Can not install 'wine' (E:Unable to correct problems, you have held broken packages.)

Thats the error that appears when i try to click on the link after taking the previous steps
So what do i do to fix this problem?
Forester
Level 2
Level 2
Posts: 35
Joined: Sun Jun 22, 2008 2:39 pm

Post by Forester »

What distribution are you using ?

What package manager are you using ?
SixxBehemoth
Newbie
Newbie
Posts: 3
Joined: Sun Jun 29, 2008 6:53 am

Post by SixxBehemoth »

Im using the Synaptic Package manager that came with ubuntu and as far as distribution goes im following the instructions for Ubuntu users at this link at this website
http://www.winehq.org/site/download-deb
Forester
Level 2
Level 2
Posts: 35
Joined: Sun Jun 22, 2008 2:39 pm

Post by Forester »

Ok. You are using Ubuntu so I might be able to help since I do too. I tend to use adept, but it should not be that different from synaptic.

The clue here is the word "held" in:
Can not install 'wine' (E:Unable to correct problems, you have held broken packages.)
Hmm ... it would be nice if you could copy/paste the exact message you get 'cos I haven't seen it before.

What it suggests is that Wine will not install because a package on which it depends cannot be upgraded because it is marked as 'on hold'. Perhaps you clicked the wrong button sometime in the past without realising it (I do that all the time :lol: ) or perhaps you had problems installing some unusual application in the past.

The first thing to do is to try to find out which packages(s) are held. In a console type the following:

Code: Select all

dpkg -l | grep -v '^ii '
This will list all the packages that are not in the normal 'Install Installed' state. If the list is not very long, paste it back into your reply and we'll where we go from there.
SixxBehemoth
Newbie
Newbie
Posts: 3
Joined: Sun Jun 29, 2008 6:53 am

Post by SixxBehemoth »

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-f/Unpacked/Failed-cfg/Half-inst/t-aWait/T-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==========================================-=============================-============================================

Is what i get when i type in what code you tell me to type in
Forester
Level 2
Level 2
Posts: 35
Joined: Sun Jun 22, 2008 2:39 pm

Post by Forester »

OK. The output
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-f/Unpacked/Failed-cfg/Half-inst/t-aWait/T-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==========================================-=============================-============================================
shows no packages at all. Therefore all your packages are correctly installed. Which is good. :) That makes the error message
Can not install 'wine' (E:Unable to correct problems, you have held broken packages.)
all the more puzzling. :(
Thats the error that appears when i try to click on the link after taking the previous steps
So what do i do to fix this problem?
You have got the line:
Now you can install Wine by clicking this link. Alternatively, you can install by going to Applications->Add/Remove and searching for Wine.
Clicking the link makes assumptions about what program you are using to browse the web. I use Firefox and clicking on that link does absolutely nothing.

Pasting apt://wine (the target of the link) into Firefox also does nothing but when I paste it into Konqueror, I get asked if I want to install Wine. However, that is under Kubuntu, not plain Ubuntu, where your default browser may be set to nautilus or galeon (I don't know plain Ubuntu very well).

I think (guessing) the package that makes the clicking work for Konqueror is kio-apt. Whether you need a package for your browser and what it might be called I can't say. So go for plan B. The instructions say you can go to Applications->Add/Remove and search for wine. If there is no such menu entry (there isn't under Xubuntu), just use synaptic. Open synaptic, search for wine and take it from there.
User avatar
sugar2k
Newbie
Newbie
Posts: 1
Joined: Tue Jul 08, 2008 7:51 pm

Wine with Ubuntu ?

Post by sugar2k »

If you using Ubuntu (8.04?), try using your package manager to install Wine. It runs fine with Kubuntu 8.04 and OpenSUSE 11.

Check the Ubuntu forums, try are Great!
Locked