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?
Cannot Install Wine
-
- Newbie
- Posts: 3
- Joined: Sun Jun 29, 2008 6:53 am
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
http://www.winehq.org/site/download-deb
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:
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
) 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:
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.
The clue here is the word "held" in:
Hmm ... it would be nice if you could copy/paste the exact message you get 'cos I haven't seen it before.Can not install 'wine' (E:Unable to correct problems, you have held broken packages.)
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

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 '
-
- Newbie
- Posts: 3
- Joined: Sun Jun 29, 2008 6:53 am
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
| 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
OK. The output
That makes the error message

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.
shows no packages at all. Therefore all your packages are correctly installed. Which is good.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
+++-==========================================-=============================-============================================

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

You have got the line: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?
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.Now you can install Wine by clicking this link. Alternatively, you can install by going to Applications->Add/Remove and searching for Wine.
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.
Wine with Ubuntu ?
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!
Check the Ubuntu forums, try are Great!