bournefeng commented on issue #5799: URL: https://github.com/apache/apisix/issues/5799#issuecomment-993421035
> Hi, @bournefeng . How do you install apisix ? Can you install dependencies before install apisix ? Here is the docs for guide install dependencies https://apisix.apache.org/docs/apisix/install-dependencies. curl https://raw.githubusercontent.com/apache/apisix/master/utils/install-dependencies.sh -sL | bash - + main ++ uname -s ++ tr '[:upper:]' '[:lower:]' + OS_NAME=linux + [[ linux == \l\i\n\u\x ]] + multi_distro_installation + grep -Eqi CentOS /etc/issue + grep -Eq CentOS /etc/centos-release /etc/os-release /etc/redhat-release /etc/system-release /etc/tlinux-release + install_dependencies_with_yum centos + sudo yum install yum-utils Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirrors-tlinux.tencentyun.com * epel: mirrors.tencent.com * extras: mirrors-tlinux.tencentyun.com * tlinux: mirrors-tlinux.tencentyun.com * updates: mirrors-tlinux.tencentyun.com Package yum-utils-1.1.31-52.tl2.noarch already installed and latest version Nothing to do + local 'common_dep=curl git gcc openresty-openssl111-devel unzip pcre pcre-devel openldap-devel' + '[' centos == centos ']' + sudo yum-config-manager --add-repo https://repos.apiseven.com/packages/centos/apache-apisix.repo Loaded plugins: fastestmirror adding repo from: https://repos.apiseven.com/packages/centos/apache-apisix.repo grabbing file https://repos.apiseven.com/packages/centos/apache-apisix.repo to /etc/yum.repos.d/apache-apisix.repo repo saved to /etc/yum.repos.d/apache-apisix.repo + sudo yum install -y apisix-base curl git gcc openresty-openssl111-devel unzip pcre pcre-devel openldap-devel Loaded plugins: fastestmirror https://repos.apiseven.com/packages/centos/2.2/x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found Trying other mirror. To address this issue please refer to the below wiki article https://wiki.centos.org/yum-errors If above article doesn't help to resolve this issue please use https://bugs.centos.org/. One of the configured repositories failed (Apache APISIX Repository for CentOS), and yum doesn't have enough cached data to continue. At this point the only safe thing yum can do is fail. There are a few ways to work "fix" this: 1. Contact the upstream for the repository and get them to fix the problem. 2. Reconfigure the baseurl/etc. for the repository, to point to a working upstream. This is most often useful if you are using a newer distribution release than is supported by the repository (and the packages for the previous distribution release still work). 3. Run the command with the repository temporarily disabled yum --disablerepo=release ... 4. Disable the repository permanently, so yum won't use it by default. Yum will then just ignore the repository until you permanently enable it again or use --enablerepo for temporary usage: yum-config-manager --disable release or subscription-manager repos --disable=release 5. Configure the failing repository to be skipped, if it is unavailable. Note that yum will try to contact the repo. when it runs most commands, so will have to try and fail each time (and thus. yum will be be much slower). If it is a very temporary problem though, this is often a nice compromise: yum-config-manager --save --setopt=release.skip_if_unavailable=true failure: repodata/repomd.xml from release: [Errno 256] No more mirrors to try. https://repos.apiseven.com/packages/centos/2.2/x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found looks like repos.apiseven.com/packages/centos/2.2/x86_64/repodata/repomd.xml wrong -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org