Ubuntu – Errors were encountered while processing: jitsi-meet-tokens

aptdependenciespackage-management

I've been using Ubuntu for a few years now, but I just installed Version 16.04, and I've been having a lot of issues. I'm not a command line expert, but I tried to install some software last night, and it is creating issues (and also not working properly).

When I run sudo apt-get -f install, I see the following message:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  lua-event lua-expat lua-filesystem lua-sec lua-socket lua5.1 prosody
Suggested packages:
  lua-zlib lua-dbi-postgresql lua-dbi-mysql lua-dbi-sqlite3
The following packages will be REMOVED:
  jitsi-meet-tokens
The following NEW packages will be installed:
  lua-event lua-expat lua-filesystem lua-sec lua-socket lua5.1 prosody
0 upgraded, 7 newly installed, 1 to remove and 22 not upgraded.
3 not fully installed or removed.
Need to get 0 B/413 kB of archives.
After this operation, 2,296 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 176266 files and directories currently installed.)
Removing jitsi-meet-tokens (1.0.962-1) ...
dpkg: error processing package jitsi-meet-tokens (--remove):
 subprocess installed post-removal script returned error exit status 10
Errors were encountered while processing:
 jitsi-meet-tokens
E: Sub-process /usr/bin/dpkg returned an error code (1)

Can someone help me figure out what I need to do to get this resolved? I'm fine with deleting jitsi, but I'm not sure if that will correct the problem.

Currently there is a red circle with a line through it in the upper right corner that indicates there may be installed packages with unmet dependencies.

Best Answer

If nothing else works, try this. First, back up your status file:

sudo cp /var/lib/dpkg/status /var/lib/dpkg/status_bk

Open the current status file using your favourite text editor

sudo nano /var/lib/dpkg/status

Find and remove all of the text about the package you want to remove, in this case:

Package: jitsi-meet-tokens
Status: deinstall ok half-installed
Priority: extra
Section: net
Installed-Size: 53
Maintainer: Jitsi Team <dev@jitsi.org>
Architecture: all
Source: jitsi-meet
Version: 1.0.1073-1
Depends: debconf (>= 0.5) | debconf-2.0, prosody-trunk (>= 1nightly607), libssl-dev, luarocks, jitsi-meet-prosody
Description: Prosody token authentication plugin for Jitsi Meet
Homepage: https://jitsi.org/meet

Save, exit, and run

sudo apt-get update

Source: Linux Mint Forums

Related Question