![在 ubuntu 1404 上安装 crashdump](https://linux22.com/image/1051755/%E5%9C%A8%20ubuntu%201404%20%E4%B8%8A%E5%AE%89%E8%A3%85%20crashdump%20.png)
我正在关注[这里crash dump
]在 Ubuntu 1404 上安装:
sudo apt-get install linux-crashdump
但是,它会引发以下异常:
... unmet dependencies
linux-crashdump : Depends: kdumptools but it is not going to be installed
附言:我已关注[这里] 来解决问题,但没有发现任何损坏的包裹......
更新:我的平台是 Linux 3.16.0-generic 上的 Ubuntu 14.04。
更新 2:以下是完整的打印输出
app> sudo apt-get install linux-crashdump kdump-tools makedumpfile libdw1
Reading package lists... Done
Building dependency tree
Reading state information... Done
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:
libdw1 : Depends: libelf1 (= 0.158-0ubuntu5) but 0.158-0ubuntu5.2 is to be installed
E: Unable to correct problems, you have held broken packages.
答案1
先跑sudo apt-get update
。
然后 [如果您不想升级该版本,请不要运行此命令]sudo do-release-upgrade
来更新软件包
reboot
。。
然后运行sudo apt-get install linux-crashdump
在 ubuntu 16.04 服务器上