【发布时间】:2018-03-14 17:45:18
【问题描述】:
我正在尝试安装扩展 php7.0-zip(使用 Ubuntu 16.04),我收到以下消息:
The following packages have unmet dependencies:
php7.0-zip : Depends: libzip2 (>= 0.11.2) but 0.10.1-1.2 is to be installed
这是我的 php 版本:
PHP 7.0.28-1~dotdeb+8.1 (cli) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
with Zend OPcache v7.0.28-1~dotdeb+8.1, Copyright (c) 1999-2017, by Zend Technologies
我尝试运行 sudo apt-get update,清除并重新安装 libzip2,但较新的版本是 0.10.1-1.2 libzip2 is already the newest version (0.10.1-1.2).
我不知道该怎么做,请帮助
【问题讨论】:
标签: php ubuntu-16.04 php-extension