无法在Ubuntu 16上更新或安装任何软件包

时间:2017-12-15 06:30:59

标签: php ubuntu phpmyadmin

我无法在 ubuntu 16.04.3 VPS上安装 phpmyadmin ,安装时出错。

请检查下面提到的错误详情

root @ fmk-me1-1:/ home / flashmarket#apt-get install phpmyadmin

阅读包裹清单......完成

构建依赖关系树

阅读州信息......完成

无法安装某些软件包。这可能意味着你有 请求一个不可能的情况或如果您使用不稳定 尚未创建某些必需包的分发 或被移出Incoming。

以下信息可能有助于解决问题:

以下软件包具有未满足的依赖项:

phpmyadmin:取决于:php但它不可安装

          Depends: php-mbstring but it is not installable
          Depends: php-xml but it is not installable
          Depends: libjs-sphinxdoc (>= 1.0) but it is not installable
          Depends: dbconfig-mysql but it is not installable or
                   dbconfig-no-thanks but it is not installable or
                   dbconfig-common (< 2.0.0) but it is not installable
          Depends: php-php-gettext but it is not installable or
                   php-gettext (<= 1:7.0) but it is not installable
          Recommends: php-curl but it is not installable
          Recommends: php-gd but it is not installable
          Recommends: php-bz2 but it is not installable
          Recommends: php-zip but it is not installable
          Recommends: php-tcpdf but it is not installable

E:无法纠正问题,你已经破了包裹。

1 个答案:

答案 0 :(得分:0)

  1. 执行sudo apt-get autoremove
  2. 然后执行 sudo apt-get update
  3. 然后尝试安装您想要的包