Date: Sun, 03 Aug 2014 22:10:27 -0400 From: Naram Qashat <cyberbotx@cyberbotx.com> To: Kevin Oberman <rkoberman@gmail.com> Cc: Matthew Seaman <matthew@freebsd.org>, FreeBSD Ports ML <freebsd-ports@freebsd.org> Subject: Re: Does pkg automatically download INDEX? Message-ID: <53DEEB93.8010208@cyberbotx.com> In-Reply-To: <CAN6yY1tu-M1g6h3ihmOxd=dTrVQHccTWrXZPkn-dmcPteTo4vg@mail.gmail.com> References: <53DE7266.5000606@cyberbotx.com> <53DE8623.1090208@infracaninophile.co.uk> <53DE8EBD.4090303@cyberbotx.com> <53DE934C.101@FreeBSD.org> <53DE9B38.2000805@cyberbotx.com> <CAN6yY1tu-M1g6h3ihmOxd=dTrVQHccTWrXZPkn-dmcPteTo4vg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 08/03/14 21:24, Kevin Oberman wrote: > On Sun, Aug 3, 2014 at 1:27 PM, Naram Qashat <cyberbotx@cyberbotx.com > <mailto:cyberbotx@cyberbotx.com>> 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 <mailto:rkoberman@gmail.com> I'm not. In fact, I rebuilt the INDEX and did 'pkg version' and it didn't change INDEX, which is correct from what Matthew said. But I left the system alone and then, without having run any other commands, checked the timestamp of INDEX-9 again. It was changed, despite having not done anything in between. If there is a way to find out when any process is attempting to modify a file, that would probably help me narrow it down, but I'm not aware of anything that can do that, so if anyone does know, that would be helpful. I had tried to check my /var/log/all.log for anything but the only thing that even happened around the time when INDEX-9 got changed was Postfix's anvil being called, which I doubt would've caused the INDEX-9 to be downloaded. Thanks, Naram Qashat
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53DEEB93.8010208>