C++ 无法在Ubuntu 12.04中安装Boost库
我试图在我的ubuntu 12.04中安装Boost库,但总是出现以下错误:C++ 无法在Ubuntu 12.04中安装Boost库,c++,ubuntu,boost,ubuntu-12.04,C++,Ubuntu,Boost,Ubuntu 12.04,我试图在我的ubuntu 12.04中安装Boost库,但总是出现以下错误: The following packages have unmet dependencies: libboost-all-dev : Depends: libboost-iostreams-dev but it is not going to be installed Depends: libboost-regex-dev but it is not going to be i
The following packages have unmet dependencies:
libboost-all-dev : Depends: libboost-iostreams-dev but it is not going to be installed
Depends: libboost-regex-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages
我一直在寻找未满足依赖项问题的解决方案,但似乎没有任何效果。有人能帮忙吗
在我的终端上运行sudo apt get install libboost all dev
命令时,出现上述错误 运行sudo-apt-get-update
是否会更改sudo-apt-get-install-libboost-all-dev
的输出?另外,在运行sudo-apt-get-update
之后,sudo-aptitude-install-libboost-all-dev
的输出是什么?@billynch-run-aptitude-install确实为我提供了一种解决问题的方法。谢谢,它建议我降低一个软件包的级别,然后,libboost-all-dev的安装运行良好。谢谢