From owner-freebsd-ports@freebsd.org Thu Oct 12 18:19:12 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 64BAFE311C9 for ; Thu, 12 Oct 2017 18:19:12 +0000 (UTC) (envelope-from vidar@karlsen.tech) Received: from nivlheim.sentralbanken.no (nivlheim.sentralbanken.no [178.62.212.206]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 18AE82D25 for ; Thu, 12 Oct 2017 18:19:11 +0000 (UTC) (envelope-from vidar@karlsen.tech) Received: from air.karlsen.tech (95.63.34.95.customer.cdi.no [95.34.63.95]) by nivlheim.sentralbanken.no (Postfix) with ESMTPSA id 9429289842; Thu, 12 Oct 2017 20:19:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=karlsen.tech; s=mail; t=1507832348; bh=GCsvgffb+nSU22mPIVwhozHHu0VPZjFGoE5Eo1hahtY=; h=From:Subject:Date:In-Reply-To:Cc:To:References; b=zpMRyZTGWVshV9JufF1mIXt71EfoJpdqfRpabVnJamewvQYnlZ/o4U3QNwlN6X5w7 1FIrmBHg35lybun7LfZzyGLQm5thnmHpsi4W2E3l9OBT/geOtXmpTTHd3Sddq5nXfi hFj7NZCzfQtzTNjmSbFffyl6WT5T1QrH+RB9n8fU= From: Vidar Karlsen Message-Id: <29A49D53-5563-4FAF-B122-268DC6056EE6@karlsen.tech> Content-Type: multipart/signed; boundary="Apple-Mail=_65E59D69-06C2-4410-90E3-C21AD57A3539"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: pkg: sqlite error while executing sqlite open in file pkgdb.c:1126: unable to open database file Date: Thu, 12 Oct 2017 20:19:02 +0200 In-Reply-To: <9ce33529-55d4-e9ab-a377-2bd142e27b4b@cloudzeeland.nl> Cc: Kevin Oberman , FreeBSD Ports ML To: Jos Chrispijn References: <8E4C5B17-EB78-437F-9FBE-C0CD74333CB0@karlsen.tech> <9ce33529-55d4-e9ab-a377-2bd142e27b4b@cloudzeeland.nl> X-Mailer: Apple Mail (2.3273) X-Virus-Scanned: clamav-milter 0.99.2 at nivlheim.sentralbanken.no X-Virus-Status: Clean X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.2 (nivlheim.sentralbanken.no [0.0.0.0]); Thu, 12 Oct 2017 20:19:08 +0200 (CEST) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Oct 2017 18:19:12 -0000 --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 = 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--