From owner-freebsd-current@FreeBSD.ORG Sat Nov 8 13:17:30 2014 Return-Path: Delivered-To: current@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 5145B731 for ; Sat, 8 Nov 2014 13:17:30 +0000 (UTC) Received: from mail-wi0-x230.google.com (mail-wi0-x230.google.com [IPv6:2a00:1450:400c:c05::230]) (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 E15E6E56 for ; Sat, 8 Nov 2014 13:17:29 +0000 (UTC) Received: by mail-wi0-f176.google.com with SMTP id h11so6844449wiw.9 for ; Sat, 08 Nov 2014 05:17:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=from:date:to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=wRGSHmyotT6/nvj/Jp3YXWidayJTdAIfoy51QM1Mu1A=; b=Wlox9Z+MRHZXGl+f5PH/HBOYPf1AmRt/RjPyN5X3366AosrHBYHDYNKcUoDU323OeG opM9JGX0XM2cxUuuqml8V6dIKH8HhSzJiZdNwh9hTeKmKQ60aYVM86xRPqMxfjUNFOv/ ddvCkamH4tstK3troVV17jbQIOGmxeHmBqrH/CRyDFVtsVqriavhc0t89ibBHG+m6/HM hC+5cT+KjpUahDTegyi/k8gfbJtsuAPPQf7U7RxyKBw8hywNvao8YEh0RR/m3xlit+6K ApMHlSlHLTK0lBUhijQJDSrSSsMICGryGoXLmG+pxCPDDMNhSdsmPVl+1R6IlOdKs6Kl na2A== X-Received: by 10.194.205.132 with SMTP id lg4mr25125411wjc.84.1415452648317; Sat, 08 Nov 2014 05:17:28 -0800 (PST) Received: from ubm.strangled.net (ipb219cb25.dynamic.kabel-deutschland.de. [178.25.203.37]) by mx.google.com with ESMTPSA id x13sm15458603wjw.18.2014.11.08.05.17.26 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 08 Nov 2014 05:17:27 -0800 (PST) From: Marc UBM X-Google-Original-From: Marc "UBM" Bocklet Date: Sat, 8 Nov 2014 14:17:23 +0100 To: current@freebsd.org Subject: Re: pkg 1.4 freeze please test test test! Message-Id: <20141108141723.d4ee23901414d619e13fade0@gmail.com> In-Reply-To: <20141101224549.GG15967@ivaldir.etoilebsd.net> References: <20141028231933.GG26796@ivaldir.etoilebsd.net> <20141101161332.b9c8fc19bf9fc54f73bc5c00@gmail.com> <20141101224549.GG15967@ivaldir.etoilebsd.net> X-Mailer: Sylpheed 3.4.2 (GTK+ 2.24.22; amd64-portbld-freebsd11.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Nov 2014 13:17:30 -0000 On Sat, 1 Nov 2014 23:45:49 +0100 Baptiste Daroussin wrote: > On Sat, Nov 01, 2014 at 04:13:32PM +0100, Marc UBM wrote: [snip] > > > > The update is failing for me with: > > > > .../usr/ports/ports-mgmt/pkg-devel# make all install clean > > ===> Installing for pkg-1.4.0.a3 > > ===> Checking if pkg already installed > > pkg-static: sqlite error while executing DROP INDEX > > packages_unique;CREATE UNIQUE INDEX packages_unique ON packages(name); > > in file pkgdb.c:2246: UNIQUE constraint failed: packages.name *** Error > > code 74 > > > > Stop. > > make[1]: stopped in /usr/ports/ports-mgmt/pkg-devel > > *** Error code 1 > > > > Stop. > > make: stopped in /usr/ports/ports-mgmt/pkg-devel > > > > > > > > portmaster fails with: > > root@ubm:/usr/ports/ports-mgmt/pkg-devel# portmaster -d pkg > > ===>>> No ORIGIN in /var/db/pkg/pkgconf-0.9.7/+CONTENTS > > > > > > ===>>> Cannot continue > > ===>>> Aborting update > > > > ===>>> Killing background jobs > > Terminated > > ===>>> Exiting > > > > make.conf related options: > > > > #enable pkgng (might be superfluous) > > WITH_PKGNG=yes > > #enable PKGNG devel > > WITH_PKGNG=devel > > > > Am I doing something wrong? > > You are doing nothing wrong but that probably means you have ancient packages > that never got upgraded (in the old time it was allowed to have 2 packages > installed with the same name) we have fixed that over the time and that is why > we had unicity set to origin as a hack for a while, we are now moving to unique > name so you have to make sure that all your installed packages are up to date > before moving to new pkg. > > At least make sure you do not have 2 packages with the same name. > > Concerning portmaster I have no idea why it now thinks you are not using > pkg :( I checked for packages with the same name and found none (via pkg version). Meanwhile, the upgrade still fails for me. Has anybody got any new ideas? Thanks in advance! Regards, Marc