pkg: sqlite: no such column: infos (pkgdb.c:1086)

Baptiste Daroussin bapt at FreeBSD.org
Tue Jun 25 14:27:54 UTC 2013


On Tue, Jun 25, 2013 at 03:23:54PM +0100, Anton Shterenlikht wrote:
> 	From baptiste.daroussin at 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 at 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?

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

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/20130625/8eeddf75/attachment.sig>


More information about the freebsd-ports mailing list