我正在尝试安装,libboost-all-dev
但我得到了
$ sudo apt-get install libboost-all-dev
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:
libboost-all-dev : Depends: libboost-date-time-dev but it is not going to be installed
Depends: libboost-filesystem-dev but it is not going to be installed
Depends: libboost-iostreams-dev but it is not going to be installed
Depends: libboost-log-dev but it is not going to be installed
Depends: libboost-system-dev but it is not going to be installed
Depends: libboost-thread-dev but it is not going to be installed
Depends: libboost-wave-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Run Code Online (Sandbox Code Playgroud)
我已经尝试设置-f
标志
sudo apt-get -f install libboost-all-dev
Run Code Online (Sandbox Code Playgroud)
没有成功。我不知道这里有什么问题。
确保你跑了
sudo apt-get update
sudo apt-get dist-upgrade
Run Code Online (Sandbox Code Playgroud)
让您的软件包保持最新。尝试
sudo apt-get purge libboost-all-dev
Run Code Online (Sandbox Code Playgroud)
用于删除包含所有附加文件的包,然后使用
sudo apt-get install -f libboost-all-dev
Run Code Online (Sandbox Code Playgroud)
重新安装全部。
归档时间: |
|
查看次数: |
10575 次 |
最近记录: |