From owner-freebsd-ports@FreeBSD.ORG Wed Oct 29 20:28:50 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E5BE3F11 for ; Wed, 29 Oct 2014 20:28:49 +0000 (UTC) Received: from mail-wg0-x236.google.com (mail-wg0-x236.google.com [IPv6:2a00:1450:400c:c00::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 79FE6108 for ; Wed, 29 Oct 2014 20:28:49 +0000 (UTC) Received: by mail-wg0-f54.google.com with SMTP id m15so2746420wgh.41 for ; Wed, 29 Oct 2014 13:28:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=rNcGu5hYjUe3ncTzH8vNgssEX/Y2zbaFgT5XAdWp/tY=; b=B7DkMEME4JPhO1oKz71P6tG0t76r0uiS3WFolr2kQnFWU2eExD+nmcf7JZrtuPJMH0 dR+47b9XIaCewecN5Zl+jilAJlF/GcSM1Ay+jdC+WQkMfT4N/UkyOUTXOmwbAEuXIfVi byR6dECV+oocBp9wgIe8DeYBtmAM6zxF9yUsTp3uuhEvNMnS1cNwkZNNuebFDxoGH7Nb 5HNgDsfdteReAOvLxzHajbX0a3yLATOYD0/vum3IjKooztptbRt7AI1GmnZuRaRosW/8 vnyO8UpIf9NckKfQjjpcypXqdymwAPSsJ61/mIFoJIzWpQnv2LJOmEyzn8mZZWZFaMe8 h5VA== X-Received: by 10.180.20.8 with SMTP id j8mr15438809wie.60.1414614527846; Wed, 29 Oct 2014 13:28:47 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by mx.google.com with ESMTPSA id fx2sm6324184wjb.37.2014.10.29.13.28.46 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 29 Oct 2014 13:28:47 -0700 (PDT) Sender: Baptiste Daroussin Date: Wed, 29 Oct 2014 21:28:45 +0100 From: Baptiste Daroussin To: listjm@club-internet.fr Subject: Re: pkg 1.4 freeze please test test test! Message-ID: <20141029202844.GJ11033@ivaldir.etoilebsd.net> References: <1479844.740994.1414613658812.JavaMail.www@wsfrf1114> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="451BZW+OUuJBCAYj" Content-Disposition: inline In-Reply-To: <1479844.740994.1414613658812.JavaMail.www@wsfrf1114> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Oct 2014 20:28:50 -0000 --451BZW+OUuJBCAYj Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 29, 2014 at 09:14:18PM +0100, listjm@club-internet.fr wrote: > >> 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, licenselo= gic, mtree_id, >> time, manifestdigest) VALUES( ?1, ?2, ?3, ?4, ?5, ?6, ?7= , ?8, ?9, ?10, >> ?11, ?12, ?13, (SELECT id FROM mtree WHERE content =3D ?= 14), NOW(), ?15) >> in file pkgdb.c:1583: NOT NULL constraint failed: pack= ages.arch >> If you are upgrading from the old package format, first run: >= > # pkg2ng >> >> *** Error code 70 >> Stop. >> make[1]: stopped in /usr/po= rts/ports-mgmt/pkg-devel >> *** Error code 1 >> >> I=E2=80=99m not in CURR= ENT, if that matters: >> >It has been fixed in alpha3 which is in the port= s tree already. > >Thanks for you report > >regards, >bapt >=20 > Sorry, I had not updated the ports tree since yesterday. >=20 > The problem I have now is that when trying to install new packages, pkg i= nsists on being downgraded. Locking it has not helped. >=20 > # pkg install vim-lite > Updating FreeBSD repository catalogue... > pkg: Repository FreeBSD has a wrong packagesite, need to re-create databa= se > Fetching meta.txz: 100% 944 B 0.9k/s 00:01 > Fetching packagesite.txz: 100% 5 MB 296.7k/s 00:18 > Processing entries: 100% > FreeBSD repository update completed. 23724 packages processed > Updating FreeBSD_new_xorg repository catalogue... > pkg: Repository FreeBSD_new_xorg has a wrong packagesite, need to re-crea= te data > base > Fetching meta.txz: 100% 944 B 0.9k/s 00:01 > Fetching packagesite.txz: 100% 192 KB 196.3k/s 00:01 > Processing entries: 100% > FreeBSD_new_xorg repository update completed. 799 packages processed > New version of pkg detected; it needs to be installed first. > Checking integrity... done (0 conflicting) > The following 1 packages will be affected (of 0 checked): >=20 > Installed packages to be DOWNGRADED: > pkg: 1.4.0.a3 -> 1.3.8_3 [FreeBSD] >=20 > The operation will free 8 MB. >=20 >=20 >=20 > There is also that "wrong packagesite message". >=20 > What am I doing wrong? >=20 > # cat /etc/make.conf > WITH_NEW_XORG=3D"YES" > WITH_GALLIUM=3D"YES" > WITH_PKGNG=3D"YES" > WITH_PKG=3Ddevel What version of freebsd are you on I would bet 9.1 where the bootstrap was = dumb and may have created for you a bad /usr/local/etc/pkg.conf for the fact that pkg wants to be downgraded I ll track the bug. Do you have net-snmp installed? regards, Bapt --451BZW+OUuJBCAYj Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlRRTfwACgkQ8kTtMUmk6EzbxgCfVKC9cVatsfsHLVKvZlSsqJRh mKwAmwUIowsHzA6IZWt7fn18LFaNI0Oe =SXzt -----END PGP SIGNATURE----- --451BZW+OUuJBCAYj--