WineHQ
Wine Forums

Board index » WineHQ » Wine Help » Linux




 Page 1 of 1 [ 15 posts ] 



 
Author Message
 Post Posted: Thu Mar 28, 2019 8:30 pm 
Offline
Moderator
Moderator
User avatar

Joined: Tue Mar 25, 2008 10:30 pm
Posts: 12571
Thanks to Cybermax, we have FAudio packages on the OBS for Debian Testing and Ubuntu 18.04, 18.10, and 19.04. Beginning with Wine 4.5, the WineHQ wine-devel packages for those distros will be built against them and will require them as a dependency.

The packages will not be distributed from the download server here, but can be obtained directly from the OBS.

Debian Testing: https://download.opensuse.org/repositor ... _standard/

Ubuntu 19.04: https://download.opensuse.org/repositor ... ntu_19.04/

Ubuntu 18.10: https://download.opensuse.org/repositor ... _standard/

Ubuntu 18.04 and Linux Mint 19.x: https://download.opensuse.org/repositor ... ntu_18.04/

The quickest and easiest way to satisfy the new dependency is to download and install both the i386 and amd64 libfaudio0 packages before attempting to upgrade or install winehq-devel. By installing the downloaded packages locally, you will not have to add the OBS repository. This only has to be done once.

For users who prefer to add the OBS repository, see the detailed instructions in a post below.


Top 
 Post Posted: Sun Mar 31, 2019 5:42 am 
Offline
Newbie
Newbie

Joined: Sun Mar 31, 2019 5:40 am
Posts: 1
Hi,

Debian buster packages for i386 and amd64 conflict with each other on file /usr/share/doc/libfaudio0/changelog.Debian.gz - could you please fix it ?

Thanks


Top 
 Post Posted: Sun Mar 31, 2019 8:20 am 
Offline
Level 4
Level 4

Joined: Fri Dec 01, 2017 5:26 pm
Posts: 156
julek wrote:
Hi,

Debian buster packages for i386 and amd64 conflict with each other on file /usr/share/doc/libfaudio0/changelog.Debian.gz - could you please fix it ?

Thanks

Yes, this is a build problem i guess.

I will come up with a working solution. In the meantime you can just do:
Code:
sudo rm /usr/share/doc/libfaudio0/changelog.Debian.gz

and install the libfaudio0:i386 package.

The "changelog" is the same, but it has a different md5sum cos its generated in a i386 vm with a different time indication during build, and thus Ubuntu/Debian sees this as a "different file".


Top 
 Post Posted: Sun Mar 31, 2019 12:20 pm 
Offline
Level 4
Level 4

Joined: Fri Dec 01, 2017 5:26 pm
Posts: 156
I have made a reply to the bug posted on bugzilla.

https://bugs.winehq.org/show_bug.cgi?id=46936#c8

Quote:
If you added the OBS repo, you should be able to fix it by doing a combo of:
sudo apt update
sudo apt upgrade
sudo apt --fix-broken install
sudo apt autoremove --purge
sudo apt upgrade

If you installed the .deb's manually, you would most likely need to
sudo apt remove winehq-devel before purging the old libfaudio0.


Hopefully this mess can be sorted without too much troubles.

I am truly sorry for this guys.


Top 
 Post Posted: Mon Apr 01, 2019 5:52 am 
Offline
Moderator
Moderator
User avatar

Joined: Tue Mar 25, 2008 10:30 pm
Posts: 12571
For those who want to add the OBS repository rather than just downloading and installing locally:

Debian Testing:
Download the Release.key. Navigate to the directory you downloaded it to and install it with
Code:
sudo apt-key add Release.key

Add the repository to /etc/apt/sources.list or create a *.list under /etc/apt/sources.list.d/ with the following content:
Code:
deb https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Debian_Testing_standard ./

Then update:
Code:
sudo apt update


Ubuntu 19.04
Download the Release.key. Navigate to the directory you downloaded it to and install it with
Code:
sudo apt-key add Release.key

Add the repository:
Code:
sudo apt-add-repository 'deb https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_19.04 ./'

Then update:
Code:
sudo apt update


Ubuntu 18.10:
Download the Release.key. Navigate to the directory you downloaded it to and install it with
Code:
sudo apt-key add Release.key

Add the repository:
Code:
sudo apt-add-repository 'deb https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Ubuntu_18.10_standard ./'

Then update:
Code:
sudo apt update


Ubuntu 18.04:
Download the Release.key. Navigate to the directory you downloaded it to and install it with
Code:
sudo apt-key add Release.key

Add the repository:
Code:
sudo apt-add-repository 'deb https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/ ./'

Then update:
Code:
sudo apt update


Top 
 Post Posted: Tue Apr 02, 2019 3:49 am 
