Distributions
› Ubuntu
› Fedora
› CentOS
中文资源站
› 网易开源镜像站
johnsneakers
V2EX  ›  Linux

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

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

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