Everything was totally error free until I did this.

Questions about Wine on Linux
Post Reply
harrellsm
Level 1
Level 1
Posts: 5
Joined: Mon Jan 15, 2024 7:07 pm

Everything was totally error free until I did this.

Post by harrellsm »

I read the instructions and I even started with a new Ubuntu 22.04 lts install. Everything was totally error free until
I did this. Should I install wine-stable first? Because I read this
"Before you install Wine, make sure that there is no previous Wine installation on your system,
either from a package or from source." But as you can see from below
"winehq-stable : Depends: wine-stable (= 9.0.0.0~jammy-1)" TIA, I'm new to Linux so I don't want to start
issuing terminal commands willy-nilly if I don't have to.

Sean

sudo apt install --install-recommends winehq-stable
Reading package lists... Done
Building dependency tree... Done
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:
winehq-stable : Depends: wine-stable (= 9.0.0.0~jammy-1)
E: Unable to correct problems, you have held broken packages.
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: Everything was totally error free until I did this.

Post by jkfloris »

Wine from WineHQ has four packages. Often the 32-bit package gives problems.
Is it possible to install the wine-stable-i386 package?

Code: Select all

sudo apt install --install-recommends wine-stable-i386:i386
If so, try installing winehq-stable again

Code: Select all

sudo apt install --install-recommends winehq-stable
If not, what is the output?
IMYdev
Newbie
Newbie
Posts: 1
Joined: Sun Apr 07, 2024 4:56 am

Re: Everything was totally error free until I did this.

Post by IMYdev »

jkfloris wrote: Sat Jan 20, 2024 7:21 am Wine from WineHQ has four packages. Often the 32-bit package gives problems.
Is it possible to install the wine-stable-i386 package?

Code: Select all

sudo apt install --install-recommends wine-stable-i386:i386
If so, try installing winehq-stable again

Code: Select all

sudo apt install --install-recommends winehq-stable
If not, what is the output?
I had the same exact issue

and I tried this:

Code: Select all

sudo apt install --install-recommends wine-stable-i386:i386
but this is the output:

Code: Select all

imydev@imydev-machine:~$ sudo apt install --install-recommends wine-stable-i386:i386
Reading package lists... Done
Building dependency tree... Done
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:
 apt : Depends: libapt-pkg6.0 (>= 2.4.11) but it is not going to be installed
 gnome-user-docs : Depends: ubuntu-docs but it is not going to be installed or
                            zorin-os-docs but it is not going to be installed
                   Depends: yelp but it is not going to be installed
 init : PreDepends: systemd-sysv
 shim-signed : Depends: grub-efi-amd64-signed (>= 1.187.2~) but it is not going to be installed or
                        grub-efi-arm64-signed (>= 1.187.2~) but it is not installable
               Depends: grub2-common (>= 2.04-1ubuntu24)
 util-linux : PreDepends: libudev1 (>= 183) but it is not installable
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

KenSharp
Level 4
Level 4
Posts: 120
Joined: Mon Jul 13, 2009 8:52 pm

Re: Everything was totally error free until I did this.

Post by KenSharp »

Purge all the wine* packages and reinstall. There's probably something left over from a distro package. Don't worry: it won't affect your WINEPREFIXES.
Post Reply