每次我使用 apt-get 相关命令安装任何软件包时,都会出现以下错误,
dpkg: error processing php-pear (--configure):
package php-pear is not ready for configuration
cannot configure (current status `half-installed')
Errors were encountered while processing:
php-pear
E: Sub-process /usr/bin/dpkg returned an error code (1)
有人能建议如何解决这个问题吗?我可以重新安装或删除 php-pear,因为我遇到了同样的错误。谢谢。