美文网首页Scoop
Scoop update failed

Scoop update failed

作者: kx叔 | 来源:发表于2022-04-06 23:07 被阅读0次

    问题如下:

    > scoop update
    Updating Scoop...
    warning: Could not find remote branch main to clone.
    fatal: Remote branch main not found in upstream origin
    Scoop update failed.
    
    > scoop checkup
    No problems identified!
    
    > scoop status
    WARN  Scoop is out of date. Run 'scoop update' to get the latest changes.
    

    解决方案:

    1. 检查状态
    scoop -v
    scoop config
    

    如果没有任何配置信息

    1. 添加远程仓库
    scoop config SCOOP_BRANCH master
    scoop update
    

    就可以看到类似以下信息:

    > scoop -v
    Current Scoop version:
    7dd7b0ba (HEAD -> master, origin/master, origin/HEAD) merge upstream
    
    'apps' bucket:
    848fe226 (HEAD -> master, origin/master, origin/HEAD) Update Wed Apr  6 04:36:46 UTC 2022
    
    'dorado' bucket:
    cf9310ec (HEAD -> master, origin/master, origin/HEAD) thunderbird-zh-cn: Update to version 91.8.0
    
    'main' bucket:
    e875ac4eb (HEAD -> master, origin/master, origin/HEAD) latexindent@3.17.1: Fix hash (Closes #3479)
    
    'nerd-fonts' bucket:
    336c26b (HEAD -> master, origin/master, origin/HEAD) LXGWWenKaiScreenR: Update to version 1.233.
    

    Reference:

    相关文章

      网友评论

        本文标题:Scoop update failed

        本文链接:https://www.haomeiwen.com/subject/mhodsrtx.html