Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Apr 2012 14:07:57 -0700
From:      Freddie Cash <fjwcash@gmail.com>
To:        Baptiste Daroussin <bapt@freebsd.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: pkgng beta 11: pkg-static: The database is outdated and opened readonly *** Error code 74
Message-ID:  <CAOjFWZ6%2BdwYqf5c47VDzTkP69SzRi8Cu6meiwqcX2UYQVmqb5g@mail.gmail.com>
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> <CAOjFWZ7Q=YiX4mx-upXpx7UVH2W-%2BQJ3gXqjQtWB3YyH4uLryQ@mail.gmail.com> <20120418204618.GF1569@azathoth.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 18, 2012 at 1:46 PM, Baptiste Daroussin <bapt@freebsd.org> 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 <bapt@freebsd.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOjFWZ6%2BdwYqf5c47VDzTkP69SzRi8Cu6meiwqcX2UYQVmqb5g>