Offline
Level 1
Level 1

Joined: Mon Jan 28, 2019 2:32 am
Posts: 7
Location: Italy
dimesio wrote:
For those who want to add the OBS repository rather than just downloading and installing locally:

Ubuntu 18.04:
Download the Release.key. Navigate to the directory you downloaded it to and install it with
Code:
sudo apt-key add Release.key

Add the repository:
Code:
sudo apt-add-repository 'deb https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/ ./'

Then update:
Code:
sudo apt update


Disco testers will already have the OBS repository added.


I use Linux Mint 19.1, I downloaded and added the key, but when I try to add the repository I get this or my terminal:
Code:
$ sudo apt-add-repository 'deb https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/ ./'
Malformed input, repository not added.

Why? How can I fix this?


Top 
 Post Posted: Tue Apr 02, 2019 3:59 am 
Offline
Level 1
Level 1

Joined: Mon Jan 28, 2019 2:32 am
Posts: 7
Location: Italy
FinixFighter wrote:
dimesio wrote:
For those who want to add the OBS repository rather than just downloading and installing locally:

Ubuntu 18.04:

I use Linux Mint 19.1, I downloaded and added the key, but when I try to add the repository I get this or my terminal:
Code:
$ sudo apt-add-repository 'deb https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/ ./'
Malformed input, repository not added.

Why? How can I fix this?

I managed to do so by running
Code:
echo -e "\ndeb https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/ ./" | sudo tee -a /etc/apt/sources.list

:D


Top 
 Post Posted: Tue Apr 02, 2019 2:52 pm 
Offline
Level 4
Level 4

Joined: Fri Dec 01, 2017 5:26 pm
Posts: 156
FinixFighter wrote:
I use Linux Mint 19.1, I downloaded and added the key, but when I try to add the repository I get this or my terminal:
Code:
$ sudo apt-add-repository 'deb https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/ ./'
Malformed input, repository not added.

Why? How can I fix this?

apt-add-repository is a function that does a call to the url and expect some key magic to happen.

This does not work how you expect with this repository :)

I am somewhat of a fan of NOT putting ppa/custom repositories in the main sources.list tho, so you can do things like:
Code:
sudo sh -c "echo 'deb https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/ ./' >> /etc/apt/sources.list.d/libfaudio.list"

Easier to just rename, delete or move it if you dont want to use the repository vs editing /etc/apt/sources.list and deleting or # marking the lines.

When you use apt-add-repository with a "proper" debian/ubuntu repository this is what is done... it just requires some more magic files on the server :)


Top 
 Post Posted: Wed Apr 10, 2019 12:05 pm 
Offline
Level 2
Level 2

Joined: Sat Mar 10, 2018 2:16 pm
Posts: 22
After
NO_PUBKEY DFA175A75104960E
I had to
Code:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys DFA175A75104960E



Afterwards you could install winehq-devel again.


Top 
 Post Posted: Sun Apr 21, 2019 5:52 pm 
Offline
Newbie
Newbie

Joined: Thu Aug 10, 2017 7:39 pm
Posts: 1
Can somebody please explain to me why Wine has to change how it's packaged every year? I really wish Wine could just maintain one single repository with all of the required packages in it and we could stop having to update our sources list or update keys all the time.

Back in 2012:

sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update && sudo apt-get install wine

Pre-2017 April:

sudo add-apt-repository ppa:wine/wine-builds
sudo apt-get update && sudo apt-get install winehq-devel

2017 April:

wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo apt-key add winehq.key
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
rm -f winehq.key
sudo apt install -y winehq-devel

Yet now, users can't just copy-paste this, because "bionic" is different for each Ubuntu release.

2018 December:

Same as before but you have to re-add the key file.

2019 April:

Same as before but now we need the FAudio package:

"The quickest and easiest way to satisfy the new dependency is to download and install both the i386 and amd64 libfaudio0 packages before attempting to upgrade or install winehq-devel."

So we have to manually download and install two deb files, which probably will become outdated in the future, in addition to all of the above commands, just to use the latest version of Wine?

Why are you making it regressively more difficult to install Wine? Ideally I should be able to run one script / one set of commands and then I should not have to worry about setting up Wine again. Package managers are supposed to make keeping software updated easier, not harder. Installing Wine should be as easy as possible to discourage users from switching back to Windows.

But the biggest problem of all, with changing how Wine is installed, is that the answers on help forums and places like Ask Ubuntu all become outdated very quickly. Most users will just search for their problem online and get frustrated when the first few answers don't work.


Top 
 Post Posted: Sun Apr 21, 2019 7:56 pm 
Offline
Moderator
Moderator
User avatar

Joined: Tue Mar 25, 2008 10:30 pm
Posts: 12571
The change in repository key several months ago was due to the change in the package maintainer: the old key had the previous maintainer's name on it, and it would not have been appropriate to use it when he was no longer maintaining those packages.

