From owner-freebsd-questions@FreeBSD.ORG Mon May 19 01:17:50 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 827B5106567B for ; Mon, 19 May 2008 01:17:50 +0000 (UTC) (envelope-from LConrad@Go2France.com) Received: from mgw1.MEIway.com (mgw1.meiway.com [81.255.84.75]) by mx1.freebsd.org (Postfix) with ESMTP id 436D58FC0A for ; Mon, 19 May 2008 01:17:50 +0000 (UTC) (envelope-from LConrad@Go2France.com) Received: from VirusGate.MEIway.com (virusgate.meiway.com [81.255.84.76]) by mgw1.MEIway.com (Postfix Relay Hub) with ESMTP id 78E3F47273E for ; Mon, 19 May 2008 03:00:58 +0200 (CEST) Received: from localhost (localhost.MEIWay.com [127.0.0.1]) by VirusGate.MEIway.com (Postfix) with SMTP id 8189E38677E for ; Mon, 19 May 2008 03:00:58 +0200 (CEST) (envelope-from LConrad@Go2France.com) X-AV-Checked: Mon May 19 03:00:58 2008 virusgate.meiway.com Received: from mail.Go2France.com (ms1.meiway.com [81.255.84.73]) by VirusGate.MEIway.com (Postfix) with ESMTP id 6E59B386612 for ; Mon, 19 May 2008 03:00:58 +0200 (CEST) (envelope-from LConrad@Go2France.com) Received: from TX2.Go2France.com [66.90.247.9] by mail.Go2France.com with ESMTP (SMTPD32-7.07) id A023C20000FE; Mon, 19 May 2008 02:56:03 +0200 X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Sun, 18 May 2008 20:00:40 -0500 To: freebsd-questions@freebsd.org From: Len Conrad Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Message-Id: <200805190256171.SM02924@TX2.Go2France.com> Subject: upgraded OS, now how to fix all the pkgs? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 01:17:50 -0000 I used this: http://www.daemonology.net/blog/2007-11-10-freebsd-minor-version-upgrade.html mx1# pkg_add -r portupgrade Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.3-release/Latest/portupgrade.tbz... Done. Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.3-release/All/db41-4.1.25_4.tbz... Done. Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.3-release/All/ruby18-bdb-0.6.2.tbz... Done. I've deleted/installed berkeley and portupgrade to get started portupgrade-2.3.1,2 db41-4.1.25_4 ruby18-bdb-0.6.2 Ruby interface to Sleepycat's Berkeley DB revision 2 or lat , but portupgrade -all /usr/local/sbin/portupgrade:36:in `require': no such file to load -- optparse (LoadError) from /usr/local/sbin/portupgrade:36 where: 31 32 MYREVISION = %w$Rev: 71 $[1] 33 MYDATE = %w$Date: 2007/07/03 10:58:27 $[1] 34 MYNAME = File.basename($0) 35 36 require "optparse" 37 require "pkgtools" 38 39 REASON_COMMENT = { 40 :badcpp => "bad C++ code", 41 :bison => "bison error", 42 :categories => "invalid category", 43 :cc => "compiler error", how to fix? thanks Len