From owner-freebsd-questions@FreeBSD.ORG Sat Apr 10 08:33:36 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF45416A4CE for ; Sat, 10 Apr 2004 08:33:36 -0700 (PDT) Received: from smtp.owt.com (smtp.owt.com [204.118.6.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6187C43D2D for ; Sat, 10 Apr 2004 08:33:36 -0700 (PDT) (envelope-from kstewart@owt.com) Received: from [207.41.94.233] (owt-207-41-94-233.owt.com [207.41.94.233]) by smtp.owt.com (8.12.8/8.12.8) with ESMTP id i3AFXU8a029731; Sat, 10 Apr 2004 08:33:30 -0700 From: Kent Stewart To: freebsd-questions@freebsd.org Date: Sat, 10 Apr 2004 08:33:34 -0700 User-Agent: KMail/1.6.1 References: <4076527F.1060902@users.sourceforge.net> <200404091246.14178.kstewart@owt.com> In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200404100833.34425.kstewart@owt.com> cc: Andreas Davour Subject: Re: Portupgrade problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Apr 2004 15:33:36 -0000 On Saturday 10 April 2004 07:51 am, Andreas Davour wrote: > I wanted to send my heartfelt thanks to all who chimed in with > helpful suggestions on my portupgrade problem. > > I have now learned that ports-all is proably the best option for a > ports-supfile, and I'll have to look into the issue about a refuse > file instead when I want to limit the selection. > > I have also learnt the importance of running 'portsdb -Uu' after > upgrading. Since you will now be running portsdb -uU, you should refuse ports/INDEX[-5]. This dependis on whether you are running 4.x or [-5] if you are running 5.x. You are going to recreate the INDEX file and it takes a long time to redownload even over a 100Mbps network. Since you have recreated your INDEX file, cvsup will download it everytime you cvsup ports-all. The refuse saves you from re-downloading a don't need 5 MB file. > > Now I think I know how to do these things and after another upgrade I > think I'm ready to at least do the cvsup part using cron. The hardest part of a cron job is finding that magic time after the hour that never fails because your cvsup-mirror is over committed. The mirrors always update on the hour and you have to wait at least 10 minutes for the mirror to finish its cvsup. If you don't, you are getting data from the mirror's previous update. I currently schedule my local mirror update at 25 minutes after the hour. It has been more than 2 days since the update failed. All mirrors are not created equal. When something major like FreeBSD 4.10 is released, there is no magic time and you will probably find that the cronjob frequently fails for around a day. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html