From owner-freebsd-stable@FreeBSD.ORG Mon May 23 20:05:06 2005 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E41FB16A41C for ; Mon, 23 May 2005 20:05:06 +0000 (GMT) (envelope-from Zimmerman.Eric@con-way.com) Received: from ljcqs031.cnf.com (mail-cluster.cnf.com [63.230.177.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 870C643D49 for ; Mon, 23 May 2005 20:05:04 +0000 (GMT) (envelope-from Zimmerman.Eric@con-way.com) Received: from ljcqs031.cnf.com (localhost [127.0.0.1]) by localhost.cnf.com (Postfix) with ESMTP id E2F6D26EE1E; Mon, 23 May 2005 13:05:03 -0700 (PDT) Received: from ciies004.conway.prod.con-way.com (cnfdcx-131-slb-02-in.cnf.com [10.0.108.132]) by ljcqs031.cnf.com (Postfix) with ESMTP id CA28F26ED01; Mon, 23 May 2005 13:05:03 -0700 (PDT) Received: from qgaes001.conway.prod.con-way.com ([10.40.10.68]) by ciies004.conway.prod.con-way.com with Microsoft SMTPSVC(6.0.3790.211); Mon, 23 May 2005 13:05:03 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Mon, 23 May 2005 15:05:01 -0500 Message-ID: <12AAD6CC50A25841834F43955F39B66E014B4E2F@qgaes001.conway.prod.con-way.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Problem with portupgrade Thread-Index: AcVfzdZexqeyKg0QSyei4PYSeNh8rQAA9WAA From: "Zimmerman, Eric" To: "Jim C. Nasby" , X-OriginalArrivalTime: 23 May 2005 20:05:03.0774 (UTC) FILETIME=[B5335BE0:01C55FD2] Cc: Subject: RE: Problem with portupgrade X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 May 2005 20:05:07 -0000 -----Original Message----- From: owner-freebsd-stable@freebsd.org [mailto:owner-freebsd-stable@freebsd.org] On Behalf Of Jim C. Nasby Sent: Monday, May 23, 2005 13:50 To: stable@freebsd.org Subject: Problem with portupgrade After updating my ports tree I'm getting this: decibel@flake.2[13:40]/usr/ports/sysutils/portupgrade:157>sudo portupgrade -a [Updating the pkgdb in /var/db/pkg ... - 354 packages found (-3 +2) (...)/usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:466: [BUG] Segmentation fault ruby 1.8.2 (2004-12-25) [i386-freebsd4] I've tried manually reinstalling both ruby and portupgrade to no avail. I hope I am not hijacking your thread but... I recommend trying portmanager instead of portupgrade. It is MUCH smarter, has less dependencies, and knows how to take care of things when you upgrade a package like perl (it will reinstall all your perl related ports automatically, etc against the new build). Portmanager + portsnap is great. No need for databases or INDEX making which takes a while, etc. Portsnap should replace cvsup in the handbook IMO. It rocks. Here is how I update ports and check for outdated ports (in ports.sh script): portsnap fetch echo "Port snapshot fetched, updating..." portsnap update echo "done. Outdated ports:" # take care of cache miss on new ports portmanager -s > /dev/null portmanager -s | grep OLD if there are any outdated ports, a portmanager -u will update them all, taking care of any and all dependencies, etc. it does a bunch more stuff too. is anyone aware of any downsides to portmanager? Anyone had any issues? Hope this helps someone out.