KDE Neon cannot be installed wine winehq-stable

Hi, it’s my first time here and I don’t know if this is really going here but I’ve been trying to install wine stable for several weeks but I can’t because I get the error:

Starting pkgProblemResolver with broken count: 1
Starting 2 pkgProblemResolver with broken count: 1
Investigating (0) winehq-stable:amd64 < none -> 8.0.2~jammy-1 @un puN Ib >
Broken winehq-stable:amd64 Depends on wine-stable:amd64 < none @un H > (= 8.0.2~jammy-1)
  Considering wine-stable:amd64 0 as a solution to winehq-stable:amd64 9999
  Considering wine-stable:i386 0 as a solution to winehq-stable:amd64 9999
Done
Some packages could not be installed. This may mean that
you asked for an impossible situation or, if you are using unstable distribution, that some necessary packages
unstable distribution, that some necessary packages have not yet been created or have been taken from
have been taken out of "Incoming".
The following information may help resolve the situation:

The following packages have unfulfilled dependencies:
 winehq-stable : Depends: wine-stable (= 8.0.2~jammy-1).
E: Could not fix the problems, you have retained broken packages.

I have already installed wine version 6.0.3 from the ubuntu repos through apt but I want to install the stable version which is version 8.

My distro info:

KDE Neon 5.27
KDE plasma: 5.27.10
Release: 22.04
kernel 6.2.0-39
Protocol: Wayland

Have you read all of WinHQ’s page for Ubuntu?

It provides instruction for neon.

Terminal commands:

sudo dpkg --add-architecture i386
sudo mkdir -pm755 /etc/apt/keyrings
sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources
sudo apt update
sudo apt install libpoppler-glib8:{i386,amd64}=22.02.0-2ubuntu0.3 -y
sudo apt install --install-recommends winehq-stable -y
wine winecfg

Test …
wine clock

Test the Internet connection with Internet Explorer
wine iexplore

install wine-mono and Gecko packages, when prompted …

Some programs need the winbind package for the Internet connection.

sorry for the late reply, thank you very much for your answer, it worked for me! surely I missed a step in the libpoppler-glib8 dependency.

Hi,

This will not work anymore with latest KDE Neon (KDE 6) updates…

1 Like

If you already have libpoppler-glib8 installed (it should be), you may need to add --allow-downgrades to the command to install/downgrade it, and its dependencies.

This will not cause KDE deps problems?

EDIT:

sudo apt install libpoppler-glib8:{i386,amd64}=22.02.0-2ubuntu0.3 -y --allow-downgrades
Leyendo lista de paquetes… Hecho
Creando árbol de dependencias… Hecho
Leyendo la información de estado… Hecho
Starting pkgProblemResolver with broken count: 1
Starting 2 pkgProblemResolver with broken count: 1
Investigating (0) libpoppler118:i386 < none → 22.02.0-2ubuntu0.3 @un puN Ib >
Broken libpoppler118:i386 Depende on libopenjp2-7:i386 < none @un pH > (>= 2.0.0)
Considering libopenjp2-7:i386 0 as a solution to libpoppler118:i386 0
Broken libpoppler118:i386 Depende on libtiff5:i386 < none @un pH > (>= 4.0.3)
Considering libtiff5:i386 0 as a solution to libpoppler118:i386 0
Considering libtiff5:i386 0 as a solution to libpoppler118:i386 0
Done
No se pudieron instalar algunos paquetes. Esto puede significar que
usted pidió una situación imposible o, si está usando la distribución
inestable, que algunos paquetes necesarios aún no se han creado o se
han sacado de «Incoming».
La siguiente información puede ayudar a resolver la situación:

Los siguientes paquetes tienen dependencias incumplidas:
libpoppler118:i386 : Depende: libopenjp2-7:i386 (>= 2.0.0) pero no es instalable
Depende: libtiff5:i386 (>= 4.0.3) pero no es instalable
E: No se pudieron corregir los problemas, usted ha retenido paquetes rotos.