The FAudio packages are not distributed from dl.winehq.org because FAudio is not part of the Wine Project, and our building them is only a temporary workaround until distros start providing FAudio packages. FYI, Fedora 29 and later and Debian Sid have already added FAudio packages to their repositories. If your distro hasn't, that's something to discuss with your distro.

The FAudio packages do not need to be updated unless Wine changes to require a newer version. That's not likely to happen often, if at all.

As for instructions on outside sites becoming outdated, that's inevitable, and not limited to questions about installing Wine. The instructions on our wiki are the only ones we support. https://wiki.winehq.org/FAQ#I_followed_ ... n.27t_work


Top 
 Post Posted: Wed Apr 24, 2019 3:12 pm 
Offline
Level 4
Level 4

Joined: Fri Dec 01, 2017 5:26 pm
Posts: 156
aaronfranke wrote:
So we have to manually download and install two deb files, which probably will become outdated in the future, in addition to all of the above commands, just to use the latest version of Wine?

Why are you making it regressively more difficult to install Wine? Ideally I should be able to run one script / one set of commands and then I should not have to worry about setting up Wine again. Package managers are supposed to make keeping software updated easier, not harder. Installing Wine should be as easy as possible to discourage users from switching back to Windows.

I cant do anything but agree with you. Absolutely. But remember you are talking about "wine-devel" here, and that is a development project.

A project "in development" like wine-devel, and its dependencies (like faudio or vkd3d), is very much based on rapid releases. Expecting distro's to keep this up will NOT happen, and its mostly based around ppl that really want to be on the cutting edge of stuff to either compile themselves, or add ppa's... and ppl do. And thats fine IMO for a project in development like Wine-devel. No problem with that. So in a way, if you want to use "dev" version, you need ppa's/other packages. So, what happens when wine-stable one day will require the same? Well, then you might just need to have to wait on the distro provided package. As of now, bionic provides wine-3.0, and disco wine-4.0.

Ofc for convenience seen from a user-perspective, I would absolutely recommend dl.winehq.org to provide both libfaudio and libvkd3d tho.

dimesio wrote:
The FAudio packages are not distributed from dl.winehq.org because FAudio is not part of the Wine Project, and our building them is only a temporary workaround until distros start providing FAudio packages. FYI, Fedora 29 and later and Debian Sid have already added FAudio packages to their repositories. If your distro hasn't, that's something to discuss with your distro.

"Older" distro's like Cosmic, Bionic or Debian "Stretch" might never see those packages at all sadly. Only in case that Disco/Buster gets the next wine-stable that requires this perhaps? I'm kinda pessimistic like that hehe..

dimesio wrote:
The FAudio packages do not need to be updated unless Wine changes to require a newer version. That's not likely to happen often, if at all.

Not knowing how things really ties together here, i would venture say that libfaudio works kind of like libvkd3d does. Wine's XAudio2 "sends" sound to linux libfaudio, and its up to libfaudio to interpret this and create audio via whatever audio engine available. If a game require some new audiocodec, or a bugged audiocodec in libfaudio, things needs to be updated.
An example to this is that xWMA does not work without libfaudio compiled with ffmpeg support. (The "OBS" provided version is currently not). So if a game using XAudio2 uses xWMA for sounds, it probably will be a dull experience. This can ofc be solved, but might require a more updated ffmpeg than "older" distro's have available... and there we go again :)

When you add the multitudes of distro's and each distro's way of implementing packages, troubleshooting bugs like "I got no sound in MyGame 2.0" is near impossible if various distro's started implementing their own versions of the library. And WHAM, welcome to the harsh reality of Linux i guess.

Enough rambling from my side.


Top 
 Post Posted: Sat May 04, 2019 11:37 pm 
Offline
Level 2
Level 2

Joined: Mon Feb 25, 2008 12:35 pm
Posts: 13
Thanks for adding these to OBS! It's very useful.


Top 
 Post Posted: Mon May 06, 2019 10:45 pm 
Offline
Level 2
Level 2

Joined: Mon Feb 25, 2008 12:35 pm
Posts: 13
Can you please also add faudio 19.05?


Top 
 Post Posted: Wed May 08, 2019 10:48 am 
Offline
Level 4
Level 4

Joined: Fri Dec 01, 2017 5:26 pm
Posts: 156
shmerl wrote:
Can you please also add faudio 19.05?

Just finished compiling :)
08-May-2019 15:04

C


Top 
Display posts from previous:  Sort by  
 
 Page 1 of 1 [ 15 posts ] 




Board index » WineHQ » Wine Help » Linux


Who is online

Users browsing this forum: No registered users and 19 guests

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: