Ryan Schmidt <ryandesign@macports.org> writes:
[snip]
> So, I used
> sudo port -f activate ImageMagick
> and got the message:
>
> ---> The following versions of ImageMagick are currently installed:
> ---> ImageMagick @6.3.6-0_0+darwin_8
> ---> ImageMagick @6.3.6-4_0+darwin_8
> ---> ImageMagick @6.3.8-6_0+q16
> Error: port uninstall failed: Registry error: Please specify the
> full version as recorded in the port registry.
Ah, ok, you have 3 versions of ImageMagick installed. In that case,
you need to tell it which one you want to activate, e.g. with:
sudo port -f activate ImageMagick @6.3.8-6_0+q16
> I tried to find the exact full version name through port info
> and got this message:
>
> Can't map the URL 'file://.' to a port description file ("Could not
> find Portfile in /Users/myname").
> Please verify that the directory and portfile syntax are correct.
> To use the current port, you must be in a port's directory.
> (you might also see this message if a pseudo-port such as
> outdated or installed expands to no ports).
> Error: Unable to open port: Could not find Portfile in /Users/madmin
>
>
> where /Users/myname is my admin account name. [snip]
Well the full version name of the three installed versions was
already printed out above by the failed "sudo port -f activate
ImageMagick" command. You wouldn't see it in "port info". The above
message is normal, by the way, because you didn't tell it what port
you wanted to get info on. :) You probably meant to say:
port info ImageMagick
But that'll just tell you what version of ImageMagick is currently
available and what variants you can select. It doesn't tell you which
version you have installed or which variants you selected.
Thank you very much, Ryan. Yes, everything you said worked! I appreciate your time working on ImageMagick and your time in answering my problem.
Best,
Dorothy