cryinkfly / Autodesk-Fusion-360-for-Linux

This is a project, where I give you a way to use Autodesk Fusion 360 on Linux!
https://github.com/cryinkfly/Fusion-360---Linux-Wine-Version-/wiki
MIT License
1.79k stars 115 forks source link

Installing `wine-staging` through the installer leads to Wine version mismatches #252

Open phrxmd opened 2 years ago

phrxmd commented 2 years ago

Describe the bug Telling the installer to install wine-staging (the default) currently leads to Wine version mismatches on OpenSUSE Tumbleweed.

It's clear that the problem here is Wine packaging on OpenSUSE. But package handling across multiple distros is complex, each distro has its own pitfalls. In this case it's OpenSUSE's use of the Emulators repo to package a more recent version of Wine. So you have to mix and match repos, which is always complex, you cannot expect an installer to handle all the details, and you should not pretend that an installer can handle everything perfectly everywhere.

Therefore the default should be to leave everything as they are, it's the user's responsibility to keep their Wine installation in order, and applications should not take actions that have the potential to mess with the user's package configuration.

To Reproduce Steps to reproduce the behavior:

  1. Be on OpenSUSE Tumbleweed (I'm not sure if other distros have the same issue)
  2. Install wine from the obs://build.opensuse.org/Emulators repo (e.g. by following the manual installation instructions)
  3. Start the Fusion 360 installer and tell it to install wine-staging (the default)
  4. Watch what the installer tells the package manager to do; in my case, wine-staging did NOT get installed, but I got wine-staging-32bit from a different repository (see below)
  5. Watch for Wine version mismatch errors during the install:
wine client error:0: version mismatch 751/752.
Your wineserver binary was not upgraded correctly,
or you have an older one somewhere in your PATH.
Or maybe the wrong wineserver is still running?

Expected behavior The installer in the default version should not mess up the user's Wine configuration .

The options in the installer should be clearer labeled: "Use existing Wine installation (> 6.23)", "Install wine-staging from system repositories (experimental)"

The default should be to leave everything as they are.

Desktop (please complete the following information):

Additional context

Here is the Wine package configuration after running the installer. Note how wine-staging-32bit has appeared from a different repository:

> zypper if wine wine-gecko wine-mono wine-staging wine-staging-32bit
Loading repository data...
Reading installed packages...

Information for package wine:
-----------------------------
Repository     : wine
Name           : wine
Version        : 7.11-1462.16
Arch           : x86_64
Vendor         : obs://build.opensuse.org/Emulators
Installed Size : 605.9 MiB
Installed      : Yes
Status         : up-to-date
Source package : wine-7.11-1462.16.src
Upstream URL   : http://www.winehq.org/
Summary        : An MS Windows Emulator
Description    : 
[...]

Information for package wine-gecko:
-----------------------------------
Repository     : wine
Name           : wine-gecko
Version        : 2.47.2-65.22
Arch           : noarch
Vendor         : obs://build.opensuse.org/Emulators
Installed Size : 235.6 MiB
Installed      : Yes
Status         : up-to-date
Source package : wine-gecko-2.47.2-65.22.src
Summary        : The Wine specific Gecko HTML rendering engine
Description    : 
[...]

Information for package wine-mono:
----------------------------------
Repository     : wine
Name           : wine-mono
Version        : 7.3.0-52.1
Arch           : noarch
Vendor         : obs://build.opensuse.org/Emulators
Installed Size : 232.7 MiB
Installed      : Yes
Status         : up-to-date
Source package : wine-mono-7.3.0-52.1.src
Upstream URL   : https://github.com/madewokherd/wine-mono
Summary        : A .NET replacement for use by Wine
Description    : 
[...]

Information for package wine-staging:
-------------------------------------
Repository     : wine
Name           : wine-staging
Version        : 7.11-1462.16
Arch           : x86_64
Vendor         : obs://build.opensuse.org/Emulators
Installed Size : 617.0 MiB
Installed      : No
Status         : not installed
Source package : wine-staging-7.11-1462.16.src
Upstream URL   : http://www.winehq.org/
Summary        : An MS Windows Emulator
Description    : 
[...]

Information for package wine-staging-32bit:
-------------------------------------------
Repository     : repo:oss
Name           : wine-staging-32bit
Version        : 7.11-1.1
Arch           : x86_64
Vendor         : openSUSE
Installed Size : 167.9 MiB
Installed      : Yes
Status         : up-to-date
Source package : wine-staging-7.11-1.1.src
Upstream URL   : http://www.winehq.org/
Summary        : An MS Windows Emulator
Description    : 
[...]