Ubuntu下安装QT,折腾我好几天了。。。

sudo apt-get install libqt4-webkit libqt4-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:

  libqt4-dev: Depends: libqt4-qt3support (= 4.4.3-0ubuntu1.4) but it is not going to be installed

              Depends: libqtgui4 (= 4.4.3-0ubuntu1.4) but it is not going to be installed

              Depends: libqt4-svg (= 4.4.3-0ubuntu1.4) but it is not going to be installed

              Depends: libqt4-designer (= 4.4.3-0ubuntu1.4) but it is not going to be installed

              Depends: libqt4-help (= 4.4.3-0ubuntu1.4) but it is not going to be installed

  libqt4-webkit: Depends: libqtgui4 (= 4.4.3-0ubuntu1.4) but it is not going to be installed

                 Depends: libsqlite3-0 (>= 3.5.9) but 3.4.2-2 is to be installed

E: Broken packages

 

 

实验另一个呼吁:

sudo apt-get install kde4-devel 错误依旧:

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.

 

Since you only requested a single operation it is extremely likely that

the package is simply not installable and a bug report against

that package should be filed.

The following information may help to resolve the situation:

 

The following packages have unmet dependencies:

  kde4-devel: Depends: kde4-core (>= 3.3) but it is not going to be installed

              Depends: kdebase-dev-kde4 (>= 4:4.0.0) but it is not going to be installed

              Depends: kdelibs5-dev (>= 4:4.0.0) but it is not going to be installed

              Depends: kdepimlibs5-dev (>= 4:4.0.0) but it is not going to be installed

              Depends: kdesdk-kde4 (>= 4:4.0.0) but it is not going to be installed

              Depends: libkonq5-dev (>= 4:4.0.0) but it is not going to be installed

              Depends: libplasma-dev (>= 4:4.0.0) but it is not going to be installed

              Depends: qt4-designer but it is not going to be installed

E: Broken packages

 

etc/apt/source.list

deb intrepid-security main

deb-src  intrepid-security main

有这两行就报上面的错误,去掉这两行就提示 E: Couldn't find package libqt4-webkit 。。。抓狂中

 

之前安装Cutycapt报错的原因,应该就是Qt情况没有配好。

 

 

 

Ubuntu下干点工作真够费劲,之前在本本上装的nginx 也是报错 nginx 502 Bad Gateway  愁银~

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/8506.html