On 02/09/16 15:05, Ignatios Athanasiadis wrote:
The files, /opt/local and /opt/local/var/macports/software exist and when I run
echo $PATH it includes the path /opt/local/bin.
However, the file /opt/local/bin/port does not exist.
Also when I used to run open whatever.pdf file a pdf file would open. Is this a
macports related problem as well?
Unlikely, unless you where using a macports provided PDF viewer as your
preferred application. What application used to start ? Preview ? If so,
then this probably nothing to do with Macports, just another side affect
of your failed file restoration.
One thing you could do is to check the messages in Console (start the
Console application) to see if that gives any hint as to what is happening.
Chris
I may sound silly, sorry for my ignorance.
On 2 Sep 2016, at 14:53, Ryan Schmidt <ryandes...@macports.org> wrote:
On Sep 2, 2016, at 7:54 AM, Ignatios Athanasiadis <ignatha...@gmail.com> wrote:
Hi all,
I tried to restore some files in my mac and they were restored unsuccesfully.
Now whe I try to access macports I get a command like: command not found.
Does this mean that I have lost all my ports?
Many thanks.
This doesn't necessarily mean that anything is gone. It could just mean that
your PATH has been reset to its default value.
Does /opt/local still exist? Does /opt/local/bin/port still exist? If so,
proceed:
What happens if you run:
echo $PATH
Does it include /opt/local/bin? If not, fix your PATH definition in your
~/.profile or ~/.bash_profile.
If you follow Chris' suggestion to re-run the MacPorts installer, it will
automatically fix your PATH for you, if that was the problem. It will also
reinstall /opt/local/bin/port and the other parts of MacPorts, without
affecting any ports you had installed.
You can also check /opt/local/var/macports/software. That's where your
installed ports are stored. If that directory exists and contains lots of
stuff, then your ports are still installed.
_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users
_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users