From owner-freebsd-questions@FreeBSD.ORG Sat Feb 4 17:31:17 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 AD2E316A420 for ; Sat, 4 Feb 2006 17:31:17 +0000 (GMT) (envelope-from kdk@daleco.biz) Received: from ezekiel.daleco.biz (southernuniform.com [66.76.92.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3FB9E43D46 for ; Sat, 4 Feb 2006 17:31:16 +0000 (GMT) (envelope-from kdk@daleco.biz) Received: from [192.168.2.2] ([69.27.149.254]) by ezekiel.daleco.biz (8.13.1/8.13.1) with ESMTP id k14HU6Eh063126; Sat, 4 Feb 2006 11:30:26 -0600 (CST) (envelope-from kdk@daleco.biz) Message-ID: <43E4E494.5010309@daleco.biz> Date: Sat, 04 Feb 2006 11:29:56 -0600 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060127 X-Accept-Language: en-us, en MIME-Version: 1.0 To: FreeBSD Questions References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Xn Nooby Subject: Re: Why does portsdb -Uu run so long? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Feb 2006 17:31:17 -0000 Denny White wrote: > > > Today Xn Nooby spake forth boldly: > >>> It just does, after you cvsup new ports cd into /usr/ports and type >>> make fetchindex. what way is the "old foolproof way"? >>> >> >> Here is how I update my system (without using a 'make fetchindex') >> >> cvsup -g -L 2 /root/stable-supfile >> less UPDATING >> make buildworld >> make buildkernel >> make installkernel >> shutdown now >> cd /usr/src >> make installworld >> mergemaster >> shutdown -r now >> portsdb -Uu >> portversion -l "<" >> portupgrade -arR >> reboot >> >> It takes forever, but it works everytime. Everything else I've ever >> tried >> has always had some kind of error, and I never know what they mean or >> what I >> should do. >> >> Maybe by never doing a fetchindex, I've never really updated my >> system, and >> thats why its never had a problem, lol. That would be embarassing. >> _______________________________________________ > > > Try portsdb -uUF I'm beginning to think it should be, "try reading the manpage", where portsdb suggests that unless "you define special macros in /etc/make.conf and the dependency of some ports are changed", `portsdb -Fu` is your best option (fetch the pre-built INDEX and then make index.db locally). The reason `portsdb -Uu` takes so long is that it has a lot of work to do on a very large file tree. Oh, and I love Nikolas's "nice +20 portupgrade", but only if it is scripted over the weekend or something. I'll have to try it. Kevin Kinsey -- [Prime Minister Joseph] Chamberlain loves the working man, he loves to see him work. -- Winston Churchill