Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jun 2013 15:23:54 +0100 (BST)
From:      Anton Shterenlikht <mexas@bris.ac.uk>
To:        bapt@FreeBSD.org, mexas@bristol.ac.uk
Cc:        freebsd-ports@freebsd.org
Subject:   Re: pkg: sqlite: no such column: infos (pkgdb.c:1086)
Message-ID:  <201306251423.r5PENsE2016716@mech-cluster241.men.bris.ac.uk>
In-Reply-To: <20130625140146.GA93612@ithaqua.etoilebsd.net>

next in thread | previous in thread | raw e-mail | index | archive | help
	From baptiste.daroussin@gmail.com Tue Jun 25 15:20:11 2013

	On Tue, Jun 25, 2013 at 02:57:16PM +0100, Anton Shterenlikht wrote:
	> 	From baptiste.daroussin@gmail.com Tue Jun 25 14:52:59 2013
	>=20
	> 	On Tue, Jun 25, 2013 at 02:22:31PM +0100, Anton Shterenlikht wrote:
	> 	> I'm debugging X11 on sparc64.
	> 	> I need to roll the ports tree back to 319054.
	> 	> On downgrading pkg I get:
	> 	>
	> 	> >   Running ldconfig
	> 	> /sbin/ldconfig -m /usr/local/lib
	> 	> >   Registering installation for pkg-1.0.12_1
	> 	> pkg: warning: database version 19 is newer than libpkg(3) version 12, =
	but=3D
	> 	 still
	> 	> compatible
	> 	> pkg: sqlite: no such column: infos (pkgdb.c:1086)
	> 	> pkg-static: warning: database version 19 is newer than libpkg(3) versi=
	on =3D
	> 	12, but
	> 	>  still compatible
	> 	> Installing pkg-1.0.12_1...pkg-static: sqlite: table packages has no co=
	lum=3D
	> 	n named
	> 	>  infos (pkgdb.c:1757)
	> 	> pkg-static: sqlite: cannot rollback - no transaction is active (pkgdb.=
	c:2=3D
	> 	266)
	> 	> *** Error code 70
	> 	>
	> 	> Stop.
	> 	> make: stopped in /usr/ports/ports-mgmt/pkg
	> 	> *** Error code 1
	> 	>
	> 	> Shall I open a PR?
	> 	>
	> 	> Thanks
	> 	>
	> 	> Anton
	>=20
	> 	Why downgrading? Please upgrade again to 1.1.2 :) and report bug if any.
	>=20
	> Sorry, I don't get you.
	>=20
	> I need the ports tree to be at 319054.
	> I then do
	>=20
	> pkg info -xd xorg-server > /root/xorg-dep
	> portmaster -f `cat /root/xorg-dep`
	>=20
	> Is this not supported?

	You mean you went forward and switch back to a former version?

yes


	Switching from 1.1 back to 1.0 has been taken in account during the pkg-dev=
	el
	phase, but not considered for after 1.1 is offically released which explain=
	s why
	you have this message.

	We could had the compatibility he really needed.

	Normal path is not to go backward :)

ok, so what if I keep only ports-mgmt/pkg up to
date, and leave the rest of the ports tree at
319054? Will this work, i.e. wil I be able
to use pkg tools with older portmaster?
Or maybe I need to keep both pkg and portmaster
up to date? Will this work?

Thanks

Anton




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