pkg 1.4 freeze please test test test!

Juan Ramón Molina Menor listjm at club-internet.fr
Wed Oct 29 17:40:58 UTC 2014


> >/  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:

FreeBSD Marianne.Juan.home 10.0-RELEASE-p10 FreeBSD 10.0-RELEASE-p10 #0: 
Mon Oct 20 12:38:37 UTC 2014 
root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386


More information about the freebsd-ports mailing list