Conda update anaconda

When spyder starts up, and there is a new version available, it says to run conda update anaconda before updating spyder itself. But this gives me a PackageNotInstalledError.
After looking through my file directory, I see an anaconda in /home/anaconda3/bin.
When I conda update --prefix /home/erik/anaconda3/bin anaconda I get DirectoryNotACondaEnvironmentError.

When I conda update --prefix /home/anaconda3 anaconda I get EnvironmentLocationNotFound: Not a conda environment: /home/anaconda3.
I have a few virtual environments, plus the base environment.
conda list from the base environment shows anaconda-client and anaconda-navigator, but no plain anaconda or anaconda3.
conda update --all works fine.
conda update *any other installed package* works fine too.
Is the message in the spyder pop-up just misleading then?

The error message ‘DirectoryNotACondaEnvrionmentError’ is correct in this case.
The directory ‘/home/erik/anaconda3/bin’ is just where the ananconda executable lives.

You can type the command:
conda env list

to list all available conda environments.

The conda environments themselves will be located in the directory ‘/home/anaconda3/envs’ on your system.

I hope this helps.

On my windows machine, conda update anaconda works just fine. How come it doesn’t on my linux machine? I wonder what the difference is. -Erik

Can you attach the output from running the ‘conda update ananconda’ command below on your linux machine?
What version of conda are you running?

You can determine that by typing:
conda info

(base) erik@pop-os:~$ conda info

     active environment : base
    active env location : /home/erik/anaconda3
            shell level : 1
       user config file : /home/erik/.condarc
 populated config files : /home/erik/.condarc
          conda version : 22.9.0
    conda-build version : 3.21.4
         python version : 3.8.13.final.0
       virtual packages : __linux=5.19.16=0
                          __glibc=2.35=0
                          __unix=0=0
                          __archspec=1=x86_64
       base environment : /home/erik/anaconda3  (writable)
      conda av data dir : /home/erik/anaconda3/etc/conda
  conda av metadata url : None
           channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /home/erik/anaconda3/pkgs
                          /home/erik/.conda/pkgs
       envs directories : /home/erik/anaconda3/envs
                          /home/erik/.conda/envs
               platform : linux-64
             user-agent : conda/22.9.0 requests/2.28.1 CPython/3.8.13 Linux/5.19.16-76051916-generic pop/22.04 glibc/2.35
                UID:GID : 1000:1000
             netrc file : None
           offline mode : False

and the output of conda update anaconda is

(base) erik@pop-os:~$ conda info

     active environment : base
    active env location : /home/erik/anaconda3
            shell level : 1
       user config file : /home/erik/.condarc
 populated config files : /home/erik/.condarc
          conda version : 22.9.0
    conda-build version : 3.21.4
         python version : 3.8.13.final.0
       virtual packages : __linux=5.19.16=0
                          __glibc=2.35=0
                          __unix=0=0
                          __archspec=1=x86_64
       base environment : /home/erik/anaconda3  (writable)
      conda av data dir : /home/erik/anaconda3/etc/conda
  conda av metadata url : None
           channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /home/erik/anaconda3/pkgs
                          /home/erik/.conda/pkgs
       envs directories : /home/erik/anaconda3/envs
                          /home/erik/.conda/envs
               platform : linux-64
             user-agent : conda/22.9.0 requests/2.28.1 CPython/3.8.13 Linux/5.19.16-76051916-generic pop/22.04 glibc/2.35
                UID:GID : 1000:1000
             netrc file : None
           offline mode : False

whether or not I have my base environment activated.

What is the architecture of your version of Linux?
Are you running on linux-64 or linux-32(32-bit)?

If you are running on linux-32, there won’t be any anaconda package to update, as it hasn’t been updated in awhile…

Woops, I didn’t actually post the output of conda update anaconda:

(kivyenv) erik@pop-os:~/GitRepos/KivyPractice/gridandlabel$ conda update anaconda

PackageNotInstalledError: Package is not installed in prefix.
  prefix: /home/erik/anaconda3/envs/kivyenv
  package name: anaconda

And yes, I’m on 64 bit linux, which I think can be inferred from conda info, above.