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

[debian]手贱把 nginx 的包用 dpkg 都删了,现在重新装不起了

  •  
  •   johnsneakers · 2014-10-10 22:12:11 +08:00 · 3244 次点击
    这是一个创建于 3494 天前的主题,其中的信息可能已经有所发展或是发生改变。
    现在我apt-get install nginx 提示我好像某些包没了?

    完整报错:
    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 : Depends: libssl0.9.8 (>= 0.9.8m-1) but it is not installable
    E: Unable to correct problems, you have held broken packages.



    网上方法都试过,不怎么有效
    16 条回复    2014-10-11 17:42:25 +08:00
    jings
        1
    jings  
       2014-10-10 22:15:44 +08:00
    dpkg是删不干净的
    est
        2
    est  
       2014-10-10 22:22:59 +08:00
    libssl 都能删掉啊。。。强。。。。。。。。。。。。。。。。。。。
    johnsneakers
        4
    johnsneakers  
    OP
       2014-10-10 22:30:33 +08:00
    @rentaro
    我试过这个。。不行 - -!
    rentaro
        5
    rentaro  
       2014-10-10 22:33:51 +08:00   ❤️ 1
    好吧,那你 dpkg 加了哪個選項刪成這個樣子的,當時的輸出還能看到麼,不行就直接編譯
    johnsneakers
        6
    johnsneakers  
    OP
       2014-10-10 22:40:36 +08:00
    @rentaro 看不到了, 也只能编译了。。。。。
    14
        7
    14  
       2014-10-10 22:42:34 +08:00
    头像到位
    webjin
        8
    webjin  
       2014-10-10 22:47:23 +08:00
    哦 怎么删除的?
    ryd994
        9
    ryd994  
       2014-10-10 22:47:51 +08:00
    apt-get update过没?
    换过源没?
    用aptitude看看依赖
    tyhunter
        10
    tyhunter  
       2014-10-10 23:11:49 +08:00
    LZ头像很应景。。。。恩,是这样的
    hzqim
        11
    hzqim  
       2014-10-10 23:16:15 +08:00
    aptitude install nginx
    ToughGuy
        12
    ToughGuy  
       2014-10-10 23:16:59 +08:00
    sudo apt-get update
    (
    sudo apt-get install nginx
    OR
    sudo apt-get install aptitude && sudo aptitude install nginx
    )

    试试看先
    erse
        13
    erse  
       2014-10-10 23:19:26 +08:00
    嗯,头像不错!
    zts1993
        14
    zts1993  
       2014-10-10 23:38:29 +08:00
    那天我把yum删掉了。。。。。。。。。。。。。。唉
    xarrow
        15
    xarrow  
       2014-10-11 09:31:04 +08:00
    @zts1993 同感.....哎....
    lfzyx
        16
    lfzyx  
       2014-10-11 17:42:25 +08:00
    apt-get install libssl-dev
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2898 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 13:54 · PVG 21:54 · LAX 06:54 · JFK 09:54
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.