From owner-freebsd-questions@FreeBSD.ORG Mon Mar 22 07:31:28 2004 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 CBF4016A4CF for ; Mon, 22 Mar 2004 07:31:28 -0800 (PST) Received: from srvdmz13.oekb.co.at (srvdmz13.oekb.co.at [143.245.5.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3DA8B43D39 for ; Mon, 22 Mar 2004 07:31:27 -0800 (PST) (envelope-from Ewald.Jenisch@oekb.at) Received: from Unknown [143.245.2.191] by srvdmz13.oekb.co.at - SurfControl E-mail Filter (4.7); Mon, 22 Mar 2004 16:31:24 +0100 Received: from athena.oekb.co.at ([143.245.83.20]) by MAIL01.oekb.co.at with Microsoft SMTPSVC(5.0.2195.6713); Mon, 22 Mar 2004 16:31:24 +0100 Received: from athena.oekb.co.at (athena.oekb.co.at [127.0.0.1]) by athena.oekb.co.at (8.12.10/8.12.10) with ESMTP id i2MFVN4B014114 for ; Mon, 22 Mar 2004 16:31:23 +0100 Received: (from ej@localhost) by athena.oekb.co.at (8.12.10/8.12.10/Submit) id i2MFVNtB014113 for freebsd-questions@freebsd.org; Mon, 22 Mar 2004 16:31:23 +0100 Message-ID: <20040322153123.GA14092@athena.oekb.co.at> From: Ewald Jenisch To: freebsd-questions@freebsd.org Date: Mon, 22 Mar 2004 16:31:23 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-OriginalArrivalTime: 22 Mar 2004 15:31:24.0093 (UTC) FILETIME=[BBEB9ED0:01C41022] User-Agent: Mutt/1.4.1i Subject: portupgrade -arR fails -> port/pkg-system no longer usable 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: Mon, 22 Mar 2004 15:31:28 -0000 Hi, Doing a "portupgrade -arR" rendered my system (esp. the parts that refer to ports/packages) more or less unusable. Here's what I did: System is running 4.9 cvsup -g -L 2 ports-supfile pkgdb -F portsdb -Uu cd /usr/ports portupgrade -arR After some hours worth of CPU-time I ended with a lot of ports not been upgraded like e.g. ! graphics/png (png-1.2.5_2) (uninstall error) ! textproc/xmlcatmgr (xmlcatmgr-0.2_1) (uninstall error) ! textproc/sdocbook-xml (sdocbook-xml-4.1.2.5_1) (uninstall error) ! lang/ruby16-shim-ruby18 (ruby-shim-ruby18-1.8.0.p2.2003.04.19_1) (uninstall error) ! devel/libtool13 (libtool-1.3.5_1) (uninstall error) ! converters/libiconv (libiconv-1.9.1_1) (uninstall error) ! textproc/expat2 (expat-1.95.6_1) (uninstall error) ! archivers/lha (lha-1.14i_1) (uninstall error) ! textproc/py-expat (py23-expat-2.3_2) (unknown build error) ! graphics/jpeg (jpeg-6b_1) (uninstall error) ! textproc/docbook-sk (docbook-sk-4.1.2) (uninstall error) ! textproc/docbook-xsl (docbook-xsl-1.61.3_1) (uninstall error) ! graphics/tiff (tiff-3.5.7_1) (uninstall error) ! devel/gettext (gettext-0.12.1) (unknown build error) ! databases/ruby-bdb1 (ruby-bdb1-0.2.1) (uninstall error) ! graphics/lcms (lcms-1.09,1) (uninstall error) ! sysutils/portupgrade (portupgrade-20030723) (uninstall error) ! devel/libltdl (libltdl-1.5) (uninstall error) ! lang/guile (guile-1.6.4_2) (uninstall error) ! devel/pkgconfig (pkgconfig-0.15.0) (uninstall error) etc.etc. So I tried # pkgdb -F /usr/local/sbin/pkgdb:35:in `require': No such file to load -- pkgtools (LoadError) from /usr/local/sbin/pkgdb:35 # and # portsdb -Uu /usr/local/sbin/portsdb:35:in `require': No such file to load -- pkgtools (LoadError) from /usr/local/sbin/portsdb:35 # as well as # portversion /usr/local/sbin/portversion:35:in `require': No such file to load -- pkgtools (LoadError) from /usr/local/sbin/portversion:35 # Please note that I've "portupgraded" my system with "-arR" several times in the past without any problems so far. BTW - I'm experiencing the same problems with another system that's running 5.2.1. Any pointer/help in order to get my system going again is very much appreciated! Thanks much in advance for your help, -ewald