pkgng beta 11: pkg-static: The database is outdated and opened readonly *** Error code 74

Baptiste Daroussin bapt at freebsd.org
Wed Apr 18 21:26:29 UTC 2012


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 at freebsd.org> wrote:
> > 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 at 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 upgrade your
> >> > database.
> >> >
> >> > Then make install should finish the work.
> >>
> >> And, if it doesn't?
> >>
> >> 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.
> >>
> >> Now, running the "pkg-static info" command from the workdir gives the
> >> exact same "outdated/readonly" error.
> >>
> >> Is there anyway to recover the database?  Especially 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.
> 
> Whew.  Good to hear.  :)
> 

Just upgrade your ports tree beta11 is fixed

/me feels really ashamed for that bug :)

regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20120418/dc9fecb1/attachment.pgp


More information about the freebsd-ports mailing list