Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jun 2013 16:27:42 +0200
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        mexas@bristol.ac.uk
Cc:        freebsd-ports@freebsd.org
Subject:   Re: pkg: sqlite: no such column: infos (pkgdb.c:1086)
Message-ID:  <20130625142742.GB93612@ithaqua.etoilebsd.net>
In-Reply-To: <201306251423.r5PENsE2016716@mech-cluster241.men.bris.ac.uk>
References:  <20130625140146.GA93612@ithaqua.etoilebsd.net> <201306251423.r5PENsE2016716@mech-cluster241.men.bris.ac.uk>

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

--ADZbWkCsHQ7r3kzd
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Jun 25, 2013 at 03:23:54PM +0100, Anton Shterenlikht wrote:
> 	From baptiste.daroussin@gmail.com Tue Jun 25 15:20:11 2013
>=20
> 	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
> 	>=3D20
> 	> 	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 1=
2, =3D
> 	but=3D3D
> 	> 	 still
> 	> 	> compatible
> 	> 	> pkg: sqlite: no such column: infos (pkgdb.c:1086)
> 	> 	> pkg-static: warning: database version 19 is newer than libpkg(3) ve=
rsi=3D
> 	on =3D3D
> 	> 	12, but
> 	> 	>  still compatible
> 	> 	> Installing pkg-1.0.12_1...pkg-static: sqlite: table packages has no=
 co=3D
> 	lum=3D3D
> 	> 	n named
> 	> 	>  infos (pkgdb.c:1757)
> 	> 	> pkg-static: sqlite: cannot rollback - no transaction is active (pkg=
db.=3D
> 	c:2=3D3D
> 	> 	266)
> 	> 	> *** Error code 70
> 	> 	>
> 	> 	> Stop.
> 	> 	> make: stopped in /usr/ports/ports-mgmt/pkg
> 	> 	> *** Error code 1
> 	> 	>
> 	> 	> Shall I open a PR?
> 	> 	>
> 	> 	> Thanks
> 	> 	>
> 	> 	> Anton
> 	>=3D20
> 	> 	Why downgrading? Please upgrade again to 1.1.2 :) and report bug if a=
ny.
> 	>=3D20
> 	> Sorry, I don't get you.
> 	>=3D20
> 	> I need the ports tree to be at 319054.
> 	> I then do
> 	>=3D20
> 	> pkg info -xd xorg-server > /root/xorg-dep
> 	> portmaster -f `cat /root/xorg-dep`
> 	>=3D20
> 	> Is this not supported?
>=20
> 	You mean you went forward and switch back to a former version?
>=20
> yes
>=20
>=20
> 	Switching from 1.1 back to 1.0 has been taken in account during the pkg-=
dev=3D
> 	el
> 	phase, but not considered for after 1.1 is offically released which expl=
ain=3D
> 	s why
> 	you have this message.
>=20
> 	We could had the compatibility he really needed.
>=20
> 	Normal path is not to go backward :)
>=20
> 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?

Normally only keeping ports-mgmt/pkg up to date will work, however I will
recommand anyway to keep portmaster uptodate either.

regards,
Bapt

--ADZbWkCsHQ7r3kzd
Content-Type: application/pgp-signature

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

iEYEARECAAYFAlHJqN4ACgkQ8kTtMUmk6ExPAACfcXXVfJXJyTDzquEIA6wJ7/1o
kUcAoLmPKEaKO2e04ABNooRgrHi7ErRq
=2IhW
-----END PGP SIGNATURE-----

--ADZbWkCsHQ7r3kzd--



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