LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   You have held broken packages. (https://www.linuxquestions.org/questions/linux-newbie-8/you-have-held-broken-packages-4175550060/)

Seff 08-06-2015 12:45 PM

You have held broken packages.
 
Could someone please enlighten me? I just tried installing Wine and got the following message:

Code:

The follwing 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.

After trying to install some dependencies:

Code:

Package wine1.6-386 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or is only available from another source.

Code:

E: Package wine1.6-i386 has no installation candidate

rokytnji 08-06-2015 01:20 PM

Not enough info yet. Need the whole error message.

http://www.linuxquestions.org/linux/...Ask_a_Question

Timothy Miller 08-06-2015 01:25 PM

I'm GUESSING you're probably running Debian, either testing or sid? (I guess this because my one laptop I forgot to install wine previously and is in the exact same state right now).

Seff 08-06-2015 01:35 PM

No, I'm using Ubuntu 14.04. I also can't copy and paste from the terminal, even when I hold down Shift and Control.

rokytnji 08-06-2015 03:15 PM

Left click and drag mouse over finger over highlighted text. Right click and select copy. Then paste here.

edit: If rxvt terminal.

Left click and highlight text. Come here. If mouse. Middle click to paste. If 2 button touchpad.
hit left and right click at the same time to paste.

Timothy Miller 08-06-2015 03:20 PM

Well, actually the same thing as with Debian even though it's Ubuntu from what the looks of it are. They're in the transition from 1.6 to 1.7, so the meta-package "wine" is looking for 1.6, but it's gone.

There are several things you can try, but here's the EASY 2. You can try to install wine1.7 instead to see if that package is fully ready, or not yet (if they're going with the same time frame as Debian, the answer is not yet). Or, you can simply wait until the transition is done and the meta-package wine is working again with wine 1.7. I'm going the second route on my system, as it's not vital to have wine (as long as I have a system that DOES have it).

Seff 08-06-2015 03:22 PM

All right; so now I have some questions. For instance, what does "package X has no installation candidate" mean? And, Timothy, do dreadful things happen to anyone who installs an older version of Wine?

Timothy Miller 08-06-2015 04:08 PM

Quote:

Originally Posted by Seff (Post 5402037)
All right; so now I have some questions. For instance, what does "package X has no installation candidate" mean? And, Timothy, do dreadful things happen to anyone who installs an older version of Wine?

No installation candidate means that the package is referred to still, but it doesn't actually exist. Usually only happens during transition from a major version to a major version (1.7 is a GIGANTIC upgrade over 1.6 from everything I've read, not sure which version I'm actually running however since I only use it for simplistic tasks of running my CompTIA vendor practice exams)

It's not so much that you're trying to install older software, it's that you're timing for trying to install sucks. Had you installed wine on the system 3 months ago (probably even a month ago), you'd have 1.6 and have no issues, as it would just continue running as 1.6 until all the packages were ready to upgraded to 1.7, at which time when you did a dist-upgrade it would upgrade to 1.7. Right now this is EXTREMELY abundant in Debian testing/sid, as the release of Jessie was just a few months ago, so all the major upgrades are now finally allowed to be committed. However, this is also to be EXPECTED with Debian, as they have never, nor do I doubt will they ever, do all the upgrades simultaneously like some rolling distros do, they do it as they get done packaging/testing the individual parts, which may break things. As to Ubuntu, I'm guessing with it being LTS, that they will run into the same things when it's unavoidable, however honestly I'm surprised they would allow their release have a broken wine, rather than waiting and upgrading everything all once.

Seff 08-06-2015 04:14 PM

Sounds like I'll have to wait a while. In the meantime, guess I'll look into running specific programs in Wine...

Fred Caro 08-06-2015 08:19 PM

Which progams now work in wine?

when a candidate is not available, like "Package wine1.6-386" it usually means another one is.
Perhaps try winehq for similar messages?

Fred.

Seff 08-09-2015 06:57 AM

No programs work in Wine, Fred, because it isn't properly installed.

sgosnell 08-09-2015 08:11 AM

To copy and paste in a terminal, use Shift-Ctrl-C and Shift-Ctrl-V. You can highlight text to copy with standard mouse procedure. Highlight, Shift-Ctrl-C, then Shift-Ctrl-V, and the highlighted text is entered at the cursor. Do not go beyond the last character on a line, or the newline character will be entered and interpreted as the Enter key.

ondoho 08-09-2015 02:46 PM

btw, you have to fix your broken packages manually.
i always do it through synaptic, but it is also possible with apt-get.
check
Code:

man apt-get

frankbell 08-09-2015 09:09 PM

Try

Code:

sudo apt-get --fix-broken
followed by

Code:

sudo apt-get clean

Seff 08-13-2015 01:34 PM

Code:

E: Command line option --fix-broken is not understood


All times are GMT -5. The time now is 12:29 AM.