Updating anaconda3 (macOS)

I’ve been running anaconda for quite a while under macOS (conda --version → 22.9.0)
Rarely used the navigator, just was using jupyter notebookon the command line.
Now I found that I have

/opt/anaconda3

and

~/opt/anaconda3

Trying to run

/opt/anaconda3/bin/jupyter

gives me errors.
E.g.: ModuleNotFoundError: No module named 'jupyter_server.contents'

I would like to clean up this situation. How do I proceed?