未解决的依赖项

时间:2014-09-24 09:10:50

标签: ubuntu apt-get

我正在尝试安装

apt-get -f install ntp git build-essential libssl-dev libdb-dev libdb++-dev libboost-all-dev libqrencode-dev

当我尝试使用所有依赖项(如

)进行安装时,在Ubuntu上获取依赖项错误

sudo apt-get -f install g++ g++-4.8 libstdc++-4.8-dev libc6-dev libc6 libdb-dev libdb++-dev libboost-all-dev libqrencode-dev g++ libc-dev libc6-dev libboost-dev libboost-*-dev libboost-iostreams-dev libboost-mpi-dev libboost-mpi-python-dev libc6 libssl1.0.0

我收到第二个错误 libboost-iostreams1.54-dev : Depends: libboost-iostreams1.54.0 (= 1.54.0-4ubuntu3) but 1.54.0-4ubuntu3.1 is to be installed libc6-dev : Depends: libc6 (= 2.19-0ubuntu6) but 2.19-0ubuntu6.3 is to be installed libssl-dev : Depends: libssl1.0.0 (= 1.0.1f-1ubuntu2) but 1.0.1f-1ubuntu2.5 is to be installed libxml2-dev : Depends: libxml2 (= 2.9.1+dfsg1-3ubuntu4) but 2.9.1+dfsg1-3ubuntu4.3 is to be installed

我似乎无法克服这个错误。

1 个答案:

答案 0 :(得分:0)

似乎正在尝试安装不同版本的依赖项。

sudo apt-get update
sudo apt-get install libboost-iostreams1.54.0 libc6 libssl1.0.0 libxml2

然后再次尝试安装