[BUG?] pkg: Cannot get a read lock on a database, it is locked by another process

Carlos Jacobo Puga Medina cpm at fbsd.es
Tue Aug 5 10:45:50 UTC 2014


On Tue, 5 Aug 2014 08:22:45 +0200
Baptiste Daroussin <bapt at FreeBSD.org> wrote:

Hello,

> On Mon, Aug 04, 2014 at 07:28:26PM -0700, Craig Rodrigues wrote:
> > On Mon, Aug 4, 2014 at 12:43 PM, Carlos Jacobo Puga Medina <cpm at fbsd.es> wrote:
> > > Hi,
> > >
> > > After upgrade pkg to 1.3.4 I have the same problem with pkg_libchk which it shows while is running:
> > >
> > > pkg: Cannot get a read lock on a database, it is locked by another process
> > 
> > What command did you type which caused this problem?

I typed 'pkg_libchk -qo > /tmp/rebuild_ports.txt` but it fails running 'pkg_libchk` as well.

> > 
> > >
> > >
> > > Any suggestion is welcome.
> > 
> > If  you look here:
> > 
> > https://github.com/freebsd/pkg/commits/release-1.3
> > 
> > there is a fix for READ_LOCK commit 4d946cf395a51f48bcc1469e21862910dd50797c but
> > that fix went in after pkg 1.3.4 was released.
> > 
> > This won't be available until pkg 1.3.5.
> > 
> This will be available in 1.3.5

Thanks to both of you. It's good to know it :)

> 
> regards,
> Bapt

Best regards,
-- 
Carlos Jacobo Puga Medina <cpm at fbsd.es>


More information about the freebsd-pkg mailing list