如何在ubuntu中修复损坏的包?

问题描述 投票:-1回答:1

我买了一台新的笔记本电脑并安装了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.

我不知道如何解决这个问题。

linux ubuntu
1个回答
0
投票

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

# apt-get install --fix-broken

它应该修复你破损的包裹

© www.soinside.com 2019 - 2024. All rights reserved.