Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  6 Feb 2007 07:20:27 -0500
From:      dewey hylton <freebsd-ports@hyltown.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: HEADS UP: portupgrade moved (ports-mgmt)
Message-ID:  <1170764427.45c8728baa1f7@webmail.hyltown.com>
In-Reply-To: <20070206120040.2A2A216A4D4@hub.freebsd.org>
References:  <20070206120040.2A2A216A4D4@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> Date: Mon, 05 Feb 2007 18:33:16 +0000
> From: Colin Waring <freebsd@southportcomputers.co.uk>
> 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.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1170764427.45c8728baa1f7>