uuid-dev 未满足的依赖项

uuid-dev 未满足的依赖项

我尝试了 apt-get update、apt-get upgrade、apt-get install -f,但仍然无法摆脱这种依赖关系。

我正在运行 14.04。如何摆脱这个问题以便安装 uuid-dev。

$ sudo apt-get install uuid-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:
 uuid-dev : Depends: libuuid1 (= 2.20.1-5.1ubuntu20) but 2.20.1-5.1ubuntu20.4 is to be installed
E: Unable to correct problems, you have held broken packages.`

答案1

我在 14.04 上遇到了同样的问题。我通过执行以下操作可以使其正常工作:

sudo apt-get install libuuid1=2.20.1-5.1ubuntu20
sudo apt-get install libuuid-dev

相关内容