无法安装 qt-sdk 未满足的依赖项

无法安装 qt-sdk 未满足的依赖项

我尝试在 ubuntu 12.10 下安装 qt-sdk,如何解决这个问题?

安装日志:

apt-get install qt-sdk
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:
 qt-sdk : Depends: qt4-designer but it is not going to be installed
          Depends: qt4-dev-tools but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

答案1

首先做

sudo apt-get install qtcreator 
sudo apt-get install qt4-designer
sudo apt-get install qt4-dev-tools

然后

sudo apt-get install qt-sdk

相关内容