处理时遇到错误:jitsi-meet-tokens

处理时遇到错误:jitsi-meet-tokens

我已经使用 Ubuntu 几年了,但我刚刚安装了 16.04 版,遇到了很多问题。我不是命令行专家,但昨晚我尝试安装一些软件,结果出现了问题(并且无法正常工作)。

当我运行时sudo apt-get -f install,我看到以下消息:

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)

有人能帮我弄清楚我需要做什么才能解决这个问题吗?我可以删除 jitsi,但我不确定这是否能解决问题。

目前,右上角有一个带线的红色圆圈,表示可能安装了具有未满足依赖关系的软件包。

答案1

如果其他方法都不管用,试试这个。首先,备份你的状态文件:

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

使用您喜欢的文本编辑器打开当前状态文件

sudo nano /var/lib/dpkg/status

查找并删除有关要删除的软件包的所有文本,在本例中:

Package: jitsi-meet-tokens
Status: deinstall ok half-installed
Priority: extra
Section: net
Installed-Size: 53
Maintainer: Jitsi Team <[email protected]>
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

保存、退出并运行

sudo apt-get update

来源:Linux Mint 论坛

答案2

您的 jitsi 安装已损坏。我们可以进行分析以确定问题出在哪里,但既然您愿意删除 jitsi,那么删除它并整理您的存储库就更简单了。

sudo apt-get purge jitsi*
sudu apt-get autoremove
sudo apt-get update

相关内容