pkgng: sqlite: database is locked

Mathias Picker Mathias.Picker at virtual-earth.de
Thu Dec 13 11:56:41 UTC 2012


Oh well, after building pkg with debug the error went away... :(

I rebuild pkg just before I started portmaster -a the first time, so
either it's the time it took to rebuild pkg with debug, or the debug
build itself...

Portmaster is still running, so maybe it comes up again

Cheers, Mathias

Am Donnerstag, den 13.12.2012, 12:16 +0100 schrieb Baptiste Daroussin:
> On Thu, Dec 13, 2012 at 12:08:00PM +0100, Mathias Picker wrote:
> > (FYI: if I stop responding, I will be in hospital, I'm waiting for an
> > operation...)
> 
> Take care of yourself, we will continue investigating, health first !
> 
> > 
> > OK, I can reproduce it now reliably, running portmaster -a, the
> > following is happening three times now:
> > 
> > 
> sounds like a pkgng support in portmaster bugs we will investigate
> 
> Thanks.
> 
> regards,
> Bapt
> > 
> > ===>  Building for p5-IO-Socket-SSL-1.81
> > cp lib/IO/Socket/SSL.pm blib/lib/IO/Socket/SSL.pm
> > Manifying blib/man3/IO::Socket::SSL.3
> > pkg: sqlite: database is locked
> > Assertion failed: (db->lock_count == 0), function pkgdb_close, file
> > pkgdb.c, line 842.
> > Abort trap (core dumped)
> > 
> > 
> > No locks active
> > 
> > mp# fstat /var/db/pkg/pkgdb.db /var/db/pkg/local.sqlite
> > USER     CMD          PID   FD MOUNT      INUM MODE         SZ|DV R/W
> > NAME
> > mp# sockstat | grep -e local.sqlite -e pkgdb.db        
> > mp# 
> > 
> > So I guess ist's a pkg problem
> > 
> > Which additional information might be needed to debug this?
> > 
> > I just wanted to recompile pkg with debug info, but get
> > 
> > mp# make
> > /usr/ports/ports-mgmt/pkg/work/pkg-1.0.3/pkg-static/pkg-static: not
> > found
> > *** [check-vulnerable] Error code 127
> > 
> > Stop in /usr/ports/ports-mgmt/pkg.
> > mp# make extract
> > /usr/ports/ports-mgmt/pkg/work/pkg-1.0.3/pkg-static/pkg-static: not
> > found
> > *** [check-vulnerable] Error code 127
> > 
> > Stop in /usr/ports/ports-mgmt/pkg.
> > 
> > ?? Never seen this... Will have to investigate before continuing.
> > 
> > / Mathias
> > 
> > _______________________________________________
> > freebsd-ports at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> > To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"




More information about the freebsd-ports mailing list