在 ubuntu 14.04 上安装 ceph 时,我遇到了一个问题。根据此处的文档https://github.com/ceph/ceph/tree/infernalis,依赖项将通过运行来实现
./install-deps.sh
但是,就我而言,我收到了如下错误消息:
uuid-runtime is already the newest version.
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:
libblkid-dev : Depends: libblkid1 (= 2.20.1-5.1ubuntu20) but 2.20.1-5.1ubuntu20.1 is to be installed
Depends: uuid-dev but it is not going to be installed
libboost-system-dev : Depends: libboost-system1.54-dev but it is not going to be installed
libboost-thread-dev : Depends: libboost-thread1.54-dev but it is not going to be installed
libcurl4-gnutls-dev : Depends: libkrb5-dev but it is not going to be installed
libfuse-dev : Depends: libselinux-dev
liblttng-ust-dev : Depends: uuid-dev but it is not going to be installed
libudev-dev : Depends: libudev1 (= 204-5ubuntu20) but 204-5ubuntu20.14 is to be installed
xfslibs-dev : Depends: uuid-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
我试图运行apt-get update
然后运行apt-get install -f
但错误仍然存在。此外,我还尝试在突触中安装所有系统升级,但仍然没有运气解决这个问题。
在最后的机会中,我也尝试运行sudo apt-get install libuuid1=2.20.1-5.1ubuntu20
。这个命令导致一些库被从系统中删除,但依赖关系仍然不满足。
请分享我的意见,我该如何面对这个问题。谢谢!