FAudio for Debian and Ubuntu - Linux Mint issues

Questions about Wine on Linux
Locked
User avatar
FinixFighter
Level 2
Level 2
Posts: 15
Joined: Mon Jan 28, 2019 2:32 am

FAudio for Debian and Ubuntu - Linux Mint issues

Post by FinixFighter »

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: Select all

sudo apt-key add Release.key
Add the repository:

Code: Select all

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

Code: Select all

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: Select all

$ 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?
User avatar
FinixFighter
Level 2
Level 2
Posts: 15
Joined: Mon Jan 28, 2019 2:32 am

Re: FAudio for Debian and Ubuntu

Post by FinixFighter »

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: Select all

$ 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: Select all

echo -e "\ndeb https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/ ./" | sudo tee -a /etc/apt/sources.list
:D
Cybermax
Level 4
Level 4
Posts: 218
Joined: Fri Dec 01, 2017 5:26 pm

Re: FAudio for Debian and Ubuntu

Post by Cybermax »

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: Select all

$ 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: Select all

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 :)
drayzen
Level 1
Level 1
Posts: 7
Joined: Mon Mar 11, 2019 4:53 am

Re: FAudio for Debian and Ubuntu

Post by drayzen »

Cybermax wrote:
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: Select all

$ 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: Select all

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 :)
Now you've lost me.
Could you instead just update the first post with only correct, minimal and specific instructions for exactly what is required to install this on Mint 19.1, thanks.
Having to do this is honestly a pain the arse as I don't even use audio..
User avatar
dimesio
Moderator
Moderator
Posts: 13201
Joined: Tue Mar 25, 2008 10:30 pm

Re: FAudio for Debian and Ubuntu - Linux Mint issues

Post by dimesio »

I have split the posts about issues adding the OBS repository to Linux Mint into a separate topic to make it easier for Mint users to find the relevant information. The old thread was getting very long and hard to follow.
User avatar
dimesio
Moderator
Moderator
Posts: 13201
Joined: Tue Mar 25, 2008 10:30 pm

Re: FAudio for Debian and Ubuntu

Post by dimesio »

drayzen wrote:Now you've lost me.
I'm not sure why. Just copy and paste either the command Cybermax posted, or the one FinixFighter posted earlier.
Could you instead just update the first post with only correct, minimal and specific instructions for exactly what is required to install this on Mint 19.1, thanks.
Our packages and instructions are for Ubuntu, and they work on all versions of that distro. Users of Ubuntu derivatives are welcome to use the packages as well, but any problems that occur because of differences between the derivative and parent are distro problems, not Wine ones. Linux Mint has a long history of such problems, and it is up to Mint users to provide information on needed workarounds. They can be posted in this thread.
Having to do this is honestly a pain the arse as I don't even use audio..
The purpose of the development branch is to test new code before it gets into the stable branch. If you are not willing to deal with the problems that inevitably entails, you should use the stable release, which will not have FAudio until 5.0. In the case of FAudio you could also use the staging branch, as the staging maintainer has elected to disable the FAudio patches until distros provide them in their standard repositories.
Buhe22
Newbie
Newbie
Posts: 2
Joined: Sat Jul 13, 2019 11:39 am

Re: FAudio for Debian and Ubuntu - Linux Mint issues

Post by Buhe22 »

This terminal command adds a third-party PPA which offers the packages for Ubuntu 18.04, Ubuntu 18.10 and Ubuntu 19.04, as well as Linux Mint I been told, when it comes to the libfaudio0 library which is not available in Ubuntu repositories.

sudo add-apt-repository ppa:cybermax-dexter/sdl2-backport

I found it on this web page.
http://ubuntuhandbook.org/index.php/201 ... -04-18-04/
Locked