From owner-freebsd-ports@FreeBSD.ORG Thu Jul 24 17:19:44 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 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EF5ECB3C for ; Thu, 24 Jul 2014 17:19:44 +0000 (UTC) Received: from mail-pa0-x234.google.com (mail-pa0-x234.google.com [IPv6:2607:f8b0:400e:c03::234]) (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 C4C0F26BA for ; Thu, 24 Jul 2014 17:19:44 +0000 (UTC) Received: by mail-pa0-f52.google.com with SMTP id bj1so4346827pad.39 for ; Thu, 24 Jul 2014 10:19:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=WWtU6GD0EnNpA9VF8N4Zw/2QS4i1OZkytVr4Kr01zGs=; b=CmssplT5owgena6e4Sli9PLj77S0g2yWkK17SayhUD+S2UUt+HiqfzRcf6FU/PaKCY xxhCE56qFZSKdNl6u1olnjiPwl471Dr+Ad99dl63Z6JW9W7yYRerQoIxofJAyRiICnUZ 9si5NcLHGa/5Rb5YuVzidDzNZmIinOoymbwEVLEYWBg+oVjOST1GkgPus3POvqHd+1xh LCibKoomAxVD++oKcM03x1C+rVG6GCHqqMZM+2kXkVG8xR1yMy/ditPSG7IpUxREk/3k UF1h+shwvQjx9V5iJQe1lXT1xDZo71FXphCcGN5qao8a95my9Hvzo175bZT4yZjGvfXo uGTw== MIME-Version: 1.0 X-Received: by 10.70.96.38 with SMTP id dp6mr12285370pdb.136.1406222384076; Thu, 24 Jul 2014 10:19:44 -0700 (PDT) Sender: kob6558@gmail.com Received: by 10.66.88.227 with HTTP; Thu, 24 Jul 2014 10:19:44 -0700 (PDT) In-Reply-To: References: <86vbqnhp8t.wl-hskuhra@eumx.net> <86tx67hp0x.wl-hskuhra@eumx.net> <53D00A72.9090306@infracaninophile.co.uk> Date: Thu, 24 Jul 2014 10:19:44 -0700 X-Google-Sender-Auth: t52R5c27iN_OwvjPkm4qvz1xUXk Message-ID: Subject: Re: Lots of installed ports show "succeeds index" From: Kevin Oberman To: Christian Weisgerber Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: FreeBSD Ports ML 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: Thu, 24 Jul 2014 17:19:45 -0000 On Thu, Jul 24, 2014 at 4:42 AM, Christian Weisgerber wrote: > On 2014-07-23, Matthew Seaman wrote: > > > 'pkg version' priorities changed between repository catalogue, ports > > index and generating the info out of the ports tree directly. Now if > > you have an INDEX file, pkg version will read that for preference, as > > it's only about a zillion times faster than what it used to do, which > > involves running make(1) in a bunch of ports. > > > > If you want the old behaviour either delete the INDEX file or use the -P > > flag. > > -P does most certainly not provide the old behavior. pkg version > took a few seconds, now it takes two minutes on the same machine. > > -- > Christian "naddy" Weisgerber naddy@mips.inka.de > If 'pkg version' only took a few seconds for you, I suspect you had very few ports installed. It has always taken minutes for me. That said, '-P' is much slower than the old default, even though it is doing as close as possible to the same thing. I suspect the slow-down is due to the overhead of the solver. The solver fixes many potential pkgdb issues, but it is probably a rather slow fix. Perhaps that is why use of the index is now the default. I have been using '-I since moving to pkgng because it is almost instant... far faster then the old package system. Is there a reason you want to avoid using the index? It's worked just fine for me for several months on systems with well over 1000 ports installed. -- R. Kevin Oberman, Network Engineer, Retired E-mail: rkoberman@gmail.com