macports suddenly gone on my system
Christoph Kukulies
kuku at kukulies.org
Thu May 7 08:32:21 UTC 2020
It’s zsh (is that the default on a macOS Catalina, think so)
No .profile
.zshrc is there:
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/Users/kuku/anaconda3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/Users/kuku/anaconda3/etc/profile.d/conda.sh" ]; then
. "/Users/kuku/anaconda3/etc/profile.d/conda.sh"
else
export PATH="/Users/kuku/anaconda3/bin:$PATH"
fi
fi
unset __conda_setup
# <<< conda initialize <<<
Find the followingat beginning of my .bash_profile (does .bash_profile have impact on zsh? seems so):
# added by Anaconda3 5.0.1 installer
export PATH="/Users/kuku/anaconda3/bin:$PATH"
##
# Your previous /Users/kuku/.bash_profile file was backed up as /Users/kuku/.bash_profile.macports-saved_2018-06-23_at_08:25:54
##
# MacPorts Installer addition on 2018-06-23_at_08:25:54: adding an appropriate PATH variable for use with MacPorts.
export PATH="/opt/local/bin:/opt/local/sbin:$PATH"
# Finished adapting your PATH environment variable for use with MacPorts.
—
Christoph
> Am 07.05.2020 um 09:55 schrieb Dominik Reichardt <dominik at reichardt.de>:
>
>
> Maybe it's still there but the PATH variable changed. Check your .profile and to make sure look at /opt/local/bin
>
> On Thu, May 7, 2020 at 09:39, Christoph Kukulies <kuku at kukulies.org <mailto:kuku at kukulies.org>> wrote:
>>
>> Funny, suddenly I can’t do any longer
>>
>> sudo ports selfupdate
>>
>> kuku at Christophs-MBP ~ % sudo port selfupdate
>> Password:
>> sudo: port: command not found
>> kuku at Christophs-MBP ~ %
>>
>> I can’t remember having uninstalled macports.
>>
>> —
>> Christoph
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20200507/ad285b27/attachment.html>
More information about the macports-users
mailing list