unable to install win in debian

Questions about Wine on Linux
Locked
php143
Newbie
Newbie
Posts: 1
Joined: Sun Dec 15, 2019 2:43 am

unable to install win in debian

Post by php143 »

Code: Select all

sudo apt install --install-recommends winehq-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:
 dbus-x11 : Depends: dbus
 dconf-gsettings-backend : Depends: dconf-service (>= 0.34.0-1)
                           Depends: dconf-service (< 0.34.0-1.1~)
                           Depends: libdconf1 (= 0.34.0-1) but it is not going to be installed
 gnome-icon-theme : Depends: gtk-update-icon-cache
                    Depends: librsvg2-common but it is not going to be installed
 libcairo2 : Depends: libxcb-render0 but it is not going to be installed
             Depends: libxrender1 but it is not going to be installed
 libcanberra-gtk3-0 : Depends: libatk1.0-0 (>= 1.12.4) but it is not going to be installed
                      Depends: libcairo-gobject2 (>= 1.10.0) but it is not going to be installed
                      Recommends: libcanberra-gtk3-module but it is not going to be installed
 libcanberra0 : Depends: libvorbisfile3 (>= 1.1.2) but it is not going to be installed
 libcups2 : Depends: libgssapi-krb5-2 (>= 1.17) but it is not going to be installed
 libegl1-mesa : Depends: libegl1 but it is not going to be installed
 libgdk-pixbuf2.0-0 : Depends: libjpeg62-turbo (>= 1.3.1) but it is not going to be installed
                      Depends: libtiff5 (>= 4.0.3) but it is not going to be installed
                      Depends: shared-mime-info
                      Recommends: libgdk-pixbuf2.0-bin but it is not going to be installed
 libgl1-mesa-glx : Depends: libgl1
                   Depends: libglx-mesa0 but it is not going to be installed
 libgtk-3-0 : Depends: adwaita-icon-theme but it is not going to be installed
              Depends: shared-mime-info
              Depends: libatk-bridge2.0-0 (>= 2.5.3) but it is not going to be installed
              Depends: libatk1.0-0 (>= 2.15.1) but it is not going to be installed
              Depends: libcairo-gobject2 (>= 1.10.0) but it is not going to be installed
              Depends: libfribidi0 (>= 0.19.7) but it is not going to be installed
              Depends: libharfbuzz0b (>= 1.2.6) but it is not going to be installed
              Depends: libpangoft2-1.0-0 (>= 1.41.0) but it is not going to be installed
              Depends: librest-0.7-0 (>= 0.7) but it is not going to be installed
              Depends: libwayland-cursor0 (>= 1.9.91) but it is not going to be installed
              Depends: libxcursor1 (> 1.1.2) but it is not going to be installed
              Depends: libxdamage1 (>= 1:1.1) but it is not going to be installed
              Depends: libxfixes3 but it is not going to be installed
              Depends: libxinerama1 but it is not going to be installed
              Depends: libxrandr2 (>= 2:1.5.0) but it is not going to be installed
              Depends: libgtk-3-common (>= 3.24.12-1) but it is not going to be installed
              Recommends: libgtk-3-bin
 libnss3 : Depends: libsqlite3-0 (>= 3.5.9) but it is not going to be installed
 libpam-systemd : Depends: dbus
 libpango-1.0-0 : Depends: fontconfig (>= 2.1.91)
                  Depends: libfribidi0 (>= 1.0.0) but it is not going to be installed
                  Depends: libthai0 (>= 0.1.25) but it is not going to be installed
 libpangocairo-1.0-0 : Depends: libpangoft2-1.0-0 (>= 1.28.1) but it is not going to be installed
 librsvg2-2 : Depends: libcroco3 (>= 0.6.2) but it is not going to be installed
              Depends: libpangoft2-1.0-0 (>= 1.38.0) but it is not going to be installed
              Recommends: librsvg2-common but it is not going to be installed
 libsoup2.4-1 : Depends: libbrotli1 (>= 0.6.0) but it is not going to be installed
                Depends: libgssapi-krb5-2 (>= 1.17) but it is not going to be installed
                Depends: libpsl5 (>= 0.16.0) but it is not going to be installed
                Depends: libsqlite3-0 (>= 3.5.9) but it is not going to be installed
                Depends: glib-networking (>= 2.32.0) but it is not going to be installed
 libxklavier16 : Depends: libxkbfile1 but it is not going to be installed
                 Depends: x11-xkb-utils but it is not going to be installed
 libxml2 : Depends: libicu64 (>= 64.1~) but it is not going to be installed
 pulseaudio : Depends: libasound2-plugins but it is not going to be installed
              Recommends: rtkit but it is not going to be installed
              Recommends: dbus-user-session but it is not going to be installed
 upower : Depends: dbus
          Depends: udev
          Depends: libimobiledevice6 (>= 0.9.7) but it is not going to be installed
          Recommends: policykit-1
 winehq-stable : Depends: wine-stable (= 4.0.3~stretch)
 xserver-common : Depends: x11-xkb-utils but it is not going to be installed
                  Recommends: xauth but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: unable to install win in debian

Post by jkfloris »

...
Depends: libgtk-3-common (>= 3.24.12-1)
...
Depends: wine-stable (= 4.0.3~stretch)
...
The first package refers to Debian testing or unstable, the second to Debian old-stable.

Don't mix different different Debian versions.
maxtim
Newbie
Newbie
Posts: 3
Joined: Tue Dec 17, 2019 6:30 am

Re: unable to install win in debian

Post by maxtim »

The first package refers to Debian testing or unstable, the second to Debian old-stable.

Don't mix different different Debian versions.
Is this true for winehq versions as well?

I'm using Debian 10 Buster (stable), successfully installed winehq-stable, uninstalled winehq-stable and triend to install -staging and -devel with similar outputs.

My assumption was that winehq-devel or staging rely on packages in staging/devel branches of Debian. Since I don't want to mix releases and want to remain on the stable branch, I don't want to modify my sources.list. I successfully reinstalled winhq-stable, but am still struggling with my application (I will create a new post for that question).
spoon0042
Level 6
Level 6
Posts: 572
Joined: Thu Dec 24, 2009 11:00 am

Re: unable to install win in debian

Post by spoon0042 »

You should have, in /etc/apt/sources.list or in a file in /etc/apt/sources.list.d/ an entry for wine.

You'll want to find that and change 'stretch' to 'buster', then do an 'apt update' and try installing again. (It's also possible to use 'stable' which shouldn't cause problems...)

"stable" "devel" and "staging" are wine terminology for phases in wine development, not distros. It's possible to install any or all three if you want, just using the wine-stable / wine-devel / wine-staging package. The winehq-* packages install links in /usr/ making whichever one (only one) you install the default. The others can still be accessed under /opt/.

Hopefully that helps and I haven't confused you further. :)
Locked