Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Oct 2017 20:19:02 +0200
From:      Vidar Karlsen <vidar@karlsen.tech>
To:        Jos Chrispijn <bsdports@cloudzeeland.nl>
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:  <29A49D53-5563-4FAF-B122-268DC6056EE6@karlsen.tech>
In-Reply-To: <9ce33529-55d4-e9ab-a377-2bd142e27b4b@cloudzeeland.nl>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_65E59D69-06C2-4410-90E3-C21AD57A3539
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8


> On 12 Oct 2017, at 19:50, Jos Chrispijn <bsdports@cloudzeeland.nl> =
wrote:
>=20
> Op 12-10-2017 om 7:39 schreef Vidar Karlsen:
>> Also check if your current work dir has been deleted,
> Do you mean my BSD workdir like /temp or do you refer to the workdir =
that is used during the portupdate?
> Where can I find which workdir that is?

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=E2=80=99m =
sitting in a port dir like /usr/ports/dns/unbound after having run =
'portsnap fetch update=E2=80=99 which has deleted that dir and created a =
new one because of a version bump in the tree.

Your case with portmaster might be a bit different, but it should =
normally not happen unless portmaster cd=E2=80=99s to a dir that then =
gets deleted. Did your ports tree change while portmaster was running?

If you can run pkg commands (like =E2=80=98pkg info=E2=80=99) normally =
otherwise, I=E2=80=99ll 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.

=E2=80=94
Vidar Karlsen

--Apple-Mail=_65E59D69-06C2-4410-90E3-C21AD57A3539
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEdj3MH0jPfbQdPzgZUYfnCLImz3gFAlnfshYACgkQUYfnCLIm
z3hMZBAAkKk6vlOIhe7/nyfklPk2IWfk5+l7Mz3cCADDpfolieIE26Tp4QbOJMGq
ilVxyBXsJKoKo9DT6a5guorr6CxgvZBXdGEozqfdLcyL2BW9URmJwo6qjEx9qWdd
G1r3tiZByZj0KO65pY/lHAdC4CTLJHg2QIahYIftsOWcBjmHAniCDVwtP/tabp/P
ImQuBG02091jLeFkXUzs4txUQOdxMZ/TRow9f/TO10knodOVO0Q2NBSC3Qu4lqMF
W7ygUk0KtbADcBJ1P4W/DInJjVfo7s64X2x1DKAZ4WvMaO+PqjCImguW690HF7ee
Qr72BmENADcPTyYLDz0Dp7VGuLyqsAltH9WtywZGvBN8YvVPW2DS6SsWmz7r6eSG
ROMrhoi2W9xjq0Rt/KGMeGsBWktfHbU6rpMQ2wVcAQqMmMlzFyGoBiMZvUA6lmiP
BCn6nmVXR/EOEdjbCzFcWrT4SkWZK2Iz/VEyNVizBscKYWhXnAE3oaP8F8Im0V6Y
78/EL7T1uTYO5PDR6dsUCcqYsYygWGmWJOq+fxR3vhM6pBn9EvxTNx/kn7wc6CnX
mDUlpZEEiywcnw55rIQ803QL1rk7kWhpFMOTRAO8zXilx0sVgIIlQTdRYeowWQ5w
y5H1TZprn19BR/d/BFAhgUCGD/0IRM0LRybHBBb4Bhs6fy1fsy8=
=B9Jp
-----END PGP SIGNATURE-----

--Apple-Mail=_65E59D69-06C2-4410-90E3-C21AD57A3539--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?29A49D53-5563-4FAF-B122-268DC6056EE6>