如何解决 apt 错误“E: 无法更正问题,您持有损坏的软件包”

如何解决 apt 错误“E: 无法更正问题,您持有损坏的软件包”

我正在运行这个命令:

sudo apt install libqt5svg5-private-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:
 libqt5svg5-private-dev : Depends: libqt5svg5-dev (= 5.2.1-1) but 5.5.1-2build1 is to be installed
E: Unable to correct problems, you have held broken packages.

我该怎么做才能解决这个问题?我已经尝试过了apt install -f,但没有成功aptitude

相关内容