有人能告诉我如何通过命令提示符在 Ubuntu 12.04 上安装 Okular 以及 KParts 插件吗?或者如果可以的话,请告诉我任何安装它的 ppa
已经尝试过
sudo apt-add-repository ppa:kubuntu-ppa/backports
sudo apt-add-repository ppa:kalakris/okular
sudo apt-get update
sudo apt-get install okular
以下软件包具有未满足的依赖关系:
okular:Depends: libkio5 but it is not going to be installed
Depends: libkparts4 but it is not going to be installed
Depends: libkprintutils4 but it is not going to be installed
Depends: libokularcore4 (= 4:4.13.2-0ubuntu0.1~ubuntu12.04~ppa1) but it is not going to be installed
Depends: libphonon4 (>= 4:4.7.0really4.3.80) but it is not installable
Depends: libpoppler-qt4-3 (>= 0.18) but it is not installable
Depends: libqca2 (>= 2.0.2) but it is not installable
Depends: libqimageblitz4 (>= 1:0.0.4) but it is not installable
Depends: phonon but it is not installable
E: Unable to correct problems, you have held broken packages.
让我知道需要做什么。
提前致谢。
答案1
okular 和 kpartsplugin 都在 Ubuntu 12.04 的 Ubuntu 存储库中,因此您无需添加这两个 PPA 即可安装它们。如果您出于其他原因不需要这两个 PPA,可以将其删除,然后只需以常规方式安装 okular 和 kpartsplugin 即可。
从终端运行:
sudo apt-add-repository --remove ppa:kubuntu-ppa/backports
sudo apt-add-repository --remove ppa:kalakris/okular
sudo apt-get update
sudo apt-get install okular kpartsplugin