0

Can some please let me how to Install Okular on Ubuntu 12.04 and also KParts Plugin by command prompt or if you can please let me know any ppa's to install it

Already tried

sudo apt-add-repository ppa:kubuntu-ppa/backports
sudo apt-add-repository ppa:kalakris/okular
sudo apt-get update
sudo apt-get install okular

The following packages have unmet dependencies:

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.

Let me know what needs to be done.

Thanks in advance.

Sooraj S
  • 1,101
Rshrth
  • 185

1 Answers1

4

Both okular and kpartsplugin are in the Ubuntu repositories for Ubuntu 12.04, so you didn't need to add the two PPAs to install them. If you don't need the two PPAs for any other reason they can be removed, and then just install okular and kpartsplugin in the usual way.

From the terminal run:

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
karel
  • 114,770
  • No kpartsplugin package should i edit something in apt sourcelist?

    sudo apt-get install kpartsplugin sudo: unable to resolve host SharathRL-PES Reading package lists... Done Building dependency tree
    Reading state information... Done E: Unable to locate package kpartsplugin

    – Rshrth Sep 11 '14 at 11:33
  • kpartsplugin is in the universe repository. Search for Software Sources in the Dash and make sure that the universe repository is enabled in your list of software sources. From the terminal run sudo apt-get update to update your list of available packages. Then you should be able to install kpartsplugin in the usual way. – karel Sep 11 '14 at 11:37
  • Great, btw always search for the package you want to install in the Ubuntu Software Center first, even if some tutorial on the web said to add a PPA. – karel Sep 11 '14 at 11:42
  • karel i am trying to build a image.. There in that I cannot access software centre. PPA was giving lot of dependencies issue.. anyways thanks.. Can u help me with this question if u r free buddy

    http://askubuntu.com/questions/522762/adding-user-in-the-image-using-ubuntu-customization-kit

    – Rshrth Sep 11 '14 at 11:52