无法安装程序

时间:2020-03-28 01:38:04

标签: ubuntu ubuntu-18.04 dpkg

然后我尝试使用apt-get install安装东西,但出现错误 我已经安装了单声道安装

dpkg: error processing package php7.3-bz2 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 php7.2-common
 php7.3-common
 php7.3-xmlrpc
 php7.2-curl
 grub-pc
 php7.3-dev
 php7.3-curl
 php7.2-mbstring
 php7.3-opcache
 php7.3-xml
 php7.2-readline
 php7.3-gd
 php7.2-cli
 php7.3-mysql
 php7.3-cli
 php7.2-json
 php7.2-cgi
 php7.3-readline
 php7.3-fpm
 php7.3-intl
 php7.3
 php7.2-opcache
 php7.2-mysql
 php7.2-gd
 php7.2-dev
 php7.2-xml
 php7.3-zip
 php7.2-xmlrpc
 php7.2-fpm
 php7.3-mbstring
 php7.2-zip
 php7.3-json
 php7.3-phpdbg
 php7.3-bz2
E: Sub-process /usr/bin/dpkg returned an error code (1)

链接到整个错误信息 map_partitions

1 个答案:

答案 0 :(得分:0)

mono-devel is already the newest version (6.8.0.105-0xamarin3+ubuntu1804b1).

因此,您正在安装的软件包已经正确安装,但是由于错误状态,您还有其他not fully installed软件包。

您可以尝试查看通过哪个进程使用

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

,可能用kill -9 PID_ID

终止了进程

然后使用: apt install -f

解决这些依赖性。