【问题标题】:can't install QT4 on linux Mint无法在 linux Mint 上安装 QT4
【发布时间】:2014-01-01 02:08:28
【问题描述】:

我正在尝试在 linux mint 上使用 CMAKE 编译 vpnshrew。 但是 QT4 丢失了,我已经尝试了一切都没有成功。起跑线就是这个依赖错误:

$ sudo apt-get install libqt4-core
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:
 libqt4-core : Depends: libqt4-dbus (= 4:4.8.3+dfsg-0ubuntu3) but it is not going to be installed
           Depends: libqt4-network (= 4:4.8.3+dfsg-0ubuntu3) but it is not going to be installed
           Depends: libqt4-script (= 4:4.8.3+dfsg-0ubuntu3) but it is not going to be installed
           Depends: libqt4-test (= 4:4.8.3+dfsg-0ubuntu3) but 4:4.8.3+dfsg-0ubuntu3.1 is to be installed
           Depends: libqt4-xml (= 4:4.8.3+dfsg-0ubuntu3) but 4:4.8.3+dfsg-0ubuntu3.1 is to be installed
           Depends: libqtcore4 (= 4:4.8.3+dfsg-0ubuntu3) but 4:4.8.3+dfsg-0ubuntu3.1 is to be installed
E: Unable to correct problems, you have held broken packages.

我已经尝试了很多解决方案。即

sudo dpkg --configure -a
sudo apt-get -f install
sudo apt-get update

提前感谢您的帮助。

【问题讨论】:

    标签: linux qt4 cmake vpn linux-mint


    【解决方案1】:

    试试sudo apt-get install qt4-dev-tools libqt4-dev libqt4-core libqt4-gui

    【讨论】:

      猜你喜欢
      • 2023-03-04
      • 2019-11-10
      • 1970-01-01
      • 2020-08-24
      • 2017-10-03
      • 2017-08-02
      • 2015-01-03
      • 1970-01-01
      • 2015-03-30
      相关资源
      最近更新 更多