如何修复Ubuntu中损坏的软件包?

时间:2018-09-02 17:09:28

标签: linux ubuntu

我买了一台新笔记本电脑并在其上安装了Ubuntu,我添加了触摸板手势,并进行了其他一些设置,例如更改锁屏墙纸等。

然后我想安装 Okular ,但显示错误:

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:
 okular : Depends: libpoppler-qt5-1 (>= 0.62.0-1ubuntu1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

我不知道该怎么解决。

1 个答案:

答案 0 :(得分:0)

以超级用户身份运行此命令

# apt-get install --fix-broken

它应该修复损坏的包裹