【问题标题】:unable to install programs无法安装程序
【发布时间】:2020-03-28 01:38:04
【问题描述】:

然后我尝试使用 apt-get install 安装 somthing 我得到一个错误 我已经托盘安装单声道

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)

链接到更完整的错误消息 https://pastebin.com/1GgmK9v4

【问题讨论】:

    标签: ubuntu ubuntu-18.04 dpkg


    【解决方案1】:

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

    因此,您正在安装的软件包已经正确安装,但是您还有其他软件包 not fully installed,如错误所述。

    你可以试试看是哪个进程使用via

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

    并可能使用kill -9 PID_ID 终止进程

    然后使用: apt install -f

    解决这些依赖关系。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2023-03-04
      • 1970-01-01
      • 1970-01-01
      • 2018-09-23
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多