I believe this isn’t possible in plasma 6. libpoppler-glib8:i386 was one of the packages responsible for the plasma-desktop-data not being updated.

1 Like

Dunno, I don’t seem to have any issue installing it here.

Both libtiff5:i386 and libopenjp2-7:i386 install just fine :

$ sudo apt install libpoppler-glib8:{i386,amd64}=22.02.0-2ubuntu0.3  --allow-downgradesReading package lists... Done
Building dependency tree... Done
Reading state information... Done
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
The following additional packages will be installed:
  libcairo2:i386 libdeflate0:i386 libjbig0:i386 libjpeg-turbo8:i386 libjpeg8:i386 liblcms2-2:i386
  libnspr4:i386 libnss3:i386 libopenjp2-7:i386 libpixman-1-0:i386 libpoppler118:i386 libsqlite3-0:i386
  libtiff5:i386 libwebp7:i386 libxcb-render0:i386 libxrender1:i386
The following NEW packages will be installed:
  libcairo2:i386 libdeflate0:i386 libjbig0:i386 libjpeg-turbo8:i386 libjpeg8:i386 liblcms2-2:i386
  libnspr4:i386 libnss3:i386 libopenjp2-7:i386 libpixman-1-0:i386 libpoppler-glib8:i386 libpoppler118:i386
  libsqlite3-0:i386 libtiff5:i386 libwebp7:i386 libxcb-render0:i386 libxrender1:i386
The following packages will be DOWNGRADED:
  libpoppler-glib8

And then WinHQ:

$ sudo apt install --install-recommends winehq-stable
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
The following additional packages will be installed:
  gstreamer1.0-plugins-base:i386 libavahi-client3:i386 libavahi-common-data:i386 libavahi-common3:i386
  libcapi20-3 libcapi20-3:i386 libcdparanoia0:i386 libcups2:i386 libcurl3-gnutls:i386 libcurl4:i386
  libdw1:i386 libexif12:i386 libgd3:i386 libgdbm-compat4:i386 libgdbm6:i386 libglu1-mesa:i386
  libgphoto2-6:i386 libgphoto2-port12:i386 libgsm1:i386 libgstreamer-plugins-base1.0-0:i386
  libgstreamer1.0-0:i386 libieee1284-3:i386 libldap-2.5-0:i386 libltdl7:i386 libnghttp2-14:i386 libodbc2:i386
  libopengl0:i386 liborc-0.4-0:i386 libpcap0.8:i386 libpci3:i386 libperl5.34:i386 libpsl5:i386 librtmp1:i386
  libsane1:i386 libsasl2-2:i386 libsasl2-modules:i386 libsasl2-modules-db:i386 libsnmp40:i386 libssh-4:i386
  libtheora0:i386 libunwind8:i386 libusb-1.0-0:i386 libv4l-0:i386 libv4lconvert0:i386 libvisual-0.4-0:i386
  libwrap0:i386 libxcomposite1:i386 libxcursor1:i386 libxi6:i386 libxkbcommon0:i386 libxkbregistry0
  libxkbregistry0:i386 libxpm4:i386 libxrandr2:i386 libxslt1.1:i386 ocl-icd-libopencl1:i386 wine-stable
  wine-stable-amd64 wine-stable-i386:i386
Suggested packages:
  gvfs:i386 libgd-tools:i386 gdbm-l10n:i386 gphoto2:i386 libvisual-0.4-plugins:i386 gstreamer1.0-tools:i386
  odbc-postgresql:i386 tdsodbc:i386 hplip:i386 libsasl2-modules-gssapi-mit:i386
  | libsasl2-modules-gssapi-heimdal:i386 libsasl2-modules-ldap:i386 libsasl2-modules-otp:i386
  libsasl2-modules-sql:i386 opencl-icd:i386
