From owner-freebsd-ports@FreeBSD.ORG Wed Apr 18 20:46:23 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D13F31065672 for ; Wed, 18 Apr 2012 20:46:23 +0000 (UTC) (envelope-from bapt@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 970878FC1B; Wed, 18 Apr 2012 20:46:23 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q3IKkNHG053973; Wed, 18 Apr 2012 20:46:23 GMT (envelope-from bapt@freebsd.org) Received: (from bapt@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q3IKkNiF053971; Wed, 18 Apr 2012 20:46:23 GMT (envelope-from bapt@freebsd.org) X-Authentication-Warning: freefall.freebsd.org: bapt set sender to bapt@freebsd.org using -f Date: Wed, 18 Apr 2012 22:46:19 +0200 From: Baptiste Daroussin To: Freddie Cash Message-ID: <20120418204618.GF1569@azathoth.lan> References: <20120416082041.GA81466@mech-cluster241.men.bris.ac.uk> <4F8BE011.2090607@freebsd.org> <20120416092249.GA25523@mech-cluster241.men.bris.ac.uk> <20120416151535.GR1569@azathoth.lan> <20120416152508.GA25007@mech-cluster241.men.bris.ac.uk> <20120416210544.GW1569@azathoth.lan> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="4/KhLkEx1OUQso4T" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-ports@freebsd.org Subject: Re: pkgng beta 11: pkg-static: The database is outdated and opened readonly *** Error code 74 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Apr 2012 20:46:23 -0000 --4/KhLkEx1OUQso4T Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 18, 2012 at 01:31:37PM -0700, Freddie Cash wrote: > On Mon, Apr 16, 2012 at 2:05 PM, Baptiste Daroussin wr= ote: > > Well normally just once you have build your port (before installing) ju= st make > > deinstall, ./work/pkg-beta11/pkg-static/pkg-static info, it should upgr= ade your > > database. > > > > Then make install should finish the work. >=20 > And, if it doesn't? >=20 > Was running beta8. Tried to upgrade to beta11. Got the > "outdated/opened readonly" error. Doing the deinstall/pkg-static > command above gave the same error the first time it was run. The > second time it returned successfully but there was 0 output. >=20 > Now, running the "pkg-static info" command from the workdir gives the > exact same "outdated/readonly" error. >=20 > Is there anyway to recover the database? Especially considering that > /var/db/pkg/ is blank except for the local.sqlite file. >=20 yes there is, are you running what version/arch FreeBSD are you using? depe= nding on that I can give you the workaround. I'm still trying to figure out what is preventing beta11 from being about to upgrade from beta8, and fix it, so can you send me you local.sqlite ? That would help me fixing this. regards, Bapt --4/KhLkEx1OUQso4T Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAk+PKBoACgkQ8kTtMUmk6EwyOQCggJOF+y9dOIn4xYLEHvc7NlLw VDIAniEjTvn9fVEMmUgqCyeu0Y8LIXFm =VrUf -----END PGP SIGNATURE----- --4/KhLkEx1OUQso4T--