From owner-freebsd-ports@FreeBSD.ORG Wed Apr 18 21:07:58 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 D79AF106564A; Wed, 18 Apr 2012 21:07:58 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 774A18FC15; Wed, 18 Apr 2012 21:07:58 +0000 (UTC) Received: by vcmm1 with SMTP id m1so7208772vcm.13 for ; Wed, 18 Apr 2012 14:07:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=1KgTjm+OvMFyO4uqhtnKA/M3A+WG9vmPGJMuPAjkDW8=; b=wMqQlugp5C0du9ldZz18cQatG2a5vr0f6oyRQT3xSaPV4QdZMN9sSvKjVM6E4UJ+5I mTUDdPbNfV+ATugrXpqSVBa0M9H3JU3CQPBqo6B0yeeCXYjNR7vkeny+uk+XilBq89xa gGYv5WtkhtFmls81l7LseqMrRkuIea3wd7BmlHEvd17D/rci7CoNzThMJYRZZ3wDJNnM AuRei+hbYrHXURF6i1KiqTxpHQju7/4gmhl9+osi9GvHyelAquPnBbHn9mf2aHiKp28g caxPUnlnbpPhVpo/IJq0S5XmXYU7ZtVlzODMrtwSZl7zjrIms7oCB90uLbqDKo8POU8t J7qA== MIME-Version: 1.0 Received: by 10.220.108.16 with SMTP id d16mr1933425vcp.51.1334783277201; Wed, 18 Apr 2012 14:07:57 -0700 (PDT) Received: by 10.220.180.198 with HTTP; Wed, 18 Apr 2012 14:07:57 -0700 (PDT) In-Reply-To: <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> <20120418204618.GF1569@azathoth.lan> Date: Wed, 18 Apr 2012 14:07:57 -0700 Message-ID: From: Freddie Cash To: Baptiste Daroussin Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 21:07:58 -0000 On Wed, Apr 18, 2012 at 1:46 PM, Baptiste Daroussin wrot= e: > On Wed, Apr 18, 2012 at 01:31:37PM -0700, Freddie Cash wrote: >> On Mon, Apr 16, 2012 at 2:05 PM, Baptiste Daroussin w= rote: >> > Well normally just once you have build your port (before installing) j= ust make >> > deinstall, ./work/pkg-beta11/pkg-static/pkg-static info, it should upg= rade your >> > database. >> > >> > Then make install should finish the work. >> >> And, if it doesn't? >> >> Was running beta8. =C2=A0Tried to upgrade to beta11. =C2=A0Got the >> "outdated/opened readonly" error. =C2=A0Doing the deinstall/pkg-static >> command above gave the same error the first time it was run. =C2=A0The >> second time it returned successfully but there was 0 output. >> >> Now, running the "pkg-static info" command from the workdir gives the >> exact same "outdated/readonly" error. >> >> Is there anyway to recover the database? =C2=A0Especially considering th= at >> /var/db/pkg/ is blank except for the local.sqlite file. >> > yes there is, are you running what version/arch FreeBSD are you using? de= pending > on that I can give you the workaround. Whew. Good to hear. :) uname -a: FreeBSD rogue.ashesofthe.net 8.2-STABLE FreeBSD 8.2-STABLE #1 r226546: Sun Jan 22 02:10:54 PST 2012 root@rogue.ashesofthe.net:/usr/obj/usr/src-8/sys/ROGUE i386 > 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 ? As it's a 50 MB file, you can download it from here: http://www.sd73.bc.ca/downloads/local.sqlite --=20 Freddie Cash fjwcash@gmail.com