From owner-freebsd-ports@freebsd.org Fri Oct 13 18:07:00 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 DE3E9E28F58 for ; Fri, 13 Oct 2017 18:07:00 +0000 (UTC) (envelope-from bsdports@cloudzeeland.nl) Received: from ares.cloudzeeland.nl (cloudzeeland.xs4all.nl [83.161.133.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "cloudzeeland.nl", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 70F596F79D for ; Fri, 13 Oct 2017 18:06:59 +0000 (UTC) (envelope-from bsdports@cloudzeeland.nl) Received: from ares.cloudzeeland.nl (unknown [10.10.10.32]) by ares.cloudzeeland.nl (Postfix) with ESMTP id 63C874F862D1; Fri, 13 Oct 2017 20:06:50 +0200 (CEST) Received: from [10.10.10.34] (styx.zeeland24.nl [82.176.127.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by ares.cloudzeeland.nl (Postfix) with ESMTPSA id 0DA184F862CA; Fri, 13 Oct 2017 20:06:49 +0200 (CEST) Subject: Re: pkg: sqlite error while executing sqlite open in file pkgdb.c:1126: unable to open database file To: Vidar Karlsen Cc: Kevin Oberman , FreeBSD Ports ML References: <8E4C5B17-EB78-437F-9FBE-C0CD74333CB0@karlsen.tech> <9ce33529-55d4-e9ab-a377-2bd142e27b4b@cloudzeeland.nl> <29A49D53-5563-4FAF-B122-268DC6056EE6@karlsen.tech> From: Jos Chrispijn Message-ID: <58b4a0cf-8525-0c2c-d5cf-d87a2d95ba92@cloudzeeland.nl> Date: Fri, 13 Oct 2017 20:06:51 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <29A49D53-5563-4FAF-B122-268DC6056EE6@karlsen.tech> Content-Language: nl X-Virus-Scanned: ClamAV using ClamSMTP on ares.cloudzeeland.nl Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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: Fri, 13 Oct 2017 18:07:01 -0000 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