Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Apr 2012 16:25:08 +0100
From:      Anton Shterenlikht <mexas@bristol.ac.uk>
To:        Baptiste Daroussin <bapt@freebsd.org>
Cc:        Anton Shterenlikht <mexas@bristol.ac.uk>, freebsd-ports@freebsd.org, Julien Laffaye <jlaffaye@freebsd.org>
Subject:   Re: pkgng beta 11: pkg-static: The database is outdated and opened readonly *** Error code 74
Message-ID:  <20120416152508.GA25007@mech-cluster241.men.bris.ac.uk>
In-Reply-To: <20120416151535.GR1569@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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 16, 2012 at 05:15:35PM +0200, Baptiste Daroussin wrote:
> On Mon, Apr 16, 2012 at 10:22:49AM +0100, Anton Shterenlikht wrote:
> > On Mon, Apr 16, 2012 at 11:02:09AM +0200, Julien Laffaye wrote:
> > > On 04/16/2012 10:20 AM, Anton Shterenlikht wrote:
> > > >Updating ports-mgmt/pkg to b11:
> > > >
> > > >===>   Installing for pkg-1.0.b11
> > > >===>    Generating temporary packing list
> > > >===>   Checking if ports-mgmt/pkg already installed
> > > >pkg-static: The database is outdated and opened readonly
> > > >*** Error code 74
> > > >
> > > >Stop in /usr/ports/ports-mgmt/pkg.
> > > >
> > > >Please advise
> > > >
> > > The database schema changed so pkgng try to upgrade it. But here pkgng 
> > > does not have rights to do so. Try re-run pkgng as root.
> > 
> > YOu mean pkg2ng?
> > 
> > I get:
> > 
> > Registering autoconf-wrapper-20101119... pkg: The database is outdated and opened readonly
> > pkg: The database is outdated and opened readonly
> > failed.
> > 
> > and the same for all other ports.
> > 
> 
> Well you should be upgrading from beta8 it is known there are problems for
> upgrading from beta8 to newer version, but it is really hard to determine where
> the problem comes from.
> 
> regards,
> Bapt

Anyway, I just need to recover somehow.
Which database are we talking about,
is it /var/db/pkg? Will it help if
I remove it, and start from scratch?

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423



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