我最近创建了一个 wsl 2 环境,并在其上运行 Kali Linux。当尝试安装元包时,安装过程会Setting up libc6:amd64 (2.37-15) ...
无限期地卡住并且无法进一步进行。我尝试过修复损坏的软件包、检查冲突的软件包、强制安装、尝试手动安装、在 WSL 上重新安装 Kali,然后重新安装整个 WSL 环境。但无论如何,问题似乎仍然存在。
更具体地说,这是我尝试nmap
使用 apt 安装时收到的错误消息:
Setting up libc6:amd64 (2.37-15) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing package libc6:amd64 (--configure):
installed libc6:amd64 package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
libc6:amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
我要么收到与上面类似的错误消息,要么无限期地卡在Setting up libc6:amd64 (2.37-15) ...