alpine linux 安装包报错WARNING: Ignoring APKINDEX.***.tar.gz: No such file or directory

alpine linux 安装包报错WARNING: Ignoring APKINDEX.***.tar.gz: No such file or directory

解决办法

apk add gcc 时候报错

WARNING: Ignoring APKINDEX.167438ca.tar.gz: No such file or directory
WARNING: Ignoring APKINDEX.a2e6dac0.tar.gz: No such file or directory
ERROR: unsatisfiable constraints:
gcc (missing):
required by: world[gcc]

解决办法
apk update

参考
https://github.com/gliderlabs/docker-alpine/issues/207

    原文作者:JiaYingYing
    原文地址: https://www.jianshu.com/p/b30fea10280f
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