Solved pkg problem

Hi :)

I have problem to install packages
(process with pid still holds the lock)
Code:
sudo pkg install libreoffice
Password:
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.
process with pid 1677 still holds the lock
process with pid 1677 still holds the lock
process with pid 1677 still holds the lock
process with pid 1677 still holds the lock
process with pid 1677 still holds the lock
process with pid 1677 still holds the lock
pkg: Cannot get an advisory lock on a database, it is locked by another process
How can I solve it?
 
What version of FreeBSD are you running? And what version of pkg ( pkg -v)?
Code:
$ uname -a
FreeBSD hooman 10.2-RELEASE FreeBSD 10.2-RELEASE #0 r286666: Wed Aug 12 15:26:37 UTC 2015     [email]root@releng1.nyi.freebsd.org[/email]:/usr/obj/usr/src/sys/GENERIC  amd64
$ pkg -v
1.7.2
 
Code:
process with pid 1677 still holds the lock
process with pid 1677 still holds the lock
process with pid 1677 still holds the lock
process with pid 1677 still holds the lock
process with pid 1677 still holds the lock
process with pid 1677 still holds the lock
pkg: Cannot get an advisory lock on a database, it is locked by another process
How can I solve it?
It means there's another pkg(8) already running.
 
Back
Top