From owner-freebsd-questions@FreeBSD.ORG Sun Mar 13 23:39:19 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 A3FF516A4CE for ; Sun, 13 Mar 2005 23:39:19 +0000 (GMT) Received: from trans-warp.net (hyperion.trans-warp.net [216.37.208.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 004A143D2D for ; Sun, 13 Mar 2005 23:39:17 +0000 (GMT) (envelope-from bsilver@chrononomicon.com) Received: from [127.0.0.1] (unverified [65.193.73.208]) by trans-warp.net (SurgeMail 2.2g3) with ESMTP id 89737 for multiple; Sun, 13 Mar 2005 18:39:19 -0500 In-Reply-To: <200503131246.03193.ringworm01@gmail.com> References: <20050313200543.B290F4BE6D@ws1-1.us4.outblaze.com> <200503131220.02607.ringworm01@gmail.com> <4234A4C5.2090109@cis.strath.ac.uk> <200503131246.03193.ringworm01@gmail.com> Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <932306becc748b381634aac3df646c87@chrononomicon.com> Content-Transfer-Encoding: 7bit From: Bart Silverstrim Date: Sun, 13 Mar 2005 18:39:01 -0500 To: "Michael C. Shultz" X-Mailer: Apple Mail (2.619.2) X-Server: High Performance Mail Server - http://surgemail.com X-Authenticated-User: bsilver@chrononomicon.com X-DNS-Paranoid: DNS ptr lookup of (65.193.73.208) failed cc: freebsd-questions@freebsd.org cc: Chris Hodgins 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 23:39:19 -0000 On Mar 13, 2005, at 3:46 PM, 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. Just to add some experiences, I've been using Portmanager for probably a few months now (would need to check through old postings and notes to find out for sure) and have found it to be about the same amount of time for doing updates as portupgrade, but there's less babysitting of the server and I've not had any trouble using Portmanager. There was a bug that caused a loop in some updates but Michael fixed it in a very short amount of time and released the fixed version. It doesn't seem to rely on the index for the ports, so it may actually be faster. I don't have to run any operations to fix or reindex my ports as I've had to do sometimes in the past with portupgrade. Portmanager has made most of my updating a no-brainer, and I've been thankful that Michael was fast to fix problems when I reported what little I ran into. And this is on an in-use production server....I trust it with the updates, so either it's a program that works very well or I've been very lucky :-) I'd definitely recommend new users try using Portmanager for keeping their ports up to date. It is simple and straightforward to use and doesn't confuse newer users with details like manipulating the ports index. It's just a "portmanager -u" and off it goes...check in once in awhile to see how it's progressing and that's it. Makes updating as simple as the process of installing a new port :-) -Bart