Page 1 of 1

Missing dependency installing on Ubuntu 20.04

Posted: Thu Apr 30, 2020 3:43 pm
by lilgoomba
I seem to not be able to install Exult on any Ubuntu 20.04 machine. Apt fails with this dependency issue:

The following packages have unmet dependencies:
exult : Depends: libfluidsynth1 but it is not installable

I checked and libfluidsynth2 is installed but there is no candidate for libfuildsynth1, at least not with Ubuntu 20.04.

Is there a workaround for this install issue? I have tested this on multiple machines running 20.04 with the same result.

Re: Missing dependency installing on Ubuntu 20.04

Posted: Thu Apr 30, 2020 5:21 pm
by Dominus
That's odd.
Just for "fun" I downloaded the Ubuntu 20.04 iso and installed it in a VM.

sudo apt install exult shows me
sudo apt install exult
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
fluid-soundfont-gm libfluidsynth2 libinstpatch-1.0-2 libmad0 libmikmod3 libopenal-data libopenal1 libsdl-mixer1.2 libsdl1.2debian libsdl2-2.0-0 libsndio7.0
timgm6mb-soundfont timidity
Suggested packages:
fluid-soundfont-gs fluidsynth libportaudio2 sndiod musescore freepats pmidi timidity-daemon
The following NEW packages will be installed:
exult fluid-soundfont-gm libfluidsynth2 libinstpatch-1.0-2 libmad0 libmikmod3 libopenal-data libopenal1 libsdl-mixer1.2 libsdl1.2debian libsdl2-2.0-0
libsndio7.0 timgm6mb-soundfont timidity
and it installed ok. So I cannot reproduce this in a fresh Ubuntu 20.04 install. Did you tinker with your package list or where the packages are pulled from (I dimly remember that you can do that, but I'm not really accustomed to any linux or apt)

BUT that is the old Exult 1.2 not the new 1.6.

Re: Missing dependency installing on Ubuntu 20.04

Posted: Thu Apr 30, 2020 5:51 pm
by Dominus
Can you tell us the output of
apt-cache policy exult

on a new system this outputs:
exult:
Installed: (none)
Candidate: 1.2-18build1
Version table:
1.2-18build1 500
500 http://us.archive.ubuntu.com/ubuntu focal/multiverse amd64 Packages
100 /var/lib/dpkg/status

Re: Missing dependency installing on Ubuntu 20.04

Posted: Thu Apr 30, 2020 5:53 pm
by Dominus
But once we figured this out, just install Exult 1.6 from source. You just need to install libsdl2-dev, libogg-dev and libvorbis-dev. Then in the Exult source run
./autogen.sh
./configure
make
make install

Re: Missing dependency installing on Ubuntu 20.04

Posted: Thu Apr 30, 2020 8:04 pm
by lilgoomba
The machines I tried this on were all upgraded from previous versions of Ubuntu so that could be the problem.
Here is the apt-cache output:

exult:
Installed: (none)
Candidate: 1.5.0+svn20200428~ubuntu20.04.1
Version table:
1.5.0+svn20200428~ubuntu20.04.1 500
500 http://ppa.launchpad.net/exult-team/exult-daily/ubuntu focal/main amd64 Packages
1.5.0+svn20190920~ubuntu19.10.1 -1
100 /var/lib/dpkg/status
1.2-18build1 500
500 http://us.archive.ubuntu.com/ubuntu focal/multiverse amd64 Packages

I might try installing from source. Your help is greatly appreciated!

Re: Missing dependency installing on Ubuntu 20.04

Posted: Sat May 02, 2020 10:17 pm
by i30817
If you're using the ppa, i just pushed a change that might fix this (or break everything) where i replaced the runtime dependency on 'libfluidsynth1' by installing the virtual package 'fluidsynth' that appears to link to fluidsynth 1 in eoan down and fluidsynth2 in focal up.

Re: Missing dependency installing on Ubuntu 20.04

Posted: Sun May 03, 2020 5:59 am
by mbanck
That's the Ubuntu PPA - would be good to report that problem to them, probably at https://bugs.launchpad.net/~exult-team

They also should bump the version of their snapshots to 1.7.0 I guess.

Re: Missing dependency installing on Ubuntu 20.04

Posted: Sun May 03, 2020 6:01 am
by mbanck
Ah well, I hadn't refreshed the page so missed i30817's reply. Seems everything is under control.

Re: Missing dependency installing on Ubuntu 20.04

Posted: Sun May 03, 2020 7:24 am
by Dominus
Thanks everyone :)