Upgrade on Ubuntu 18.04 failing

Hallo Community,

I encountered the following error on Ubuntu 18.04 while trying to upgrade:

The following packages have unmet dependencies:
jitsi-meet : PreDepends: jitsi-videobridge2 (= 2.1-169-ga28eb88e-1) but 2.1-183-gdbddd169-1 is installed
E: Unmet dependencies. Try ‘apt --fix-broken install’ with no packages (or specify a solution).

Trying apt --fix-broken install returns

Setting up jitsi-videobridge2 (2.1-183-gdbddd169-1) …
sed: -e expression #1, char 18: unterminated `s’ command
dpkg: error processing package jitsi-videobridge2 (–configure):
installed jitsi-videobridge2 package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
jitsi-videobridge2
E: Sub-process /usr/bin/dpkg returned an error code (1)

/var/log/dpkg returns

2020-04-26 10:59:59 startup packages configure
2020-04-26 10:59:59 configure jitsi-videobridge2:all 2.1-183-gdbddd169-1
2020-04-26 10:59:59 status half-configured jitsi-videobridge2:all 2.1-183-gdbddd169-1

Package versions:
jitsi-meet 2.0.4416-1
jitsi-meet-prosody 1.0.3992-1
jitsi-meet-web 1.0.3992-1
jitsi-meet-web-config 1.0.3992-1
jitsi-videobridge2 2.1-183-gdbddd169-1

Has someone a solution? :confused:
Thanks and regards

Do you checked for broken dependencies before upgrading / installing Jitsi-mmet ,
jitsi-videobridge2 - try this:

sudo apt-get check

& post the result .

No, I didn’t checked that. Was the first upgrade attempt for this server since running.

apt-get check results:

The following packages have unmet dependencies:
jitsi-meet : PreDepends: jitsi-videobridge2 (= 2.1-169-ga28eb88e-1) but 2.1-183-gdbddd169-1 is installed
E: Unmet dependencies. Try ‘apt --fix-broken install’ with no packages (or specify a solution).

I think this will work in your case :

sudo dpkg -P --force-all jitsi-videobridge2

if not then full uninstall of Jitsi is required then ‘do apt-get update’ and install fresh jitshi.

Thank you very much.

That removed jitsi-videobridge2, so I had to reinstall it, but the update went well.

Attention for those in the same situation: because jitsi-videobridge2 got newly installed, you had to change the password in /etc/jitsi/videobridge/sip-communicator.properties ->

org.jitsi.videobridge.xmpp.user.shard.PASSWORD=PASSWORD

to whatever is noted in /var/lib/prosody/auth%2eYOUR-DOMAIN/accounts/jvb.dat