
Ich verwende Debian 8 Jessie OS. Ich habe die Installation des Jitsi-Pakets beschädigt. Ich muss Jitsi von meinem PC deinstallieren. Ich kann es nicht. Das ist meine Ausgabe vom Terminal:
root@debian:~# apt-get purge --remove jitsi*
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'jitsi-meet-prosody' for regex 'jitsi*'
Note, selecting 'jitsi-meet' for regex 'jitsi*'
Note, selecting 'jitsi-meet-tokens' for regex 'jitsi*'
Note, selecting 'jitsi-videobridge' for regex 'jitsi*'
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
jicofo : PreDepends: jitsi-videobridge but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@debian:~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra 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
Recommended packages:
lua5.1-sec lua5.1-event
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 8 not upgraded.
2 not fully installed or removed.
Need to get 0 B/417 kB of archives.
After this operation, 2,175 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 174595 files and directories currently installed.)
Removing jitsi-meet-tokens (1.0.1073-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
====== How can you help? (doc: https://wiki.debian.org/how-can-i-help ) ======
----- Show old opportunities as well as new ones: how-can-i-help --old -----
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@debian:~# apt-get purge jigasi jitsi-meet jicofo jitsi-videobridge
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package jigasi
root@debian:~# apt-get purge jitsi-meet jicofo jitsi-videobridge
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
jitsi-meet-prosody : Depends: prosody but it is not going to be installed or
prosody-trunk but it is not installable
Depends: jitsi-videobridge but it is not going to be installed
Depends: jicofo but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@debian:~# apt-get purge jitsi-meet jicofo jitsi-videobridge
Reading package lists... Done
Building dependency tree
Reading state information... Done
^[[AYou might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
jitsi-meet-prosody : Depends: prosody but it is not going to be installed or
prosody-trunk but it is not installable
Depends: jitsi-videobridge but it is not going to be installed
Depends: jicofo but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Ich kann dieses Paket nicht entfernen. Kann ich über den Verzeichnisbaum auf dieses Paket zugreifen und es manuell entfernen?
Antwort1
Beginnen Sie damit dpkg --configure -a
, alle Überbleibsel dieses Fehlers auszuspülen.
Fügen Sie das Paket anschließend explizit jitsi-meet-prosody
zum Aufruf von hinzu apt-get purge
, damit dieser weiß, dass Sie tatsächlich beabsichtigen, es auch zu entfernen. Andernfalls versucht er, den bestehenden Zustand beizubehalten.
Tatsächlich möchten Sie, Ihrer Absicht nach zu urteilen, vielleicht einfach bereinigen, 'jitsi.*'
damit Sie nicht jedem neuen Unterpaket hinterherjagen müssen. (NB: apt-get
verwendet reguläre Ausdrücke, dpkg
verwendet Globs.)
Antwort2
Wenn nichts geholfen hat... gehen Sie wie folgt vor:
Sichern Sie Ihre Statusdatei:
$ sudo cp /var/lib/dpkg/status /var/lib/dpkg/status_bk
Überprüfen Sie, ob Ihre Sicherungsdatei vorhanden ist
$ ls /var/lib/dpkg/
Sie können auch die Backup-Statusdatei öffnen
$ less /var/lib/dpkg/status_bk
Öffnen Sie die aktuelle Statusdatei mit xed
( xed
ist der Standard-Texteditor für Linux Mint 18, Sie können aber auch andere wie gedit
oder vi verwenden, wenn dieser auf Ihrem System verfügbar ist):
$ sudo xed /var/lib/dpkg/status
Drücken Sie Ctrl+ f, um das Paket zu finden, das Sie entfernen möchten.
Beispiel:jitsi-meet-tokens
Löschen oder entfernen Sie den gesamten Eintragstext zum Zielpaket.
In diesem Fall (Zielpaket ist jitsi-meet-tokens) löschen Sie den folgenden Textabschnitt in der Statusdatei.
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
Drücken Sie dann Ctrl+ szum Speichern und prüfen Sie nun, ob der Paketfehler behoben wurde.
$ sudo apt-get update
Genießen!
https://forums.linuxmint.com/viewtopic.php?f=42&t=233205