Error: port activate failed: Registry error: No port of e installed.
raimue at macports.org
Mon Oct 11 10:51:21 PDT 2010
On 2010-10-11 19:21 , David Gentry wrote:
> 6. In my terminal window, I ran a command to list all inactive ports.
> I picked several to run a "port activate" command on. For example, I
> said, "port activate [apache2]" and "port activate [mysql5]." I
> received the error message in the subject line of this email.
> What should I do now? I need my ports back!
Why did you use these brackets? They are interpreted as wildcard and in
the end result in a single character. Actually that should be an error,
seems to be a bug with the wildcard expansion in port.
Just type the port's name without anything extra:
sudo port activate mysql5 apache2
> I have a couple of thoughts:
> 1. I could run a command to determine if the ports I need are even
> installed. If not, I could run an install command.
port installed apache2 mysql5
It will also tell you if the ports are active or not.
> 2. I could use Mac's Time Machine backup to restore my system to the
> way it was the day before I installed Macports.
IIRC Time Machine does not work very well with MacPorts as it is unable
to backup hardlinks.
More information about the macports-users