From owner-freebsd-ports@FreeBSD.ORG Mon Aug 4 01:24:02 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 86AC93D3; Mon, 4 Aug 2014 01:24:02 +0000 (UTC) Received: from mail-ig0-x234.google.com (mail-ig0-x234.google.com [IPv6:2607:f8b0:4001:c05::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 4AAF62887; Mon, 4 Aug 2014 01:24:02 +0000 (UTC) Received: by mail-ig0-f180.google.com with SMTP id l13so4471937iga.7 for ; Sun, 03 Aug 2014 18:24:01 -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=5GZBic0BxKqPSZAqNmeYHsg8FcqRnfat/uDPBnLVNEk=; b=ZAHnhE/0Ew49j6r2GueNddzqtmcqeqyzRmmcQyCqVYJJmwncDOqut/EIki/Q0E8IIv 62dtnvSqlkV8bYqZAcPd2XAudBxTAZOlXQrtkrqBr5rT8rohKISfI3qpPslNUUf5FNyN vmZmHRKHCphIeg0s+ozy4uKbdG2YM5QTzOuvdIRHlVSvGnaFOcdjci3JJycl1v2mgarG gYtYJ98tZYf3/gvzPJ0HaOxy/10FAk1vlQIG9XB6YXeLss1QJtlHFKsl66aay8IlpwZl sDVLqdf1uiKWm+AFqdtn94FL4/QBUli04eXwJ3c0kyCJuG3j1bDBJXBTcjpzHh6iZxRP i6pg== MIME-Version: 1.0 X-Received: by 10.42.20.71 with SMTP id f7mr26430834icb.71.1407115441647; Sun, 03 Aug 2014 18:24:01 -0700 (PDT) Sender: kob6558@gmail.com Received: by 10.107.163.148 with HTTP; Sun, 3 Aug 2014 18:24:01 -0700 (PDT) In-Reply-To: <53DE9B38.2000805@cyberbotx.com> References: <53DE7266.5000606@cyberbotx.com> <53DE8623.1090208@infracaninophile.co.uk> <53DE8EBD.4090303@cyberbotx.com> <53DE934C.101@FreeBSD.org> <53DE9B38.2000805@cyberbotx.com> Date: Sun, 3 Aug 2014 18:24:01 -0700 X-Google-Sender-Auth: z13jIQUeznOjiE71zH0_q5_OYxQ Message-ID: Subject: Re: Does pkg automatically download INDEX? From: Kevin Oberman To: Naram Qashat Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: Matthew Seaman , 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: Mon, 04 Aug 2014 01:24:02 -0000 On Sun, Aug 3, 2014 at 1:27 PM, Naram Qashat wrote: > On 08/03/14 15:53, Matthew Seaman wrote: > >> On 03/08/2014 20:34, Naram Qashat wrote: >> >>> Well, I've been using the command line arguments of "-voL '='", and >>> looking at the man page for pkg-version, as far as I can tell, it >>> shouldn't be downloading INDEX, since I do have INDEX-9 on my system. >>> >> >> pkg(8) doesn't download or attempt to build an INDEX at all. It can use >> one if one happens to be already available, but not otherwise. >> >> Cheers, >> >> Matthew >> > > I'm at a bit of a loss, then. While I can't say for sure if pkg is doing > something unintended, there seems to be something on my system that is > downloading INDEX without my knowledge. > > My usual way of updating my INDEX is using p5-FreeBSD-Portindex to > generate the INDEX file, and using that INDEX to update the files that > portupgrade uses. I run that manually, so I have nothing that would do that > for me automatically, to my knowledge. > > > Thanks, > Naram Qasha > Are you doing anything between building the index and running "pkg version"? I can tell you that portmaster will download the "latest" index unless you use the --no-index-fetch option. I don't know about other tools, but it caught me by surpize. -- R. Kevin Oberman, Network Engineer, Retired E-mail: rkoberman@gmail.com