Open kneekoo opened 4 years ago
What you call "FAudio repository" is actually the Wine repository, so I see no problem here. You don't need the other repository you added.
That's incorrect. The FAudio repository on OBS was made by a community member. The WineHQ team doesn't provide the FAudio package in their repository because "FAudio is not part of the Wine Project". But because it's an important dependency, they mentioned it on their page Installing WineHQ packages.
This will no longer be an issue with Ubuntu 20.04 and Linux Mint 20, but for now we have to deal with it if we want Wine 4.5+ devel or staging.
P.S. Please note, though, that the main issue doesn't revolve around Wine, but how mintupdate wrongfully displays the origin of the listed packages.
Read again what I said. Update Manager will install Wine from the "FAudio repository" and thus correctly display that as the source.
This comment clarifies what you meant, the other one was badly phrased.
So I made a more thorough investigation and the simulated install (apt install -s) went like this:
Inst libfaudio0 (19.07-0~bionic Emulators:Wine:Debian:download.opensuse.org [amd64])
Inst wine-staging-amd64 (5.0~rc5~bionic winehq:bionic [amd64])
Inst wine-staging (5.0~rc5~bionic winehq:bionic [amd64])
Then the simulated update went like this:
Inst wine-staging [5.0~rc5~bionic] (5.0.0~bionic winehq:bionic, Emulators:Wine:Debian:download.opensuse.org [i386]) []
Inst wine-staging-i386 [5.0~rc5~bionic] (5.0.0~bionic winehq:bionic, Emulators:Wine:Debian:download.opensuse.org [i386])
As you can see, both repositories are listed, with the winehq one displayed first. Doing the actual update, this is what apt grabs:
Get:1 https://dl.winehq.org/wine-builds/ubuntu bionic/main i386 wine-staging i386 5.0.0~bionic [2827 kB]
Get:2 https://dl.winehq.org/wine-builds/ubuntu bionic/main i386 wine-staging-i386 i386 5.0.0~bionic [60.1 MB]
So while both repositories have the packages, the WineHQ ones get installed while OBS gets displayed as origin in mintupdate.
I'm not sure if you still think something is wrong, but I assure you, it is not. Out of several eligible origins with equal priority, one has to be displayed, and there is no wrong choice.
Anyway, if you're not convinced I'll let the Mint devs take it from here.
Take a closer look at the details, it's all there. The Wine updates come from WineHQ and the displayed origin (in mintupdate) is OBS. That's not an interpretation, it's what mintupdate + APT do.
Describe the bug In order to install Wine Staging, I added the official Wine repository and another repository for the FAudio library (wine dependency). While listing the available Wine update, the Origin column displays the source of the dependency, instead of the package listed under the Name column.
Screenshots
To Reproduce
1. Use Linux Mint 19.3 Cinnamon 32-bit and fully update the installation
2. Add the official Wine repository and install an older version of Wine Staging:
3. Add the FAudio repository:
4. Install an older wine-staging release
5. Check for updates with the Update Manager and you should see the same thing presented in my screenshot.
More info Due to the way mintupdate handles the origin data, the order in which you add the repositories matters for the correct origin to be displayed in the list. Here's what works properly and what not. [good] adding the FAudio repository first and the Wine repository second [bad] adding the Wine repository first and the FAudio one second [bad] adding each repository in its own .list file under /etc/apt/sources.list.d/ (wine.list, faudio.list)
Expected behavior The origin of the listed package should match its repository, not one of its dependencies, no matter if we add all our repositories in additional-repositories.list or separate .list files.
Distribution:
Software version: mintUpdate 5.5.9