root@mymachine:/# apt purge jitsi-videobridge2
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages will be REMOVED:
jitsi-videobridge2*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database … 124942 files and directories currently installed.)
Removing jitsi-videobridge2 (2.1-169-ga28eb88e-1) …
Purging configuration files for jitsi-videobridge2 (2.1-169-ga28eb88e-1) …
dpkg: error processing package jitsi-videobridge2 (–purge):
subprocess installed post-removal script returned error exit status 10
Errors were encountered while processing:
jitsi-videobridge2
E: Sub-process /usr/bin/dpkg returned an error code (1)
Any ideas what to do?
解决方法:https://itsfoss.com/dpkg-returned-an-error-code-1/
第四种方法对我有效