it-swarm.com.de

Beim Verarbeiten des Problems sind Fehler aufgetreten

Beim Versuch, Wein zu installieren, wurde folgende Fehlermeldung ausgegeben:

dpkg: error processing package libsasl2-modules:i386 (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.23-0ubuntu5) ...
Errors were encountered while processing:
libssl1.1:AMD64
libssl1.1:i386
libsasl2-modules:AMD64
libsasl2-modules:i386
E: Sub-process /usr/bin/dpkg returned an error code (1)

Kann mir jemand helfen, das zu beheben? Ich tat

dpkg --configure -a  

ausgabe:

dpkg: error: requested operation requires superuser privilege

tun:

Sudo dpkg --configure -a 

tat:

Setting up libssl1.1:i386 (1.1.0e-1) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by  
another process: Resource temporarily unavailable
dpkg: error processing package libssl1.1:i386 (--configure):
subprocess installed post-installation script returned error exit 
status 1
dpkg: dependency problems prevent configuration of libsasl2-
modules:AMD64:
libsasl2-modules:AMD64 depends on libssl1.1 (>= 1.1.0); however:
Package libssl1.1:AMD64 is not configured yet.

dpkg: error processing package libsasl2-modules:AMD64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libsasl2-
modules:i386:
libsasl2-modules:i386 depends on libssl1.1 (>= 1.1.0); however:
Package libssl1.1:i386 is not configured yet.

dpkg: error processing package libsasl2-modules:i386 (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.23-0ubuntu5) ...
Errors were encountered while processing:
libssl1.1:i386
libsasl2-modules:AMD64
libsasl2-modules:i386

tat:

Sudo dpkg --configure -a --force-depends

ausgabe:

Setting up libssl1.1:i386 (1.1.0e-1) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by 
another process: Resource temporarily unavailable
dpkg: error processing package libssl1.1:i386 (--configure):
subprocess installed post-installation script returned error exit 
status 1
dpkg: libsasl2-modules:i386: dependency problems, but configuring 
anyway as you requested:
libsasl2-modules:i386 depends on libssl1.1 (>= 1.1.0); however:
Package libssl1.1:i386 is not configured yet.

Setting up libsasl2-modules:i386 (2.1.27~101-g0780600+dfsg-2) ...
dpkg: libsasl2-modules:AMD64: dependency problems, but configuring 
anyway as you requested:
libsasl2-modules:AMD64 depends on libssl1.1 (>= 1.1.0); however:
Package libssl1.1:AMD64 is not configured yet.

Setting up libsasl2-modules:AMD64 (2.1.27~101-g0780600+dfsg-2) ...
Processing triggers for libc-bin (2.23-0ubuntu5) ...
Errors were encountered while processing:
libssl1.1:i386

ich tat:

Sudo fuser -v -k /var/cache/debconf/config.dat

ausgabe:

USER        PID ACCESS COMMAND
/var/cache/debconf/config.dat:
                 root      16901 F.... dpkg-preconfigu

jetzt heißt es:

dpkg: error: dpkg status database is locked by another process

aber wein scheint eingebaut zu haben

1
JGoesGaming

Da können wir ablesen

dpkg: error processing package libsasl2-modules:i386 (--configure):
dependency problems - leaving unconfigured

1. Sie müssen ausführen

dpkg --configure -a

Welches gab uns

debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by  
another process: Resource temporarily unavailable

2. Um /var/cache/debconf/config.dat freizuschalten:

Sudo fuser -v -k /var/cache/debconf/config.dat

oder laufe

Sudo fuser -v /var/cache/debconf/config.dat

und beenden Sie den Prozess mit der angegebenen PID, wie zum Beispiel:

Sudo kill PID_HERE & Sudo kill -9 PID_HERE


Danach sollte dpkg --configure -a das Problem lösen können. Wenn nicht, versuchen Sie es mit Sudo dpkg --configure -a --force-depends.


Quellen & weitere Informationen:

http://manpages.ubuntu.com/manpages/xenial/en/man1/dpkg.1.html

http://manpages.ubuntu.com/manpages/xenial/en/man1/fuser.1.html

0
M. Becerra