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?