From owner-freebsd-questions@FreeBSD.ORG Sun Mar 13 20:52:04 2005 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 2708A16A4CE for ; Sun, 13 Mar 2005 20:52:04 +0000 (GMT) Received: from smtphost.cis.strath.ac.uk (smtphost.cis.strath.ac.uk [130.159.196.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id 398E843D5C for ; Sun, 13 Mar 2005 20:52:03 +0000 (GMT) (envelope-from chodgins@cis.strath.ac.uk) Received: from [192.168.0.4] (chrishodgins.force9.co.uk [84.92.20.141]) j2DKpuNU003170; Sun, 13 Mar 2005 20:51:56 GMT Message-ID: <4234A933.10301@cis.strath.ac.uk> Date: Sun, 13 Mar 2005 20:57:23 +0000 From: Chris Hodgins User-Agent: Mozilla Thunderbird 1.0 (X11/20050204) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Michael C. Shultz" References: <20050313200543.B290F4BE6D@ws1-1.us4.outblaze.com> <200503131220.02607.ringworm01@gmail.com> <4234A4C5.2090109@cis.strath.ac.uk> <200503131246.03193.ringworm01@gmail.com> In-Reply-To: <200503131246.03193.ringworm01@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-CIS-MailScanner-Information: Please contact support@cis.strath.ac.uk for more information X-CIS-MailScanner: Found to be clean X-CIS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-4.9, required 6, autolearn=not spam, BAYES_00 -4.90) X-CIS-MailScanner-From: chodgins@cis.strath.ac.uk cc: freebsd-questions@freebsd.org Subject: Re: If I have portmanager, do I need portupgrade? 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: Sun, 13 Mar 2005 20:52:04 -0000 Michael C. Shultz wrote: > On Sunday 13 March 2005 12:38 pm, you wrote: > >>Michael C. Shultz wrote: >> >>>On Sunday 13 March 2005 12:05 pm, Fafa Diliha Romanova wrote: >>> >>>>If I just do: >>>> >>>>cvsup -g -L 2 /etc/cvsupfile && portmanager -u >>>> >>>>Do I need portupgrade at all then? >>>> >>>>Thanks. >>> >>>Not for upgrading. portsclean (a part of portsupgrade package) is >>>a nice feature of portupgrade, so is pkg_which and a few others so >>>I keep portupgrade around just the same. >>> >>>-Mike >> >>How long does it take to run portmanager. Is it a similar amount of >>time as portupgrade for each run? >> >>Chris > > > That is a tough question here is how it tends to work for me: > > First I run it everyday since I'm developing it I have to know if there > is anything changed in ports that is going to cause portmanager to > crash. Most days it takes less than an hour, but sometimes when > just one lower level port like gettext for example is updated it may > take 24 hours to finish. I'm using a 1ghz machine with both gnome > and kde (all together about 300 installed ports) as an example. > > Here is exactly how portmanager works: > > First dependent ports that are out of date are upgraded, then everything > that depends on them are upgraded. portupgrade does not work this same > way so the time comparison is very tough to predict. > > -Mike > Ah I see. So portmanager is sort of doing the equivelant to: portupgrade -fr myOutOfDatePort ?? Does this not mean it will always be slower than portupgrade? If it a low-level port it is going to take ages but if it is high-level it will start to get closer to the time it takes for portupgrade to run. Never faster? Or am I missing something. Is there a reason it does it this way over portupgrades method? Chris