John Kane wrote: > john@john-K53U:~$ apt-get -f install > 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:~$
This happens if at the same time some other package management tool is running and holds a lock on the database. Assuming that you don't do that yourself, the most likely reason is an automatic 'apt-get update' running in the background from cron. You would see the process in the output of ps -axu | grep root and usually it would not take long to be finished, so you could try again. Georg
