From owner-freebsd-current@freebsd.org Mon Feb 27 14:34:44 2017 Return-Path: Delivered-To: freebsd-current@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 516A7CEFA93 for ; Mon, 27 Feb 2017 14:34:44 +0000 (UTC) (envelope-from t@tomoyat1.com) Received: from mail.tomoyat1.com (tomoyat1.com [133.130.119.65]) (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 2643BEB for ; Mon, 27 Feb 2017 14:34:43 +0000 (UTC) (envelope-from t@tomoyat1.com) Received: from tomoyat1.com (60-56-200-92f1.shg1.eonet.ne.jp [60.56.200.92]) by mail.tomoyat1.com (Postfix) with ESMTPSA id CB62F6597; Mon, 27 Feb 2017 14:34:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tomoyat1.com; s=tomoyat1; t=1488206075; bh=oYwlCibptu3qOiHSqaXV+rH/mTaS2TPUMRU4QqrXElY=; h=Date:From:To:Cc:Subject:Message-ID:From:Sender:To:CC:Subject: Message-Id:Date; b=N/9WDVVBRmfMXCu9aR8nEljwOZd0nSR2Dz4SE6hf4lS5WdhUa4gxY59R8q1RTwGOR KDo9CQWcJJNvmn4ZdllHAa/KtInrcZRTdOkNP/XuH+9Jt7deORz+tD4E210N1UAjHv frrzyAcA0DnENhSsSjCu0122uDY4G81CZCxVck4k= Date: Mon, 27 Feb 2017 23:34:34 +0900 From: Tomoya Tabuchi To: filippomore@yahoo.com Cc: freebsd-current@freebsd.org Subject: Re: Problem with pkg Message-ID: <20170227143434.GA2266@tomoyat1.com> Mail-Followup-To: filippomore@yahoo.com, freebsd-current@freebsd.org References: <977961980.1791329.1488200543673.ref@mail.yahoo.com> <977961980.1791329.1488200543673@mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <977961980.1791329.1488200543673@mail.yahoo.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2017 14:34:44 -0000 On Mon, Feb 27, 2017 at 01:02:23PM +0000, Filippo Moretti wrote: > After a blackout caused by my wife I only get a few pkg shown with the command pkg info while they should be hundreds.I also get this error message when trying to install packages by pkg installpkg: Repository FreeBSD load error: access repo file(/var/db/pkg/repo-FreeBSD.sqlite) failed: No such file or directory(I do have a file name local.sqlite)Is there a way to recover the pkg database or should I reinstall the OS.Filippo > > > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" Hello, I have a similar problem. pkg(8) tells me to do a `pkg update', and when I do that I get the following. Updating FreeBSD repository catalogue... pkg: Repository FreeBSD load error: access repo file(/var/db/pkg/repo-FreeBSD.sqlite) failed: No such file or directory meta.txz : 100% 944 B 0.9kB/s 00:01 packagesite.txz : 100% 6 MiB 986.3kB/s 00:06 pkg: rsa verify failed: error:04091077:rsa routines:INT_RSA_VERIFY:wrong signature length pkg: No trusted certificate has been used to sign the repository Unable to update repository FreeBSD Error updating repositories! I am on r314247 and the version of pkg(8) is 1.10.0. Tomoya