https://bugs.winehq.org/show_bug.cgi?id=52011
Bug ID: 52011 Summary: Cannot install wine-devel 6.21 on Ubuntu 20.04 if MariaDB is installed Product: Packaging Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-packages Assignee: wine-bugs@winehq.org Reporter: sephiroth_pk@hotmail.it CC: dimesio@earthlink.net Distribution: ---
Hello. I have a couple of systems with 64-bit KDE neon, based on Ubuntu 20.04. On both of them I have noticed that the wine-devel-6.21:i386 package from the official Wine repository has a hard dependency on mysql-common:i386. It is a virtual package that is not available if one has MariaDB installed, since MariaDB does not provide support for 32 bit systems (see, as an example, here: https://mariadb.com/kb/en/mariadb-support-for-32-bit-systems/). Is there any way around this or is the only solution to go back to MySQL?
Thank you for your wonderful work.
https://bugs.winehq.org/show_bug.cgi?id=52011
--- Comment #1 from Rosanne DiMesio dimesio@earthlink.net --- Our wine-devel packages do not have a dependency on MySQL at all. You may be seeing an issue involving a dependency of a dependency where the i386 version of something apt needs to install for Wine does not match the amd64 version of a package you already have installed. Apt requires that the versions match, and the error message it gives is distinctly unhelpful about what the real problem is.
There are some tips for troubleshooting dependency issues on https://wiki.winehq.org/FAQ#How_do_I_solve_dependency_errors_when_trying_to_.... If you need further help, ask on the forum.
https://bugs.winehq.org/show_bug.cgi?id=52011
--- Comment #2 from Riccardo Robecchi sephiroth_pk@hotmail.it --- You are indeed right, I am sorry. I spent some time looking into the issue and then I just jumped a few passages when it came to creating the report. wine-devel:i386 depends on libsane:i386, which in turn depends on libsnmp35:i386, which depends on libmysqlclient21:i386, leading finally to mysql-common:i386. The problem here, then, is the dependency with libsane:i386, which was not present in previous versions and which is not satisfiable if you have MariaDB installed.
https://bugs.winehq.org/show_bug.cgi?id=52011
Rosanne DiMesio dimesio@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |WORKSFORME
--- Comment #3 from Rosanne DiMesio dimesio@earthlink.net --- I tested this in a clean install of Ubuntu 20.04 in a VM. I installed MariaDB first, then installed the 6.21 winehq-devel package. I did not run into any dependency problems.
This type of problem can occur when the user has installed packages from a PPA, the version from the PPA does not match what is in the official repositories, and the maintainer of the PPA does not provide a 32 bit package to match their 64 bit one. Figuring out which package it is and reverting to the version in the official repository is one way to fix the problem. Alternatively, you could try to convince the PPA maintainer to provide a 32 bit package to match their 64 bit one.
https://bugs.winehq.org/show_bug.cgi?id=52011
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=52011
Roman mms@prodeia.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mms@prodeia.de
--- Comment #5 from Roman mms@prodeia.de --- Problem occurs when using MariaDB's PPA to install newer version of MariaDB as the PPA provides a newer version of mysql-common, but only amd64 versions, no i386.
Downgrading mysql-common resolves the conflict: sudo apt-get install mysql-common=5.8+1.0.5ubuntu2
Still, question is: Why is libsane a depend and not a recommend anymore? Would it be possible to revert libsane back to a recommend?
https://bugs.winehq.org/show_bug.cgi?id=52011
--- Comment #6 from Rosanne DiMesio dimesio@earthlink.net --- This was not changed in our build scripts. The Required dependencies are generated automatically by dpkg-shlibdeps during the packaging process. There were multiple patches affecting sane that went into 6.21, and apparently one or more of those changes caused dpkg-shlibdeps to start treating it as required.
https://bugs.winehq.org/show_bug.cgi?id=52011
Rosanne DiMesio dimesio@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|WORKSFORME |INVALID
--- Comment #7 from Rosanne DiMesio dimesio@earthlink.net --- It's been confirmed that the problem is due to using mysql packages from a PPA, so marking invalid.