【在构建Termux引导包时遇到的问题】No package bzip2 found in any of the enabled repositories.

avatar

azurekiln

执行build-bootstraps.sh时遇到的错误:

在已经启用的仓库中的找不到bzip2

[*] Building 'bzip2'...
ERROR: No package bzip2 found in any of the enabled repositories. Are you trying to set up a custom repository?
[*] Building 'bzip2' exited with exit code 1
Failed to build package 'bzip2' for arch 'aarch64'

解决方法:
在build-bootstraps.sh中,大约427行,找到:

        # Core utilities.
        PACKAGES+=("bash") # Used by `termux-bootstrap-second-stage.sh`
        PACKAGES+=("bzip2")

更正为:

        # Core utilities.
        PACKAGES+=("bash") # Used by `termux-bootstrap-second-stage.sh`
        PACKAGES+=("libbz2")

在容器中再次执行:

./scripts/build-bootstraps.sh

问题已被解决。


扫描二维码,在手机上阅读
收藏
请先 登录 再评论
powered by emlog pro
服务器供应商 景云数据

友情链接
白衣Ink


sitemap