我得到以下信息:
myPrompt: ~ $ sudo apt-get install libboost-all-dev
Reading package lists ... finished
Dependency tree
Status information is read ... finished
Some packages could not be installed. This may mean that
You have requested an impossible situation or if the
Are using the unstable distribution that some required packages have
not created or have not left Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libboost-all-dev: Depends: libboost-date-time-dev but it is not installable
Depends: libboost-python-dev but it is not installable
Depends: libboost-thread-dev but it is not installable
E: Problems can not be corrected, you have held broken packages back.
从德语翻译而来
我不知道这是为什么。尝试根据网上找到的一些资料来修复这个问题……喜欢sudo apt-get -f install
答案1
您有未满足的依赖项。请尝试使用sudo apt-get install -f libboost-all-dev
来安装未满足的依赖项。