Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-update issue with installing miniforge with homebrew #576

Open
1 task done
qgwyspks opened this issue Apr 4, 2024 · 1 comment
Open
1 task done

Auto-update issue with installing miniforge with homebrew #576

qgwyspks opened this issue Apr 4, 2024 · 1 comment
Labels
bug Something isn't working osx

Comments

@qgwyspks
Copy link

qgwyspks commented Apr 4, 2024

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

Install miniforge with homebrew brew install miniforge. However, the miniforge is in Casks. I can't use the pin command which can only be used for formula to disable its auto-update.
When I try for daily-update, miniforge will update and upgrade, which causes previous environments and packages missing.

brew update && brew upgrade

So how can I disable its auto-update? Or rather move it from cask to formula.

Installed packages

nan

Environment info

active environment : base
    active env location : /opt/homebrew/Caskroom/miniforge/base
            shell level : 1
       user config file : /Users/wsk/.condarc
 populated config files : /opt/homebrew/Caskroom/miniforge/base/.condarc
                          /Users/wsk/.condarc
          conda version : 24.1.2
    conda-build version : not installed
         python version : 3.10.14.final.0
                 solver : libmamba (default)
       virtual packages : __archspec=1=m2
                          __conda=24.1.2=0
                          __osx=14.4.1=0
                          __unix=0=0
       base environment : /opt/homebrew/Caskroom/miniforge/base  (writable)
      conda av data dir : /opt/homebrew/Caskroom/miniforge/base/etc/conda
  conda av metadata url : None
           channel URLs : https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/osx-arm64
                          https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/noarch
                          https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r/osx-arm64
                          https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r/noarch
                          https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/msys2/osx-arm64
                          https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/msys2/noarch
                          https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/osx-arm64
                          https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/noarch
          package cache : /opt/homebrew/Caskroom/miniforge/base/pkgs
                          /Users/wsk/.conda/pkgs
       envs directories : /opt/homebrew/Caskroom/miniforge/base/envs
                          /Users/wsk/.conda/envs
               platform : osx-arm64
             user-agent : conda/24.1.2 requests/2.31.0 CPython/3.10.14 Darwin/23.4.0 OSX/14.4.1 solver/libmamba conda-libmamba-solver/24.1.0 libmambapy/1.5.7
                UID:GID : 501:20
             netrc file : None
           offline mode : False
@qgwyspks qgwyspks added the bug Something isn't working label Apr 4, 2024
@xhochy
Copy link
Member

xhochy commented Apr 15, 2024

I think this question is better suited in the homebrew tracker as it asks for homebrew-specific commands.

@hmaarrfk hmaarrfk added the osx label Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working osx
Development

No branches or pull requests

3 participants