qt-creator 將不會安裝

qt-creator 將不會安裝

我嘗試從應用程式網格、軟體中心和 gnome 軟體安裝 qt Creator。所有 3 個錯誤都產生了與此錯誤類似的錯誤:

來自軟體中心的錯誤訊息

我擴展了“詳細資訊”部分並獲得了以下輸出:

The following packages have unmet dependencies:

qtcreator: Depends: qml-module-qtquick-controls (>= 5.2.1-4~) but 5.5.1-1ubuntu1 is to be installed       
Depends: qml-module-qtquick2 (>= 5.2.1-5~) but 5.5.1-2ubuntu6 is to be installed       
Depends: qtcreator-data (= 3.5.1+dfsg-2ubuntu2) but 3.5.1+dfsg-2ubuntu2 is to be installed  
Depends: libclang1-3.6 (>= 3.6) but 1:3.6.2-3ubuntu2 is to be installed   
Depends: libgcc1 (>= 1:4.1.1) but 1:6.0.1-0ubuntu1 is to be installed
Depends: libqt5concurrent5 (>= 5.0.2) but 5.5.1+dfsg-16ubuntu7 is to be installed
Depends: libqt5core5a (>= 5.5.1) but 5.5.1+dfsg-16ubuntu7.1 is to be installed
Depends: libqt5designer5 (>= 5.0.2) but 5.5.1-3build1 is to be installed   
Depends: libqt5designercomponents5 (>= 5.0.2) but 5.5.1-3build1 is to be installed
Depends: libqt5gui5-gles (>= 5.5.0) but 5.5.1+dfsg-16ubuntu6 is to be installed
Depends: libqt5help5 (>= 5.0.2) but 5.5.1-3build1 is to be installed
Depends: libqt5network5 (>= 5.0.2) but 5.5.1+dfsg-16ubuntu7.1 is to be installed
Depends: libqt5printsupport5 (>= 5.0.2) but 5.5.1+dfsg-16ubuntu7.1 is to be installed
Depends: libqt5qml5 (>= 5.5.0) but 5.5.1-2ubuntu6 is to be installed
Depends: libqt5quick5-gles (>= 5.2.0~rc1) but 5.5.1-2ubuntu6 is to be installed
Depends: libqt5quickwidgets5-gles (>= 5.5.1-2ubuntu1~xenial1~test2) but 5.5.1-2ubuntu6 is to be installed
Depends: libqt5sql5 (>= 5.0.2) but 5.5.1+dfsg-16ubuntu7.1 is to be installed
Depends: libqt5test5 (>= 5.5.0) but 5.5.1+dfsg-16ubuntu7.1 is to be installed
Depends: libqt5webkit5 (>= 5.2.0) but 5.5.1+dfsg-2ubuntu1 is to be installed
Depends: libqt5widgets5 (>= 5.3.0) but 5.5.1+dfsg-16ubuntu7.1 is to be installed
Depends: libqt5xml5 (>= 5.2.0) but 5.5.1+dfsg-16ubuntu7.1 is to be installed
Depends: libstdc++6 (>= 5.2) but 5.4.0-6ubuntu1~16.04.2 is to be installed
Depends: qtbase-abi-5-5-1 but it is a virtual package
Depends: qtdeclarative-abi-5-5-0 but it is a virtual package

此計算機運行的是 Ubuntu 16.04 Xenial Xerus。

抱歉,我不知道如何為所有這些行添加程式碼,它似乎只想做一行,請隨意編輯更正的程式碼。

先致謝!

答案1

儲存庫顯然有東西壞了。然而我發現他們網站上的 .run 文件https://wiki.qt.io/Main工作沒有任何問題。只需下載,cd 到終端中的“下載”,然後運行:

chmod +x qt-unified-linux*
./unified-linux... [tab to autocomplete filename]

工作順利!

相關內容