Date: Tue, 27 Nov 2012 15:13:40 -0800 From: Kevin Oberman <kob6558@gmail.com> To: Warren Block <wblock@wonkity.com> Cc: freebsd-ports@freebsd.org Subject: Re: INDEX files on servers outdated Message-ID: <CAN6yY1ufY_myXWQp6_8N9Gr5V8AOKEhYTimS4NsSvwbrciMj6Q@mail.gmail.com> In-Reply-To: <alpine.BSF.2.00.1211271315250.58564@wonkity.com> References: <alpine.BSF.2.00.1211271315250.58564@wonkity.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 27, 2012 at 12:31 PM, Warren Block <wblock@wonkity.com> wrote: > The INDEX files on the FreeBSD servers are outdated. > > (on 9-stable, amd64) > > # svn up /usr/ports > # cd /usr/ports > # make fetchindex > # grep ^firefox-1 INDEX-9 > firefox-16.0.2,1|/usr/ports/www/firefox|/usr/local|Web browser based > firefox-10.0.10,1|/usr/ports/www/firefox-esr|/usr/local|Web browser > > firefox was updated to 17.0 on November 20, almost a week ago. > > The old INDEX file can cause portupgrade and portmaster to not show > available updates. > > Portmaster: > > # svn up /usr/ports > # portmaster -L --index-only | egrep '(ew|ort) version|total install' > ===>>> 791 total installed ports > ===>>> There are no new versions available > > Portmaster does detect changes if --index-only is left out, but it takes > much longer and so is not used by some users. > > Portupgrade: > > # portsdb -Fu && portversion -vl'<' > # > > There is no indication to the user that the index file is outdated and > should be rebuilt locally. (I think but have not verified that the index > file retrieved by portsnap is correct.) > > I started to enter a PR for this, but realized it may be a known problem. > If so, can we just delete the index files so fetchindex errors out instead > of delivering an outdated file? Looks like fall-out from the security incident. I hope they start being updated, but I am falling back to "portsdb -Uu" or "make -C /usr/ports index" to generate the index file. Not ideal and rather slow, but it works. As you surmised, portsnap is fine. I am now issuing a "portversion -vL=" so I'll know when the index builds start up again. -- R. Kevin Oberman, Network Engineer E-mail: kob6558@gmail.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1ufY_myXWQp6_8N9Gr5V8AOKEhYTimS4NsSvwbrciMj6Q>