Date: Sat, 04 Feb 2006 11:29:56 -0600 From: Kevin Kinsey <kdk@daleco.biz> To: FreeBSD Questions <freebsd-questions@freebsd.org> Cc: Xn Nooby <xnooby@gmail.com> Subject: Re: Why does portsdb -Uu run so long? Message-ID: <43E4E494.5010309@daleco.biz> In-Reply-To: <Pine.BSO.4.63.0602040937090.12419@badboybox.cableone.net> References: <bdf25fde0602010241i30ed79c9x2818c3fa35abf731@mail.gmail.com> <ef10de9a0602032110g5ff97760tb6ead7a638c1ed86@mail.gmail.com> <bdf25fde0602032318u7e01d789u58fe877c25e574cd@mail.gmail.com> <Pine.BSO.4.63.0602040937090.12419@badboybox.cableone.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43E4E494.5010309>