V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
1dian01
V2EX  ›  Linux

debian 安装 nginx 提示错误,求破!「阿里云,debian6」

  •  
  •   1dian01 · 2014-04-23 17:56:07 +08:00 · 4790 次点击
    这是一个创建于 3627 天前的主题,其中的信息可能已经有所发展或是发生改变。
    # apt-get install -y nginx-full
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:

    The following packages have unmet dependencies:
    nginx-full : Depends: libgeoip1 (>= 1.4.8+dfsg) but 1.4.7~beta6+dfsg-1 is to be installed
    Depends: libpcre3 (>= 8.10) but 8.02-1.1 is to be installed
    Depends: libssl1.0.0 (>= 1.0.1) but it is not installable
    E: Broken packages
    11 条回复    1970-01-01 08:00:00 +08:00
    dorentus
        1
    dorentus  
       2014-04-23 18:01:58 +08:00 via iPhone   ❤️ 1
    先 apt-get update 一下
    lerry
        2
    lerry  
       2014-04-23 18:08:06 +08:00   ❤️ 1
    推荐使用Dotdeb的源 ,版本比较新

    http://www.dotdeb.org/instructions/
    xdeng
        3
    xdeng  
       2014-04-23 18:16:27 +08:00 via iPhone   ❤️ 1
    前两个版本低 后一个没装
    1dian01
        4
    1dian01  
    OP
       2014-04-23 18:22:38 +08:00
    @dorentus
    @lerry
    @xdeng

    已apt-get update过了,请问这个提示是指安装源的问题吗?还是本地安装版本的问题,需要在本地升级或者安装?
    dorentus
        5
    dorentus  
       2014-04-23 18:28:52 +08:00   ❤️ 1
    这应该是你的源里面,当前版本软件包之间有冲突……正常情况下官方稳定版的源里面不会出现这种问题。

    换官方源、或者干脆升级到 Debian 7、或者按 @lerry 说的添加 dotdeb 的源,应该都能解决吧。
    1dian01
        6
    1dian01  
    OP
       2014-04-23 18:34:27 +08:00
    @dorentus 添加dotdeb需要删掉其他的源吗?
    lerry
        7
    lerry  
       2014-04-23 18:37:30 +08:00   ❤️ 1
    @1dian01 不用删别的,上面那个链接有步骤说明的
    1dian01
        8
    1dian01  
    OP
       2014-04-23 18:40:20 +08:00
    @lerry 已按住那个流程过了一遍,还是不行,奇怪
    lerry
        9
    lerry  
       2014-04-23 18:54:50 +08:00
    @1dian01
    解决了吗?楼主可以向我资料里的Gmail邮箱发邮件,共同探讨一下...
    XXOO
        10
    XXOO  
       2014-04-24 09:56:29 +08:00
    没问题啊.nginx安装.
    wdlth
        11
    wdlth  
       2014-04-24 11:57:22 +08:00
    去source.list看看是不是选择的squeeze,如果是wheezy是Debian 7,会冲突。
    或者是LZ你原来安装某些软件的时候装上了旧版本的pcre和libgeoip,导致冲突。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3188 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 14:26 · PVG 22:26 · LAX 07:26 · JFK 10:26
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.