dpkg: error processing package

dpkg: error processing package libpaper1:amd64 (--configure):
 installed libpaper1:amd64 package post-installation script subprocess returned error exit status 10
Setting up php7.4-json (7.4.3-4ubuntu2.18) ...
dpkg: error processing package php7.4-json (--configure):
 installed php7.4-json package post-installation script subprocess returned error exit status 10
Setting up php7.4-xml (7.4.3-4ubuntu2.18) ...
dpkg: error processing package php7.4-xml (--configure):
 installed php7.4-xml package post-installation script subprocess returned error exit status 10
Setting up gpg-agent (2.2.19-3ubuntu2.2) ...
dpkg: dependency problems prevent configuration of libapache2-mod-php7.4:
 libapache2-mod-php7.4 depends on php7.4-json; however:
  Package php7.4-json is not configured yet.

对于类似上述提示,可以参考以下内容:
https://blog.csdn.net/yuangc/article/details/124588827
https://askubuntu.com/questions/949760/dpkg-warning-files-list-file-for-package-missing
https://blog.csdn.net/wm9028/article/details/110171223
https://serverfault.com/questions/430682/dpkg-warning-files-list-file-for-package-x-missing

大致意思是说,把包重新install

sudo apt install --reinstall [package]

有错误的包,还要用加–purge 参数remove

sudo apt remove --purge [package]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值