Re: macports suddenly gone on my system

2020-05-07 Thread Christoph Kukulies
Interestingly I’m now getting this:

kuku@Christophs-MBP ~ % sudo port selfupdate
Password:
Error: Current platform "darwin 19" does not match expected platform "darwin 18"
Error: If you upgraded your OS, please follow the migration instructions: 
https://trac.macports.org/wiki/Migration
OS platform mismatch
while executing
"mportinit ui_options global_options global_variations"
Error: /opt/local/bin/port: Failed to initialize MacPorts, OS platform mismatch

Will now go for reading that chapter


> Am 07.05.2020 um 10:32 schrieb Christoph Kukulies :
> 
> 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 > >:
>> 
>> 
>> 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 > > wrote:
>>> 
>>> Funny, suddenly I can’t do any longer 
>>> 
>>> sudo ports selfupdate
>>> 
>>> kuku@Christophs-MBP ~ % sudo port selfupdate
>>> Password:
>>> sudo: port: command not found
>>> kuku@Christophs-MBP ~ % 
>>> 
>>> I can’t remember having uninstalled macports.
>>> 
>>> —
>>> Christoph
>>> 
>> 
>> 
> 



Re: macports suddenly gone on my system

2020-05-07 Thread Christoph Kukulies
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 :
> 
> 
> 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  > wrote:
>> 
>> Funny, suddenly I can’t do any longer 
>> 
>> sudo ports selfupdate
>> 
>> kuku@Christophs-MBP ~ % sudo port selfupdate
>> Password:
>> sudo: port: command not found
>> kuku@Christophs-MBP ~ % 
>> 
>> I can’t remember having uninstalled macports.
>> 
>> —
>> Christoph
>> 
> 
> 



macports suddenly gone on my system

2020-05-07 Thread Christoph Kukulies
Funny, suddenly I can’t do any longer 

sudo ports selfupdate

kuku@Christophs-MBP ~ % sudo port selfupdate
Password:
sudo: port: command not found
kuku@Christophs-MBP ~ % 

I can’t remember having uninstalled macports.

—
Christoph