From owner-freebsd-ports@FreeBSD.ORG Tue May 20 15:05:24 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F39237F3 for ; Tue, 20 May 2014 15:05:23 +0000 (UTC) Received: from secure.xzibition.com (secure.xzibition.com [173.160.118.92]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A8FD52EDC for ; Tue, 20 May 2014 15:05:23 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=shatow.net; h=mime-version :content-type:content-transfer-encoding:date:from:to:cc:subject :in-reply-to:references:message-id; q=dns; s=sweb; b=FStOpTVsgBK O1t+9YWHX/SjzGjZmJpYtCZ1oFbW0NnazJWKI34BmpR66GMoweGUzVVCKMixiPK1 ItLQ9EnDJefP1tAbGtN7Mdo8Fo7Eac4L+Yxwjgbb/M7NlKZFbKru1w0Uh6sT1+Q+ +6L2Ee2Sdyby3q+5UjMpb5dVicKxV4Nc= DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=shatow.net; h= mime-version:content-type:content-transfer-encoding:date:from:to :cc:subject:in-reply-to:references:message-id; s=sweb; bh=/DgDYE HGnojGlRDRYeSoW/U9ZM7nU4sbTJ/pljCNMXI=; b=zkddWiV/AgmbgBBO/Rz9E0 kZPtQaV23Rvo1uQ3j9iVKWTTA84f3hrjl/eXeRXhpN5u4o16FrnKUYIpJ2Eg7xp9 ELkHOgaCq69SwFpgeDs/2hXLipxq7j3xlZE/OZA8v9U586/E8uR5jasCxEflTvGb 2AIvzhfOddsu9SB5hRvWA= Received: (qmail 51445 invoked from network); 20 May 2014 09:58:40 -0500 Received: from unknown (HELO roundcube.xk42.net) (10.10.5.5) by sweb.xzibition.com with SMTP; 20 May 2014 09:58:40 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 20 May 2014 10:58:40 -0400 From: Bryan Drewery To: pete@altadena.net Subject: Re: Net-SNMP conflict In-Reply-To: <537B0FCB.7020608@altadena.net> References: <537B0FCB.7020608@altadena.net> Message-ID: X-Sender: bryan-lists@shatow.net User-Agent: Roundcube Webmail/0.9.5 Cc: zi@FreeBSD.org, freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2014 15:05:24 -0000 On 2014-05-20 04:18, Pete Carah wrote: > PLEASE don't automatically install pkg during the build of ANY other > package; if this happens in the middle of a portupgrade -a on a system > without pkgng, the result is not pretty; all packages built after > net-snmp have a duplicated origin, among other things. I hope I can > recover the system since it is supposed to be a production server. > > Yes, I realize I'll have to convert. However, this forced install > doesn't convert the database so the pkg database and /var/db/pkg end up > inconsistent, and I can't tell what is really installed on all of the > packages that show a duplicated origin. > > -- Pete > (portupgrade maintainer and pkg developer here) Having pkg installed should be perfectly safe. Portupgrade, nor the ports framework, consider pkg installed as "converted". All packages will continue to be registered in the old format unless you run pkg2ng or 'pkg install' or add WITH_PKGNG=yes to your make.conf. Can you please elaborate on what the "duplicated origin" issue is? net-snmp also should (if I remember the code I reviewed right) be only considering the new package database if it has packages in it, meaning not until you pkg2ng or 'pkg install'. -- Regards, Bryan Drewery