Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Apr 2012 23:26:25 +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:  <20120418212625.GG1569@azathoth.lan>
In-Reply-To: <CAOjFWZ6%2BdwYqf5c47VDzTkP69SzRi8Cu6meiwqcX2UYQVmqb5g@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> <20120418204618.GF1569@azathoth.lan> <CAOjFWZ6%2BdwYqf5c47VDzTkP69SzRi8Cu6meiwqcX2UYQVmqb5g@mail.gmail.com>

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

--wnLTWEf+vlzHZaR9
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Apr 18, 2012 at 02:07:57PM -0700, Freddie Cash wrote:
> On Wed, Apr 18, 2012 at 1:46 PM, Baptiste Daroussin <bapt@freebsd.org> wr=
ote:
> > 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>=
 wrote:
> >> > Well normally just once you have build your port (before installing)=
 just make
> >> > deinstall, ./work/pkg-beta11/pkg-static/pkg-static info, it should u=
pgrade your
> >> > database.
> >> >
> >> > Then make install should finish the work.
> >>
> >> And, if it doesn't?
> >>
> >> Was running beta8. =A0Tried to upgrade to beta11. =A0Got the
> >> "outdated/opened readonly" error. =A0Doing the deinstall/pkg-static
> >> command above gave the same error the first time it was run. =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? =A0Especially considering that
> >> /var/db/pkg/ is blank except for the local.sqlite file.
> >>
> > yes there is, are you running what version/arch FreeBSD are you using? =
depending
> > on that I can give you the workaround.
>=20
> Whew.  Good to hear.  :)
>=20

Just upgrade your ports tree beta11 is fixed

/me feels really ashamed for that bug :)

regards,
Bapt

--wnLTWEf+vlzHZaR9
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAk+PMYEACgkQ8kTtMUmk6EwgKgCeMkJVdOVVa4P1UHZzwhWQWKol
UisAoLz3vljNNxNPwcgRFG7jBhBaHFRt
=pGY1
-----END PGP SIGNATURE-----

--wnLTWEf+vlzHZaR9--



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