为什么我无法在 raspbian buster 上安装 qt5-default

为什么我无法在 raspbian buster 上安装 qt5-default

我使用katoolin安装了一些更新的qt5软件。当我从sources.list 文件中删除链接后,一切都正常了。然后我卸载了qt5-default。今天当我尝试安装 qt5-default 时(因为我需要使用它)

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:
qt5-default : Depends: qtbase5-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

我应该如何解决这个问题?当我尝试安装 qtbase 时,它​​说无法下载。以前一切正常,但现在不知何故损坏了。我怎样才能解决这个问题?

答案1

问题是,当您添加存储库并从该存储库安装时,您的 apt 受到了严重影响,并且无法解决问题。解决这个问题是一个漫长的过程,这个问题无法消除,但可以减少。首先尝试安装该软件包并查看依赖文件跟踪该软件包并卸载该软件包(因为安装后您无法继续修复该软件包)现在继续重复一段时间,直到您可以安装所需的软件包。您必须从刚刚删除的存储库中卸载所有内容。

相关内容