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

2014-10-10 22:12:11 +08:00
 johnsneakers
现在我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.



网上方法都试过,不怎么有效
3305 次点击
所在节点    Linux
16 条回复
jings
2014-10-10 22:15:44 +08:00
dpkg是删不干净的
est
2014-10-10 22:22:59 +08:00
libssl 都能删掉啊。。。强。。。。。。。。。。。。。。。。。。。
rentaro
2014-10-10 22:24:24 +08:00
johnsneakers
2014-10-10 22:30:33 +08:00
@rentaro
我试过这个。。不行 - -!
rentaro
2014-10-10 22:33:51 +08:00
好吧,那你 dpkg 加了哪個選項刪成這個樣子的,當時的輸出還能看到麼,不行就直接編譯
johnsneakers
2014-10-10 22:40:36 +08:00
@rentaro 看不到了, 也只能编译了。。。。。
14
2014-10-10 22:42:34 +08:00
头像到位
webjin
2014-10-10 22:47:23 +08:00
哦 怎么删除的?
ryd994
2014-10-10 22:47:51 +08:00
apt-get update过没?
换过源没?
用aptitude看看依赖
tyhunter
2014-10-10 23:11:49 +08:00
LZ头像很应景。。。。恩,是这样的
hzqim
2014-10-10 23:16:15 +08:00
aptitude install nginx
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
2014-10-10 23:19:26 +08:00
嗯,头像不错!
zts1993
2014-10-10 23:38:29 +08:00
那天我把yum删掉了。。。。。。。。。。。。。。唉
xarrow
2014-10-11 09:31:04 +08:00
@zts1993 同感.....哎....
lfzyx
2014-10-11 17:42:25 +08:00
apt-get install libssl-dev

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/138151

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX