On Wed, Oct 29, 2014 at 06:35:24PM +0100, Juan Ramón Molina Menor wrote:
> > >/  Can we test it now, then remove it when 1.4 will be in -RELEASE or 
> > >-STABLE?
> > />/  
> > /yes remove the current pkg
> >
> > pkg delete -f pkg
> >
> > install ports-mgmt/pkg-devel (adding WITH_PKG=devel in make.conf)
> > use it
> > when you want to go back to stable when 1.4 will be out:
> >
> > pkg delete pkg
> > pkg bootstrap
> >
> > regards,
> > Bapt
> 
> Hi Baptiste.
> 
> That’s not working here, I followed the above instructions and the 
> install failed:
> 
> ===> Installing for pkg-1.4.0.a1
> ===> Checking if pkg already installed
> ===> Registering installation for pkg-1.4.0.a1
> Installing pkg-1.4.0.a1...
> pkg-static: sqlite error while executing INSERT OR REPLACE INTO 
> packages( origin, name, version, comment, desc, message, arch, 
> maintainer, www, prefix, flatsize, automatic, licenselogic, mtree_id, 
> time, manifestdigest) VALUES( ?1, ?2, ?3, ?4, ?5, ?6, ?7, ?8, ?9, ?10, 
> ?11, ?12, ?13, (SELECT id FROM mtree WHERE content = ?14), NOW(), ?15) 
> in file pkgdb.c:1583: NOT NULL constraint failed: packages.arch
> If you are upgrading from the old package format, first run:
> # pkg2ng
> 
> *** Error code 70
> Stop.
> make[1]: stopped in /usr/ports/ports-mgmt/pkg-devel
> *** Error code 1
> 
> I’m not in CURRENT, if that matters:
> 
It has been fixed in alpha3 which is in the ports tree already.

Thanks for you report

regards,
bapt

Attachment: pgpw9qZFGys61.pgp
Description: PGP signature

Reply via email to