Am Samstag, 4. Juni 2016 um 12:25:37, schrieb John Kane <jrkrid...@gmail.com>
> Following up on my last post
> john@john-K53U:~$  sudo apt-get check
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> You might want to run 'apt-get -f install' to correct these.
> The following packages have unmet dependencies:
>  libreoffice-core : Depends: libreoffice-common (> 1:5.1.2) but it is not
> installed
>  libreoffice-java-common : Depends: libreoffice-common (= 1:5.1.2-0ubuntu1)
> but it is not installed
>  libreoffice-style-elementary : Depends: libreoffice-common (=
> 1:5.1.2-0ubuntu1) but it is not installed
>  libreoffice-style-galaxy : Depends: libreoffice-common (=
> 1:5.1.2-0ubuntu1) but it is not installed
> E: Unmet dependencies. Try using -f.
> john@john-K53U:~$
> 
> 
> john@john-K53U:~$  apt-get -f install

Missing 'sudo'

> E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission
> denied)
> E: Unable to lock the administration directory (/var/lib/dpkg/), are you
> root?
> john@john-K53U:~$  apt-get -f install lyx
> E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission
> denied)
> E: Unable to lock the administration directory (/var/lib/dpkg/), are you
> root?
> john@john-K53U:~$
> 
> At the moment I cannot even remove Ly and the message (essentially the same
> as above) seems totally nonsensical.
> 
> n@john-K53U:~$ sudo apt-get remove lyx
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> You might want to run 'apt-get -f install' to correct these:
> The following packages have unmet dependencies:
>  libreoffice-core : Depends: libreoffice-common (> 1:5.1.2) but it is not
> going to be installed
>  libreoffice-java-common : Depends: libreoffice-common (= 1:5.1.2-0ubuntu1)
> but it is not going to be installed
>  libreoffice-style-elementary : Depends: libreoffice-common (=
> 1:5.1.2-0ubuntu1) but it is not going to be installed
>  libreoffice-style-galaxy : Depends: libreoffice-common (=
> 1:5.1.2-0ubuntu1) but it is not going to be installed
> E: Unmet dependencies. Try 'apt-get -f install' with no packages (or
> specify a solution).
> john@john-K53U:~$
> 
> Any suggestions would gratefully received.

See above.

        Kornel

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to