V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
johnsneakers
V2EX  ›  Linux

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

  •  
  •   johnsneakers · Oct 10, 2014 · 3886 views
    This topic created in 4230 days ago, the information mentioned may be changed or developed.
    现在我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 replies    2014-10-11 17:42:25 +08:00
    jings
        1
    jings  
       Oct 10, 2014
    dpkg是删不干净的
    est
        2
    est  
       Oct 10, 2014
    libssl 都能删掉啊。。。强。。。。。。。。。。。。。。。。。。。
    johnsneakers
        4
    johnsneakers  
    OP
       Oct 10, 2014
    @rentaro
    我试过这个。。不行 - -!
    rentaro
        5
    rentaro  
       Oct 10, 2014   ❤️ 1
    好吧,那你 dpkg 加了哪個選項刪成這個樣子的,當時的輸出還能看到麼,不行就直接編譯
    johnsneakers
        6
    johnsneakers  
    OP
       Oct 10, 2014
    @rentaro 看不到了, 也只能编译了。。。。。
    14
        7
    14  
       Oct 10, 2014
    头像到位
    webjin
        8
    webjin  
       Oct 10, 2014
    哦 怎么删除的?
    ryd994
        9
    ryd994  
       Oct 10, 2014
    apt-get update过没?
    换过源没?
    用aptitude看看依赖
    tyhunter
        10
    tyhunter  
       Oct 10, 2014
    LZ头像很应景。。。。恩,是这样的
    hzqim
        11
    hzqim  
       Oct 10, 2014
    aptitude install nginx
    ToughGuy
        12
    ToughGuy  
       Oct 10, 2014
    sudo apt-get update
    (
    sudo apt-get install nginx
    OR
    sudo apt-get install aptitude && sudo aptitude install nginx
    )

    试试看先
    erse
        13
    erse  
       Oct 10, 2014
    嗯,头像不错!
    zts1993
        14
    zts1993  
       Oct 10, 2014
    那天我把yum删掉了。。。。。。。。。。。。。。唉
    xarrow
        15
    xarrow  
       Oct 11, 2014
    @zts1993 同感.....哎....
    lfzyx
        16
    lfzyx  
       Oct 11, 2014
    apt-get install libssl-dev
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3943 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 102ms · UTC 10:27 · PVG 18:27 · LAX 03:27 · JFK 06:27
    ♥ Do have faith in what you're doing.