sudo apt install --install-recommends winehq-stable
Reading package lists ... Ready
Building dependency tree
Reading status information ... Ready
Some packages could not be installed. This may mean that
you asked for an impossible situation or, if you are using the
unstable distribution, that some required packages were not
created yet or were taken from the "Incoming".
The following information may help resolve the situation:
The following packages have mismatched dependencies:
winehq-stable: Depends: wine-stable (= 4.0 ~ stretch)
The way to solve dependency issues is to work your way backwards. Try installing wine-stable, see what apt complains about, and try installing that. Repeat until you have everything installed.
dimesio wrote:The way to solve dependency issues is to work your way backwards. Try installing wine-stable, see what apt complains about, and try installing that. Repeat until you have everything installed.
apt install wine-stable
Reading package lists ... Ready
Building dependency tree
Reading status information ... Ready
Some packages could not be installed. This may mean that
you asked for a dangerous situation, are you using a
Unstable distribution, not required
ticket or ticket.
The following information can help resolve the situation:
Packages follow the mismatched dependencies:
stable in wine: Depends: wine-stable-i386 (= 4.0 ~ stretch)
apt install wine-stable-i386
Reading package lists ... Ready
Building dependency tree
Reading status information ... Ready
Some packages could not be installed. This may mean that
you asked for an impossible situation or, if you are using the
unstable distribution, that some required packages were not
created yet or were taken from the "Incoming".
The following information may help resolve the situation:
The following packages have mismatched dependencies:
wine-stable-i386: i386: Depends: libglib2.0-0: i386 (> = 2.12.0) but will not install
Depends: libgphoto2-6: i386 (> = 2.5.10) but will not install
Depends: libgstreamer-plugins-base1.0-0: i386 (> = 1.0.0) but will not install
Depends: libgstreamer1.0-0: i386 (> = 1.4.0) but will not install
Depends: libpulse0: i386 (> = 0.99.1) but will not install
Depends: libasound2-plugins: i386 but will not install
Recommended: libcups2: i386 but will not install
Recommended: libdbus-1-3: i386 but will not install
Recommended: libsane: i386 but will not install or
libsane1: i386 but is not installable
Recommended: libsdl2-2.0-0: i386 but will not install
Install all those i386 packages one by one. Keep in mind that the versions of i386 packages must match the versions of the matching amd64 package or apt will refuse to install it.
apt install wine
Reading package lists ... Ready
Building dependency tree
Reading status information ... Ready
The following additional packages will be installed:
fonts-wine libodbc1 libosmesa6 libwine wine64
Suggested packages:
libmyodbc odbc-postgresql tdsodbc unixodbc-bin ttf-mscorefonts-installer winbind winetricks playonlinux wine-binfmt dosbox wine64-preloader
Recommended Packages:
wine32
The following packages will be REMOVED:
virtualbox-6.0
The following new packages will be installed:
fonts-wine libodbc1 libosmesa6 libwine wine wine64
0 packages upgraded, 6 new packages installed, 1 to be removed and 0 not upgraded.
You need to download 20.3 MB of files.
After this operation, 104 MB of disk space will be released.
Uninstalls my virtual box and installs an old version of wine
That is not the command to install any of the WineHQ packages. Ask for help with any problems from whoever created the Wine package you are trying to install.