From owner-freebsd-ports@FreeBSD.ORG Tue Feb 6 12:19:05 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 23AD916A400 for ; Tue, 6 Feb 2007 12:19:05 +0000 (UTC) (envelope-from freebsd-ports@hyltown.com) Received: from tuxpro.hyltown.com (docsis-cbm-15-101.nclxtn.lexcominc.net [209.102.254.101]) by mx1.freebsd.org (Postfix) with ESMTP id B3BF213C442 for ; Tue, 6 Feb 2007 12:19:04 +0000 (UTC) (envelope-from freebsd-ports@hyltown.com) Received: from localhost (webmail.hyltown.com [10.0.0.247]) by tuxpro.hyltown.com (8.11.0/8.11.0) with ESMTP id l16DK1630368 for ; Tue, 6 Feb 2007 08:20:01 -0500 Received: from globalgen.tgic.com (globalgen.tgic.com [208.49.241.145]) by webmail.hyltown.com (IMP) with HTTP for ; Tue, 6 Feb 2007 07:20:27 -0500 Message-ID: <1170764427.45c8728baa1f7@webmail.hyltown.com> Date: Tue, 6 Feb 2007 07:20:27 -0500 From: dewey hylton To: freebsd-ports@freebsd.org References: <20070206120040.2A2A216A4D4@hub.freebsd.org> In-Reply-To: <20070206120040.2A2A216A4D4@hub.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.1 X-Originating-IP: 208.49.241.145 Subject: Re: HEADS UP: portupgrade moved (ports-mgmt) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Feb 2007 12:19:05 -0000 > Date: Mon, 05 Feb 2007 18:33:16 +0000 > From: Colin Waring > Subject: Re: HEADS UP: portupgrade moved (ports-mgmt) > > I spotted this, but unfortunately because it has cause some problems. > I'm getting a couple of errors now, all the ports tools kick out: > > cd: can't cd to /usr/ports/sysutils/portupgrade > > I've tried uninstalling portupgrade and reinstalling it. If I uninstall, > all I get is: > > pkg_delete: file '(null)/libdata/ldconfig/portupgrade' doesn't exist > pkg_delete: couldn't entirely delete package (perhaps the packing list > is incorrectly specified?) > > It disappears from the list of installed programs but the error stays > and installing it clean from the new location makes no improvements. I > also have portdowngrade and portaudit installed which will have been > affected by the move. I think they are currently working fine. > > It is possible that the problem has been caused by portupgrade not just > being moved, but a new version coming out too so somewhere along the > lines it just can't cope with both. > > The only question is how to get it sorted? > pkgdb -fF doesn't do anything other than output the "can't cd" error. > Removing and recreating pkgdb.db does bugger all. > > portupgrade appears to still do its job, but I don't want to find out > its actually breaking things because of the error so I'm not using it.. > > Any suggestions? > Cheers, > Colin. i followed /usr/ports/UPDATING and didn't have any problem. specifically: 20070102: AFFECTS: users of sysutils/portupgrade AUTHOR: sem@FreeBSD.org If you have a problem with upgrading the tools from version 2.2.1 and less, remove the package with pkg_delete portupgrade\* command and reinstall it from scratch. Remove /usr/ports/INDEX*.db and run portsdb -u.