Geeting error while installing jitsi

Setting up jitsi-videobridge2 (2.1-595-g3637fda4-1) …
/etc/jitsi/videobridge/config: line 4: Prakash: command not found
dpkg: error processing package jitsi-videobridge2 (–configure):
installed jitsi-videobridge2 package post-installation script subprocess returned error exit status 127
E: Sub-process /usr/bin/dpkg returned an error code (1)

Try to install on a fresh OS. Your old config files seem to be causing a problem

this file has 2 functions: it’s the environment for videobridge’s systemd configuration, and it’s used in Debian install to hold configuration; in the first case, its syntax is not really checked by systemd (it’s probably read by a C program), while during the install it’s sourced, and when it finds something it does not understand, it crashes. In this case someone has put a line containing the command ‘Prakash’ and everything falls apart. A guess is someone called Prakash has left a comment along the lines of

Prakash: I don’t really understand this file

after the installation and it worked. When upgrading it fails. Review this file and remove anything that is not a comment (begins by #) or an environment variable setting (VAR=VALUE) and it should work again.

1 Like