duancai1904 2018-03-14 17:45
浏览 378

坚持安装php7.0-zip扩展

Im trying to install the extension php7.0-zip (using Ubuntu 16.04), im getting the following message:

The following packages have unmet dependencies:
php7.0-zip : Depends: libzip2 (>= 0.11.2) but 0.10.1-1.2 is to be installed

this is my php version:

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

i tried to run sudo apt-get update, purgue and reinstall libzip2 but the newer version is 0.10.1-1.2 libzip2 is already the newest version (0.10.1-1.2).

I don't have a clue of what to do, plz help

  • 写回答

1条回答

  • dsedug8644 2018-03-14 17:47
    关注

    libzip4:i386 is a 32-bit package. and conflicts with 64-bit version. are you using a 32-bit computer?

    if you are using 64-bit then do: sudo apt-get purge libzip4

    then:

    sudo apt-get install php-zip
    

    if you are using 32-bit then:

    sudo apt-get install php-zip:i386
    
    评论

报告相同问题?

悬赏问题

  • ¥15 这个电路是如何实现路灯控制器的,原理是什么,怎么求解灯亮起后熄灭的时间如图?
  • ¥15 matlab数字图像处理频率域滤波
  • ¥15 在abaqus做了二维正交切削模型,给刀具添加了超声振动条件后输出切削力为什么比普通切削增大这么多
  • ¥15 ELGamal和paillier计算效率谁快?
  • ¥15 file converter 转换格式失败 报错 Error marking filters as finished,如何解决?
  • ¥15 Arcgis相交分析无法绘制一个或多个图形
  • ¥15 关于#r语言#的问题:差异分析前数据准备,报错Error in data[, sampleName1] : subscript out of bounds请问怎么解决呀以下是全部代码:
  • ¥15 seatunnel-web使用SQL组件时候后台报错,无法找到表格
  • ¥15 fpga自动售货机数码管(相关搜索:数字时钟)
  • ¥15 用前端向数据库插入数据,通过debug发现数据能走到后端,但是放行之后就会提示错误