帮酷LOGO
0 0 评论
  • 显示原文与译文双语对照的内容
文章标签:依赖  DEP  

问题:


linux-image-server depends on linux-image-3.2.0-39-generic; however:


 Package linux-image-3.2.0-39-generic is not installed.


dpkg: error processing linux-image-server (--configure):


 dependency problems - leaving unconfigured


No apport report written because the error message indicates its a followup error from a previous failure.


dpkg: dependency problems prevent configuration of linux-server:


linux-server depends on linux-image-server (= 3.2.0.39.47); however:


 Package linux-image-server is not configured yet.


linux-server depends on linux-headers-server (= 3.2.0.39.47); however:


 Version of linux-headers-server on system is 3.2.0.40.48.


dpkg: error processing linux-server (--configure):


 dependency problems - leaving unconfigured


No apport report written because the error message indicates its a followup error from a previous failure.



Errors were encountered while processing:



linux-image-server


linux-server



E: Sub-process/usr/bin/dpkg returned an error code (1)



我不知道该如何解决这个问题。 请帮我。> <


回答 1:

我这里可以工作:


sudo dpkg --remove linux-server


sudo dpkg --remove linux-image-server linux-headers-server


# purge unused kernels, but could do more so your mileage may vary


sudo apt-get autoremove


sudo apt-get install linux-server linux-image-generic linux-headers-generic




回答 2:

对我来说,解决方案是不同的。

我使用了命令 sudo aptitude,当图形菜单出现时,我使用 / 获得了一个弹出的搜索字段。 linux-header, linux-image, linux-server 版本和删除了按 - 当前使用的所有版本。

要查找当前的内核版本,我使用了 uname -r

最后,我按照选择的顺序安装了新版本的linux-{header, image, server} 并按下 +

确认使用 u的更新。

最后我重启了,一切都搞定了。




文章标签:DEP  依赖  

Copyright © 2011 HelpLib All rights reserved.    知识分享协议 京ICP备05059198号-3  |  如果智培  |  酷兔英语