Unable to install wine on KDE neon

Questions about Wine on Linux
Locked
AlekEagle
Newbie
Newbie
Posts: 1
Joined: Thu Nov 24, 2022 9:13 pm

Unable to install wine on KDE neon

Post by AlekEagle »

Hey, I've been struggling with this for a while now, I'm not sure whats causing this, and I've ran into a dead end. I cannot install wine from the WineHQ repository. It's not an issue of libpoppler-glib8, it's instead an issue with libldap, currently, on my system i have libldap-2.5-0, while all of the wine versions rely on libldap-2.4-2, 2.4-2 is not available on my system, and says it's been replaced by libldap-common, but that's also at the newer 2.5 verison, not 2.4. I've tried several solutions, none of them seem to work. Below is the output of the apt command:

Code: Select all

alekeagle@computer:~$ sudo apt install --install-recommends wine-staging
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Starting pkgProblemResolver with broken count: 2
Starting 2 pkgProblemResolver with broken count: 2
Investigating (0) wine-staging-amd64:amd64 < none -> 7.21~focal-1 @un puN Ib >
Broken wine-staging-amd64:amd64 Depends on libldap-2.4-2:amd64 < none @un H > (>= 2.4.7)
Investigating (0) wine-staging-i386:i386 < none -> 7.21~focal-1 @un puN Ib >
Broken wine-staging-i386:i386 Depends on libasound2:i386 < none | 1.2.6.1-1ubuntu1 @un uH > (>= 1.0.16)
  Considering libasound2:i386 0 as a solution to wine-staging-i386:i386 -1
  Re-Instated libasound2:i386
Broken wine-staging-i386:i386 Depends on libgphoto2-6:i386 < none | 2.5.27-1build2 @un uH > (>= 2.5.10)
  Considering libgphoto2-6:i386 0 as a solution to wine-staging-i386:i386 -1
  Re-Instated libgmp10:i386
  Re-Instated libnettle8:i386
  Re-Instated libhogweed6:i386
  Re-Instated libp11-kit0:i386
  Re-Instated libtasn1-6:i386
  Re-Instated libgnutls30:i386
  Re-Instated libdb5.3:i386
  Re-Instated libsasl2-modules-db:i386
  Re-Instated libsasl2-2:i386
  Re-Instated libldap-2.5-0:i386
  Re-Instated libnghttp2-14:i386
  Re-Instated libpsl5:i386
  Re-Instated librtmp1:i386
  Re-Instated libssh-4:i386
  Re-Instated libcurl4:i386
  Re-Instated libexif12:i386
  Re-Instated libxpm4:i386
  Re-Instated libgd3:i386
  Re-Instated libltdl7:i386
  Re-Instated libudev1:i386
  Re-Instated libusb-1.0-0:i386
  Re-Instated libgphoto2-port12:i386
  Re-Instated libicu70:i386
  Re-Instated libxml2:i386
  Re-Instated libgphoto2-6:i386
Broken wine-staging-i386:i386 Depends on libgstreamer-plugins-base1.0-0:i386 < none | 1.20.1-1 @un uH > (>= 1.0.0)
  Considering libgstreamer-plugins-base1.0-0:i386 0 as a solution to wine-staging-i386:i386 -1
  Re-Instated libcap2:i386
  Re-Instated libbz2-1.0:i386
  Re-Instated libelf1:i386
  Re-Instated libdw1:i386
  Re-Instated libunwind8:i386
  Re-Instated libgstreamer1.0-0:i386
  Re-Instated liborc-0.4-0:i386
  Re-Instated libgstreamer-plugins-base1.0-0:i386
Broken wine-staging-i386:i386 Depends on libldap-2.4-2:i386 < none @un H > (>= 2.4.7)
Broken wine-staging-i386:i386 Depends on libpcap0.8:i386 < none | 1.10.1-4build1 @un uH > (>= 1.5.1)
  Considering libpcap0.8:i386 0 as a solution to wine-staging-i386:i386 -1
  Re-Instated libgpg-error0:i386
  Re-Instated libgcrypt20:i386
  Re-Instated liblz4-1:i386
  Re-Instated libsystemd0:i386
  Re-Instated libdbus-1-3:i386
  Re-Instated libpcap0.8:i386
Broken wine-staging-i386:i386 Depends on libpulse0:i386 < none | 1:15.99.1+dfsg1-1ubuntu2 @un uH > (>= 0.99.1)
  Considering libpulse0:i386 0 as a solution to wine-staging-i386:i386 -1
  Re-Instated libapparmor1:i386
  Re-Instated libasyncns0:i386
  Re-Instated libogg0:i386
  Re-Instated libflac8:i386
  Re-Instated libopus0:i386
  Re-Instated libvorbis0a:i386
  Re-Instated libvorbisenc2:i386
  Re-Instated libsndfile1:i386
  Re-Instated libx11-xcb1:i386
  Re-Instated libpulse0:i386
Broken wine-staging-i386:i386 Depends on libsane:i386 < none | 1.1.1-5 @un uH > (>= 1.0.24)
  Considering libsane:i386 0 as a solution to wine-staging-i386:i386 -1
  Re-Instated libavahi-common-data:i386
  Re-Instated libavahi-common3:i386
  Re-Instated libavahi-client3:i386
  Re-Instated libcurl3-gnutls:i386
  Re-Instated libieee1284-3:i386
    Reinst Failed because of libpoppler-glib8:i386
    Reinst Failed because of libsane1:i386
  Considering libsane1:i386 0 as a solution to wine-staging-i386:i386 -1
Broken wine-staging-i386:i386 Depends on ocl-icd-libopencl1:i386 < none | 2.2.14-3 @un uH >
  Considering ocl-icd-libopencl1:i386 1 as a solution to wine-staging-i386:i386 -1
  Re-Instated ocl-icd-libopencl1:i386
Broken wine-staging-i386:i386 Depends on libasound2-plugins:i386 < none | 1.2.6-1 @un uH >
  Considering libasound2-plugins:i386 1 as a solution to wine-staging-i386:i386 -1
  Re-Instated libsamplerate0:i386
  Re-Instated libjack-jackd2-0:i386
  Re-Instated libasound2-plugins:i386
Broken wine-staging-i386:i386 Depends on libncurses6:i386 < none | 6.3-2 @un uH >
  Considering libncurses6:i386 1 as a solution to wine-staging-i386:i386 -1
  Re-Instated libtinfo6:i386
  Re-Instated libncurses6:i386
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-staging-amd64 : Depends: libldap-2.4-2 (>= 2.4.7) but it is not installable
                      Recommends: libodbc1 but it is not going to be installed
                      Recommends: libosmesa6 but it is not going to be installed
                      Recommends: libsdl2-2.0-0 but it is not going to be installed
 wine-staging-i386:i386 : Depends: libldap-2.4-2:i386 (>= 2.4.7) but it is not installable
                          Depends: libsane:i386 (>= 1.0.24)
                          Recommends: libcups2:i386 but it is not going to be installed
                          Recommends: libglu1-mesa:i386 but it is not going to be installed or
                                      libglu1:i386
                          Recommends: libgtk-3-0:i386 but it is not going to be installed
                          Recommends: libodbc1:i386 but it is not going to be installed
                          Recommends: libosmesa6:i386 but it is not going to be installed
                          Recommends: libsdl2-2.0-0:i386 but it is not going to be installed
                          Recommends: libv4l-0:i386 but it is not going to be installed
                          Recommends: libva-drm2:i386 but it is not going to be installed or
                                      libva-drm1:i386 but it is not installable
                          Recommends: libva-x11-2:i386 but it is not going to be installed or
                                      libva-x11-1:i386 but it is not installable
                          Recommends: libva2:i386 but it is not going to be installed or
                                      libva1:i386 but it is not installable
                          Recommends: libxcomposite1:i386 but it is not going to be installed
                          Recommends: libxcursor1:i386 but it is not going to be installed
                          Recommends: libxfixes3:i386 but it is not going to be installed
                          Recommends: libxi6:i386 but it is not going to be installed
                          Recommends: libxinerama1:i386 but it is not going to be installed
                          Recommends: libxrandr2:i386 but it is not going to be installed
                          Recommends: libxxf86vm1:i386 but it is not going to be installed
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: Unable to install wine on KDE neon

Post by jkfloris »

Which version of KDE Neon do you use?

Code: Select all

cat /etc/os-release
The output shows that you are using Focal, which have a dependency on version 2.4. Later Ubuntu versions have 2.5 as a dependency. I think you added the wrong repository.
Locked