Date: Fri, 13 Oct 2017 20:06:51 +0200 From: Jos Chrispijn <bsdports@cloudzeeland.nl> To: Vidar Karlsen <vidar@karlsen.tech> Cc: Kevin Oberman <rkoberman@gmail.com>, FreeBSD Ports ML <freebsd-ports@freebsd.org> Subject: Re: pkg: sqlite error while executing sqlite open in file pkgdb.c:1126: unable to open database file Message-ID: <58b4a0cf-8525-0c2c-d5cf-d87a2d95ba92@cloudzeeland.nl> In-Reply-To: <29A49D53-5563-4FAF-B122-268DC6056EE6@karlsen.tech> References: <fc394181-fede-ce16-16d4-535306d59bfe@cloudzeeland.nl> <CAN6yY1sm65vPbqK6sNmnxLv0C7ohvNkLy-gAWOhoPhyUzquAbw@mail.gmail.com> <8E4C5B17-EB78-437F-9FBE-C0CD74333CB0@karlsen.tech> <9ce33529-55d4-e9ab-a377-2bd142e27b4b@cloudzeeland.nl> <29A49D53-5563-4FAF-B122-268DC6056EE6@karlsen.tech>
next in thread | previous in thread | raw e-mail | index | archive | help
Op 12-10-2017 om 20:19 schreef Vidar Karlsen: > I usually get that exact error when I run pkg from a directory that no > longer exists. In my case, this typically happens because I’m sitting > in a port dir like /usr/ports/dns/unbound after having run 'portsnap > fetch update’ which has deleted that dir and created a new one because > of a version bump in the tree. Yes, I thought of that too; unfortunately I cannot reproduce manually. Sometime this occurs and sometimes it doesn't. > Your case with portmaster might be a bit different, but it should normally not happen unless portmaster cd’s to a dir that then gets deleted. Did your ports tree change while portmaster was running? Nope - i mostly logon the BSD and run that batch by hand, without doing anything else. > If you can run pkg commands (like ‘pkg info’) normally otherwise, I’ll have to assume that your sqlite database is fine and that there is a temporary issue during the portmaster run that causes this error to be thrown. Everything is fine - my portscollection is in sync and I get no errors on updating other than the one I initially wrote about. Somehow I can't get it out of my head why I cannot put my finger behind this minor issue.. Thanks, Jos
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?58b4a0cf-8525-0c2c-d5cf-d87a2d95ba92>