https://bugs.winehq.org/show_bug.cgi?id=52459
Bug ID: 52459 Summary: Wine won't install or upgrade on Linux MInt 20.02 or 20.03 Cinnamon desktop Product: Wine Version: 7.0 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: blocker Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: phil.manger@gmail.com Distribution: Mint
Wine 7 will not install on Linux Mint 20.03 or 20.02 running the Cinnamon desktop, either as in upgrade from Wine 6.02 or as a fresh install.
Trying to install through the Mint update manager just deletes all files in the /opt/wine-stable/bin folder except:
wine wine64 wine64-preloader wine-preloader
Trying to install via the command line with:
sudo apt install --install-recommends winehq-stable
results in:
Reading package lists... Building dependency tree... Reading state information... 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 (= 7.0.0.0~focal-1) E: Unable to correct problems, you have held broken packages.
We then get into a series. Trying to install wine-stable results in:
wine-stable : Depends: wine-stable-i386 (= 7.0.0.0~focal-1)
then:
wine-stable-i386:i386 : Depends: libsane:i386 (>= 1.0.24) but it is not going to be installed
then:
libsane:i386 : Depends: libsnmp35:i386 (>= 5.8+dfsg) but it is not going to be installed
then:
libsnmp35:i386 : Depends: libmysqlclient21:i386 (>= 8.0.11) but it is not going to be installed
and finally:
mysql-common 5.8+1.0.5ubuntu2 [Not candidate version] E: Package 'mysql-common:i386' has no installation candidate
That latter two errors don't even make any sense since wine has nothing to do with mysql.
These errors were reproduced on both Mint 20.03 and 2.02 with the Cinnamon desktop on two different computers. However, wine 7 did install successfully on a laptop running Mine 20.03 with the Xfce desktop.
https://bugs.winehq.org/show_bug.cgi?id=52459
--- Comment #1 from Phil Manger phil.manger@gmail.com --- "2.02" in the last paragraph should read 3.02
https://bugs.winehq.org/show_bug.cgi?id=52459
--- Comment #2 from Phil Manger phil.manger@gmail.com --- Messed up again. "2.02" should read "20.02", not "3.02".
https://bugs.winehq.org/show_bug.cgi?id=52459
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|7.0 |unspecified CC| |dimesio@earthlink.net Product|Wine |Packaging Component|-unknown |wine-packages
https://bugs.winehq.org/show_bug.cgi?id=52459
Rosanne DiMesio dimesio@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID
--- Comment #3 from Rosanne DiMesio dimesio@earthlink.net --- For Ubuntu users, this type of problem usually happens when they've installed packages from a PPA. In the case of Mint, it's also possible packages in the Mint repository that differ from the Ubuntu ones are causing the problem. Either way, it's not a bug. WineHQ packages are built against dependencies in the standard and universe Ubuntu repositories, and that's the only configuration that is supported. As you noted yourself, you were able to install Wine on a laptop running Mint, so the problem is something installed on the problem systems.
See also bug 52011 and bug 52437.
If you need help sorting out the dependencies, ask for it on the forum.
https://bugs.winehq.org/show_bug.cgi?id=52459
Rosanne DiMesio dimesio@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Rosanne DiMesio dimesio@earthlink.net --- Closing.
https://bugs.winehq.org/show_bug.cgi?id=52459
--- Comment #5 from Phil Manger phil.manger@gmail.com --- You're right. I had a more recent version of MariaDB than the version distributed by the "official" Ubuntu repositories. The solution was found in the 52011 bug report: Enter
sudo apt install mysql-common=5.8+1.0.5ubuntu2
before installing Wine 7.0. That did the trick. So far, MariaDB seems to work fine after the downgrade. However, I'm wondering why mysql-common is required at all. I know it's required by libmysqlclient21:i386 which is in turn required by libsnmp35:i386 and that in turn by libsane:i386 and I can see why libsane (which I believe is a library for scanner software) might be required by Wine. But what does MySQL have to do with any of that?
https://bugs.winehq.org/show_bug.cgi?id=52459
--- Comment #6 from Austin English austinenglish@gmail.com ---
However, I'm wondering why mysql-common is required at all. I know it's required by libmysqlclient21:i386 which is in turn required by libsnmp35:i386 and that in turn by libsane:i386 and I can see why libsane (which I believe is a library for scanner software) might be required by Wine. But what does MySQL have to do with any of that?
Wine uses libsane for scanner support; libsane itself, or its other reverse dependencies probably require mysql, which leads to the error.