From owner-freebsd-ports@FreeBSD.ORG Fri Apr 4 22:50:13 2014 Return-Path: Delivered-To: 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 90B5DAFB for ; Fri, 4 Apr 2014 22:50:13 +0000 (UTC) Received: from smtp.rcn.com (smtp.rcn.com [69.168.97.78]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 545D7C4C for ; Fri, 4 Apr 2014 22:50:12 +0000 (UTC) X_CMAE_Category: , , X-CNFS-Analysis: v=2.0 cv=G8ee4qY5 c=1 sm=1 a=uNsD4W5u/UlQopoDAqU1YA==:17 a=fZBWQ0Qh6m4A:10 a=EB7vuL5uLGAA:10 a=AaUjGI9IrlcA:10 a=IkcTkHD0fZMA:10 a=OA2lqS22AAAA:8 a=pGLkceISAAAA:8 a=nIJN1tnA9_FuYZA0_wQA:9 a=QEXdDO2ut3YA:10 a=MSl-tDqOz04A:10 a=uNsD4W5u/UlQopoDAqU1YA==:117 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine X-Authed-Username: cm9iZXJ0aHVmZkByY24uY29t Authentication-Results: smtp02.rcn.cmh.synacor.com header.from=roberthuff@rcn.com; sender-id=neutral Authentication-Results: smtp02.rcn.cmh.synacor.com smtp.mail=roberthuff@rcn.com; spf=neutral; sender-id=neutral Authentication-Results: smtp02.rcn.cmh.synacor.com smtp.user=roberthuff; auth=pass (PLAIN) Received-SPF: neutral (smtp02.rcn.cmh.synacor.com: 209.6.39.223 is neither permitted nor denied by domain of rcn.com) Received: from [209.6.39.223] ([209.6.39.223:2078] helo=[10.0.0.3]) by smtp.rcn.com (envelope-from ) (ecelerity 3.5.1.37854 r(Momo-dev:3.5.1.0)) with ESMTPA id 8F/B1-08709-3273F335; Fri, 04 Apr 2014 18:50:11 -0400 Message-ID: <533F36F0.8020803@rcn.com> Date: Fri, 04 Apr 2014 18:49:20 -0400 From: Robert Huff User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: "sindrome" Subject: Re: pkgng vs. portupgrade reporting ports outdated Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Apr 2014 22:50:13 -0000 "sindrome" > With pkgng I issue a 'pkg update' followed by a 'pkg upgrade' and it > shows me x number of ports that need to be updated. So it updates > and completes just fine and of course it's much faster than building > from source. > > So I still keep my source, ports and docs in sync via svn update. > Here's where the issue comes in. After I have done the pkg upgrade > and it tells me all is up-to-date, the 'pkg_version -v |grep needs' > command shows me dozens of ports that are not up-to-date and further > the versions it's saying I have installed are not consistent with > the versions that were installed through pkgng. It is my understanding it is generally a bad idea to mix the old and new package systems. (It can be done, but it's beyond my pay grade and if you're asking this I'd guess it is - at the moment - beyond yours.) "pkgng" can do almost everything the old system can, and does it better. (Now if it only had a replacement for pkg_sort ....) Each records its status quo in distinct and incompatible ways. When I want to know what needs updating I use: huff>> pkg version -v -l \< which I can send either to a file, or to e-mail, or to a script wrapped around portmaster. Does this help? Respectfully, Robert Huff