我通过以下方式安装了 libnuma-dev:
sudo apt-get install libnuma-dev
但我明白:
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:
libnuma-dev : Depends: libnuma1 (= 2.0.8~rc3-1) but 2.0.9~rc5-1ubuntu3.14.04.2 is to be installed
E: Unable to correct problems, you have held broken packages.
我尝试卸载并重新安装,但不起作用。谁能帮助我吗?多谢!
将您的系统更新到最新版本。这就是导致问题的原因!
您需要将
libnuma1
升级到最新版本。它被设置为需要完全相同的 -dev
软件包版本,而与您当前安装的基础软件包对应的版本显然不再可用。
总而言之,您可以使用以下命令安装或升级核心运行时包以及开发包:
sudo apt install libnuma1 libnuma-dev