Very confused install Wine on Ubuntu 18.04 based distro

Questions about Wine on Linux
Locked
Matt7
Level 1
Level 1
Posts: 5
Joined: Sat Jun 15, 2019 2:15 pm

Very confused install Wine on Ubuntu 18.04 based distro

Post by Matt7 »

I just discovered that my install of Wine was no longer working. Uninstalled the old version and tried to do a fresh install via the instructions given in the wiki concerning Ubuntu 18.04 systems. I'm running Peppermint 10 built on Ubuntu 18.04.

I admit to being a novice at this but have been able to get Wine up and running for years. This mess has me completely confused.

I ran this

Code: Select all

sudo dpkg --add-architecture i386
Then this

Code: Select all

wget -nc https://dl.winehq.org/wine-builds/winehq.key
--2019-06-15 12:05:13--  https://dl.winehq.org/wine-builds/winehq.key
Resolving dl.winehq.org (dl.winehq.org)... 151.101.54.217
Connecting to dl.winehq.org (dl.winehq.org)|151.101.54.217|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3220 (3.1K) [application/pgp-keys]
Saving to: ‘winehq.key’

winehq.key            100%[=======================>]   3.14K  --.-KB/s    in 0s      

2019-06-15 12:05:15 (33.4 MB/s) - ‘winehq.key’ saved [3220/3220]
Then

Code: Select all

sudo apt-key add winehq.keyOK
Then

Code: Select all

sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
Which resulted in

Code: Select all

Hit:1 http://us.archive.ubuntu.com/ubuntu bionic InRelease                           
Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]          
Hit:3 http://ppa.launchpad.net/peppermintos/p10-release/ubuntu bionic InRelease      
Get:4 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease [6,257 B]            
Get:5 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]         
Get:6 https://dl.winehq.org/wine-builds/ubuntu bionic/main amd64 Packages [439 kB]
Hit:7 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease              
Get:8 https://dl.winehq.org/wine-builds/ubuntu bionic/main i386 Packages [466 kB]    
Fetched 1,088 kB in 10s (108 kB/s)                                                   
Reading package lists... Done

Code: Select all

sudo apt update

Code: Select all

Hit:1 http://us.archive.ubuntu.com/ubuntu bionic InRelease                           
Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]          
Hit:3 http://ppa.launchpad.net/peppermintos/p10-release/ubuntu bionic InRelease      
Hit:4 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease                      
Get:5 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]         
Hit:6 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease
Fetched 177 kB in 5s (37.2 kB/s)
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
Then this

Code: Select all

sudo apt install --install-recommends winehq-devel
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 winehq-devel : Depends: wine-devel (= 4.10~bionic)
E: Unable to correct problems, you have held broken packages.
I have not been able to identify or fix any broken packages in my system.

I did see this at the beginning and tried to install the libfaudio0 and that seems to be where my confusion started. I tried downloading and installing locally as suggested but that didn't work. Did I even download the right thing? It seemed to be but who knows? When that didn't work I tried to add the repositories and go that route but still nothing works.
Beginning with Wine 4.5, the wine-devel packages for Ubuntu 18.04, 18.10, and 19.04 require libfaudio0 as a dependency. Since the distro does not provide it, libfaudio0 packages can be downloaded from the OBS. See viewtopic.php?f=8&t=32192 for details

I don't play games on the machine. I just wanted to run a Journaling/Writing/Organizing software (TheJournal8). Nothing in available Linux programs even tries to come close. I really don't want to dump the entire OS and go back to an old version just to get Wine to work nor do I want to find an alternative distro because Peppermint 10 works great, Wine seems to be the problem.


Any suggestions?
User avatar
dimesio
Moderator
Moderator
Posts: 13204
Joined: Tue Mar 25, 2008 10:30 pm

Re: Very confused install Wine on Ubuntu 18.04 based distro

Post by dimesio »

The way to sort out dependency issues is to work your way backwards. Try installing wine-devel, see what apt complains about, and try installing that. Repeat until you get to whatever is blocking the install.
igytouqc
Level 2
Level 2
Posts: 19
Joined: Sat Jun 15, 2019 10:35 am

Re: Very confused install Wine on Ubuntu 18.04 based distro

Post by igytouqc »

At about 95% of chance its about missing this package: sudo apt install libfaudio0

If you enter this, your system would probably say that its not there.

Now you have two things you can do:
1. You install wine stable with this command because it does not require libfaudio0 'sudo apt install --install-recommends winehq-stable'

or

2. you follow this viewtopic.php?f=8&t=32192#p121683 and then install wine development 'sudo apt install --install-recommends winehq-devel'
User avatar
dimesio
Moderator
Moderator
Posts: 13204
Joined: Tue Mar 25, 2008 10:30 pm

Re: Very confused install Wine on Ubuntu 18.04 based distro

Post by dimesio »

FYI, if the issue is FAudio, the user could also install winehq-staging, as the staging maintainer has decided to disable FAudio support in that branch until packages for it are in the distros' standard repositories.
Matt7
Level 1
Level 1
Posts: 5
Joined: Sat Jun 15, 2019 2:15 pm

Re: Very confused install Wine on Ubuntu 18.04 [Solved]

Post by Matt7 »

Thank you for the suggestions and input. I did attempt to install the Stable and Staging versions but still encountered the error messages. When I took a closer look at my system I realized I had more than one repository active. I shut down the repositories that seemed least important and tried the install again. The error messages stopped and the install went as it should. Wine seems to be doing what it should be doing. I did end up installing the Stable version to avoid dealing with the dependency issues mentioned with the Development version.

In the past I had used the Development version because of troubles with my software but that doesn't seem like the issue that it had been.

Again, thank you!
Locked