Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Feb 2007 13:19:27 +0000
From:      RW <fbsd06@mlists.homeunix.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Portmanager - not working after ports change
Message-ID:  <20070206131927.483fe494@gumby.homeunix.com>
In-Reply-To: <907502.10762.qm@web34404.mail.mud.yahoo.com>
References:  <907502.10762.qm@web34404.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 5 Feb 2007 09:14:16 -0800 (PST)
White Hat <pigskin_referee@yahoo.com> wrote:

> There was a change in the ports system -
> /usr/ports/UPDATING 20070205 - which now renders
> portmanager unable to run correctly. While it is
> possible to update a single port; i.e., "portmanager
> /path/to-port/", if I attempt to do a general ports
> update; i.e., "portmanager -u", I receive the
> following error message:
> 
> percentDone-=>0 = 100 - ( 100 * ( oldPortsDbQTY-=>6 /
> oldPortsDbTOTALIZER-=>6 ))
> cd: can't cd to /usr/ports/sysutils/portmanager
> rBsdPortMkPatch 0.4.1_7 error: bsd.port.mk
> /usr/ports/Mk unable to restored from back up   cp
> /usr/local/share/portmanager/bsd.port.mk-BACKUP
> /usr/ports/Mk/bsd.port.mk
> 
> I tried deinstalling portmanager and then installing
> it from its new port directory; however, that failed
> to alleviate the problem.
> 
> Has anyone else experienced this problem, and perhaps
> have a solution?

Probably it's just that someone need to patch it to change
"sysutils/portmanager" to "ports-mgmt/portmanager" in the source.

As a workaround try linking portmanager's new port directory to where
its old one was. As there will be a MOVED entry it's probably best to
use it with the new origin, but make sure portmanager is up-to-date
before running it on multiple ports, it wont be able to detect a
self-update, and it doesn't like to do that as part of a general ports'
update.



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