Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Oct 2014 18:35:24 +0100
From:      Juan =?iso-8859-1?b?UmFt824=?= Molina Menor <listjm@club-internet.fr>
To:        bat@freebsd.org, freebsd-ports@freebsd.org
Subject:   pkg 1.4 freeze please test test test!
Message-ID:  <5451255C.1020407@club-internet.fr>

next in thread | raw e-mail | index | archive | help
> >/  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@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386



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