几天来一直在尝试安装 Gnuradio,但一直遇到 qt4 无法正确构建/安装的问题。似乎依赖于一个名为“unity-control-center”的东西,它声称依赖于两个库,这两个库都声称是最新的。如果我尝试只安装 qt4,就会得到这样的结果。如果我尝试从软件中心安装任何 qt4 应用程序,就会得到完全相同的未满足的依赖关系,仅供参考。
ftoewe@ftoewe-Inspiron:~$ sudo apt-get install qt4-dev-tools libqt4-dev libqt4-core libqt4-gui
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:
unity-control-center : Depends: libcheese-gtk23 (>= 3.4.0) but it is not going to be installed
Depends: libcheese7 (>= 3.0.1) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
ftoewe@ftoewe-Inspiron:~$
几天前寻求帮助,但在完成建议时却陷入了困境。所以又回来尝试了。提前致谢。
答案1
这篇文章中建议的解决方案有效,“无法安装 libglew-dev,因为 libcheese 和 libclutter 没有所需的版本”。按照建议操作后,能够安装 qt4。非常感谢 Harris 和 David Foerster。
我尝试安装
libglew-dev
,但遇到了同样的问题。我必须包含以下软件包才能安装它
sudo apt-get install libglew-dev libcheese7 libcheese-gtk23 libclutter-gst-2.0-0 libcogl15 libclutter-gtk-1.0-0 libclutter-1.0-0
它将包括所有必需的包。