Recommended packages:
  sane-airscan:i386 libosmesa6 libosmesa6:i386 libsdl2-2.0-0:i386
The following NEW packages will be installed:
  gstreamer1.0-plugins-base:i386 libavahi-client3:i386 libavahi-common-data:i386 libavahi-common3:i386
  libcapi20-3 libcapi20-3:i386 libcdparanoia0:i386 libcups2:i386 libcurl3-gnutls:i386 libcurl4:i386
  libdw1:i386 libexif12:i386 libgd3:i386 libgdbm-compat4:i386 libgdbm6:i386 libglu1-mesa:i386
  libgphoto2-6:i386 libgphoto2-port12:i386 libgsm1:i386 libgstreamer-plugins-base1.0-0:i386
  libgstreamer1.0-0:i386 libieee1284-3:i386 libldap-2.5-0:i386 libltdl7:i386 libnghttp2-14:i386 libodbc2:i386
  libopengl0:i386 liborc-0.4-0:i386 libpcap0.8:i386 libpci3:i386 libperl5.34:i386 libpsl5:i386 librtmp1:i386
  libsane1:i386 libsasl2-2:i386 libsasl2-modules:i386 libsasl2-modules-db:i386 libsnmp40:i386 libssh-4:i386
  libtheora0:i386 libunwind8:i386 libusb-1.0-0:i386 libv4l-0:i386 libv4lconvert0:i386 libvisual-0.4-0:i386
  libwrap0:i386 libxcomposite1:i386 libxcursor1:i386 libxi6:i386 libxkbcommon0:i386 libxkbregistry0
  libxkbregistry0:i386 libxpm4:i386 libxrandr2:i386 libxslt1.1:i386 ocl-icd-libopencl1:i386 wine-stable
  wine-stable-amd64 wine-stable-i386:i386 winehq-stable
0 upgraded, 60 newly installed, 0 to remove and 1 not upgraded.
Need to get 225 MB of archives.
After this operation, 1,434 MB of additional disk space will be used.

1 Like

So, how to fix this? Because I use some important apps with Wine for my Work… and I use KDE Neon with every computer I have…

Use the flatpak for wine, which eliminates system package dependencies .

Do you have any other external sources added to your system, such as PPAs? I wonder if these are a factor.

I just tried on a different, mostly stock neon PC, with no issues there, either. My main “gaming” and work PC does have numerous added sources, but usually ones I know don’t cause conflicts.

I believe this isn’t possible in plasma 6. libpoppler-glib8:i386 was one of the packages responsible for the plasma-desktop-data not being updated.

@claydoh: Read reply from @jsalatas.

My question was to Him.

I have no idea. Can’t you just rely on 64 bit? I need to look into it in more detail but wine 64bit is still working for me: I have to use it for my router’s management application which is a windows only application (mikrotik’s winbox).

I actually have no idea why I installed the i386 version of it at first place. My installation goes several years back (I believe when I initially installed KDE Neon it was based on ubuntu 16.04) so at some point I guess I was just experimenting but I can’t recall.

My suggestion still stands.

Wine has regularly been a pain point in neon for many years because of the number and depth of the 32 bit packages that are unrelated to Plasma that the neon team have to try and keep up with building, and do not always seem interesting in keeping up with.

1 Like

How? Reading WineHQ Wiki, I am not sure the way to install wine 64 Bits only.

I honestly have no idea! Sorry :frowning:

Google suggests the following

https://forum.winehq.org/viewtopic.php?p=127668

maybe you should give it a try.

Yeah, but that is using Wine from Ubuntu repository.

I will try flatpak like @claydoh recommended.

Thanks.

1 Like

This worked well for me.

If you installed Steam back when you first installed Neon, Steam depended on the i386 arch. I do not know if that is still the case.

Steam still works. It did some updates on the first run on plasma 6 but there doesn’t seem to be any issue.