From owner-freebsd-questions@FreeBSD.ORG Sat Sep 3 13:47:48 2005 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 7BECB16A41F for ; Sat, 3 Sep 2005 13:47:48 +0000 (GMT) (envelope-from freebsd@orchid.homeunix.org) Received: from orchid.homeunix.org (baz212.neoplus.adsl.tpnet.pl [83.27.189.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E3B943D48 for ; Sat, 3 Sep 2005 13:47:47 +0000 (GMT) (envelope-from freebsd@orchid.homeunix.org) Received: from [192.168.1.66] (blackacidevil.orchid.homeunix.org [192.168.1.66]) (authenticated bits=0) by orchid.homeunix.org (8.13.3/8.13.3) with ESMTP id j83DldOs006595 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Sat, 3 Sep 2005 15:47:45 +0200 (CEST) (envelope-from freebsd@orchid.homeunix.org) Message-ID: <4319A97D.8010800@orchid.homeunix.org> Date: Sat, 03 Sep 2005 15:47:41 +0200 From: Karol Kwiatkowski User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050829) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Anthony M. Agelastos" References: <023EEE4E-19FC-41BF-BEE4-2395BFCA42A4@gmail.com> In-Reply-To: <023EEE4E-19FC-41BF-BEE4-2395BFCA42A4@gmail.com> X-Enigmail-Version: 0.92.0.0 OpenPGP: id=06E09309; url=http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.86.2/1059/Sat Sep 3 09:31:58 2005 on orchid.homeunix.org X-Virus-Status: Clean Cc: freebsd-questions@freebsd.org Subject: Re: portsdb question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@orchid.homeunix.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Sep 2005 13:47:48 -0000 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