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

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <bapt@freebsd.org> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120418204618.GF1569>