gpt4 book ai didi

qt - 尝试在 Ubuntu 中安装 qtbase5-dev 时出错

转载 作者:太空宇宙 更新时间:2023-11-03 16:47:46 25 4
gpt4 key购买 nike

我正在尝试使用 sudo apt-get install qtbase5-dev 安装 qt5 开发库,但出现错误:

Some packages could not be installed. This may mean that you haverequested an impossible situation or if you are using the unstabledistribution that some required packages have not yet been createdor been moved out of Incoming.The following information may help to resolve the situation:The following packages have unmet dependencies: qtbase5-dev : Depends: libgles2-mesa-dev or                        libgles2-dev but it is not installable               Depends: libqt5gui5 (= 5.2.1+dfsg-1ubuntu14.3) but it is not going to be installed               Depends: libqt5printsupport5 (= 5.2.1+dfsg-1ubuntu14.3) but it is not going to be installed               Depends: libqt5widgets5 (= 5.2.1+dfsg-1ubuntu14.3) but it is not going to be installed               Recommends: libqt5opengl5-dev (= 5.2.1+dfsg-1ubuntu14.3) but it is not going to be installedE: Unable to correct problems, you have held broken packages.

问题是我没有保留包裹 - 我使用 dpkg --get-selections | grep hold 检查过, 但它什么也没显示。

最佳答案

对我来说,这是由正在安装的 oibaf 图形 PPA 引起的。

sudo apt-get install ppa-purge

sudo ppa-purge ppa:oibaf/graphics-drivers

将恢复为库存图形库。

关于qt - 尝试在 Ubuntu 中安装 qtbase5-dev 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40202501/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com