On 2020-04-23 at 13:11, Dale Harris wrote:

> Hi,
> 
> I have a system where I have tried to install wine32 and the newer
> wine5 version, It can't resolve dependencies, like so:
> 
> # apt install --install-recommends wine-stable
> 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-stable : Depends: wine-stable-i386 (= 5.0.0~buster)
> E: Unable to correct problems, you have held broken packages.

What is your sources.list like?

I track Debian testing+stable (main + contrib + non-free), and I get:

========
$ apt-get --dry-run install wine-stable
NOTE: This is only a simulation!
      apt-get needs root privileges for real execution.
      Keep also in mind that locking is deactivated,
      so don't depend on the relevance to the real current situation!
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package wine-stable 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
However the following packages replace it:
  wine-development wine

E: Package 'wine-stable' has no installation candidate
========

I also already have wine installed, via the wine-development package. If
I wanted to install the stable version of wine, I'd just install the
package named 'wine', which would pull in wine32 and wine64 as needed.

If I search the package repository for 'wine-stable', the only things I
find are a hint that this may be a package name that's available in
Ubuntu. I haven't dug any deeper than that as of yet.

> If I try to follow this down the chain of all the dependencies the
> aren't installing and attempt to install that individually, I get to
> a point where the system will try to uninstall a bunch of packages,
> most notably apt, which is kind of annoying.

Generally, before you get to that point, it's wise to start doing
'apt-cache policy' on some of the package names you're specifying and
see what versions they're available at. This type of error is frequently
caused by available-version mismatches between different packages which
have versioned dependencies towards one another.

> So does anyone have any suggestions how I fix this?   The maddening
> thing is I have another system, almost identical, that all this
> installed fine on!  So I'm a little bit at wit's end presently.

Assuming you're running Debian and not Ubuntu, I'd suggest trying to
install the 'wine' package instead.

If you're running Ubuntu, you may need to ask in their forums instead.

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man.         -- George Bernard Shaw

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to