Dependencies problems in a fresh Ubuntu 20.04

Hello,

I’m installing the latest nightly version from repository on Ubuntu 20.04 but there is a problem with dependencies:

$ sudo apt install jitsi
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:
jitsi : Depends: libavformat57 but it is not installable or
libavformat-ffmpeg56 but it is not installable
Depends: libavcodec57 but it is not installable or
libavcodec-extra57 but it is not installable or
libavcodec-ffmpeg56 but it is not installable or
libavcodec-ffmpeg-extra56 but it is not installable
Depends: libavfilter6 but it is not installable or
libavfilter-extra6 but it is not installable or
libavfilter-ffmpeg5 but it is not installable
Depends: libavutil55 but it is not installable or
libavutil-ffmpeg54 but it is not installable
Depends: libswscale4 but it is not installable or
libswscale-ffmpeg3 but it is not installable
E: Unable to correct problems, you have held broken packages.

There are installed new versions of the listed dependencies. For example libavformat58 instead of libavformat57.

How can I solve this problem?

Thanks,
Andrea

1 Like

Same thing here

Is there any way to make jitsi use the new updated dependencies?

would there be a way for the jitsi installer to detect x is installed through a link or symlink?

Same here using dpkg -i with the latest version available in https://download.jitsi.org/unstable/ which is jitsi_2.11.5624-1

There’ s a changelog file for the jitsi_2.11.5633 version (26-Mar-2020), but the .deb file is unavailable.

May you guys put this file there for us to testing?

Hello,

please fix this issue. I can’t work with Linphone :slight_smile:

Hi @damencho , may anyone help us with this Jitsi Desktop issue?

Hi @corby, may you help us providing the jitsi_2.11.5633_amd64.deb file or another newer version?
If not, may you forward to some Jitsi Desktop’s developper to tackle this dependencies?

@kolminux I wish I could help. I am just a community member, like yourself! You really need @saghul @damencho @bbaldino

Thanks @corby, you did help!
Le’ts see if the other guys you mentioned have something for us.

Unfortunately, Linphone stands as our last resource for recent Linux distros, if no update is provided for Jitsi.

Jitsi Desktop is community maintained. We don’t have the resources to keep on doing it, so volunteers come and go helping out with bugs. If you can and want to help, please open an issue or PR in the corresponding repository.

Hello,

this is my little workaround to download source, build and run Jitsi…

Change the directory according to your preferences.

Install openjdk-8-jdk-headless and Apache ant:
sudo apt install openjdk-8-jdk-headless ant

Download and untar the latest build (actually 5633):
wget https://github.com/jitsi/jitsi/archive/5633.tar.gz && tar xvf 5633.tar.gz -C ~/Applications

Change to jitsi source directory:
cd ~/Applications/jitsi-5633

Build Jitsi (ignore errors…)
JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 ant rebuild

Run Jitsi:
ant run

and a little bash script to run Jitsi…

#!/bin/bash
cd ~/Applications/jitsi-5633
ant run > /dev/null 2>&1 &

Andrea

1 Like

Thanks Andrea! I will look to see if I can replicate as well, unfortunately I wasn’t aware of any instructions on how to build it yourself.

Thanks again!

Hello,

please try it and if you find any mistake please advise me…

Andrea

PS: rm Linphone-4.2.2.AppImage :joy: :joy: :joy:

Lol, yes remove Linphone… :slight_smile:

I just did this with my 20.04 install and it works great! I had no idea this was how it was built from source, but for anyone looking for a way to get this installed on their latest systems, @agabellini provided a workaround. Thank you very much!!

Edit: I didn’t use an “Applications” folder in mine. adjust to a proper folder as needed (I used Downloads)

My workaround was rebuild the package with alien.

$ sudo apt install alien fakeroot gdebi
$ wget https://download.jitsi.org/unstable/jitsi_2.11.5624-1_amd64.deb
$ alien -g jitsi_2.11.5624-1_amd64.deb
$ cd jitsi-2.11.5624
$ fakeroot ./debian/rules binary
$ cd ..
$ sudo gdebi -i jitsi_2.11.5624-2_amd64.deb

I will create a deb package without de libav* dependencies. I only use jitsi as SIP client so I don’t need videoconference features, so I think that it will work for me.

It would be nice to have the source package to adjust the libav* dependencies and rebuild a proper 20.04 package. Please @corby, can you upload the source jitsi desktop package to unstable repository?

Just like that…
Thanks @agabellini , it works gracefully on Ubuntu 20.04!