Date: Sat, 03 Sep 2005 15:47:41 +0200 From: Karol Kwiatkowski <freebsd@orchid.homeunix.org> To: "Anthony M. Agelastos" <iqgrande@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: portsdb question Message-ID: <4319A97D.8010800@orchid.homeunix.org> In-Reply-To: <023EEE4E-19FC-41BF-BEE4-2395BFCA42A4@gmail.com> References: <023EEE4E-19FC-41BF-BEE4-2395BFCA42A4@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Anthony M. Agelastos wrote: > Hello all, > > Is it normal for portsdb -uU to require 2 hours to complete (Pentium > III // 450 MHz // FreeBSD 5.4-STABLE from 07/27 and KERNEL = GENERIC > with very, very slight modifications primarily for architecture and > Mplayer)? Yes, it can take a lot of time (-U option creates/updates INDEX file). I found out about this because many have recommended using > portversion because of its speed over pkg_version, however when I sync > my Ports tree, pkg_version will report to me updated information > whereas portversion will not, and the only way I have found to have it > report updated information is to run portsdb -uU (the big U is what > takes forever and is the crucial one of those flags), which takes two > hours and, consequently, kills the overall speed claim mentioned above. > Considering what I can build (from source) or scientifically compute in > two hours, I think my machine is doing something it shouldn't be. Does > anyone have any ideas? You can fetch INDEX file instead of building it. Just run 'make fetchindex' in ports directory: # cd /usr/ports && make fetchindex && portsdb -u Also have a look at 'man ports'. Hope that helps. > I should note here that I did Google this, check the FAQ, and check the > documentation. I have been known to accidentally miss items in these > areas, so if I did, I do apologize. Regards, Karol -- Karol Kwiatkowski <freebsd at orchid dot homeunix dot org>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4319A97D.8010800>