You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "MilkWangStudio (via GitHub)" <gi...@apache.org> on 2023/05/15 05:46:21 UTC
[GitHub] [apisix] MilkWangStudio opened a new issue, #9484: bug: yum install error, repos file 404
MilkWangStudio opened a new issue, #9484:
URL: https://github.com/apache/apisix/issues/9484
### Current Behavior
I execute deployment doc, yum install on a online centos 7 os. When exec
```
sudo yum install -y https://repos.apiseven.com/packages/centos/apache-apisix-repo-1.0-1.noarch.rpm
sudo yum clean all && yum makecache
```
throw three repos 404 error
### Expected Behavior
yum install succes
### Error Logs
```
[root@iZuf69f97ee1ws8h519bsxZ ~]# sudo yum clean all && yum makecache
已加载插件:fastestmirror
正在清理软件源: base epel extras openresty release updates
Cleaning up list of fastest mirrors
已加载插件:fastestmirror
Determining fastest mirrors
base | 3.6 kB 00:00:00
epel | 4.7 kB 00:00:00
extras | 2.9 kB 00:00:00
openresty | 2.9 kB 00:00:00
release/7/x86_64/signature | 833 B 00:00:00
release/7/x86_64/signature | 3.0 kB 00:00:00 !!!
updates | 2.9 kB 00:00:00
(1/22): base/7/x86_64/group_gz | 153 kB 00:00:00
(2/22): base/7/x86_64/primary_db | 6.1 MB 00:00:00
(3/22): base/7/x86_64/other_db | 2.6 MB 00:00:00
(4/22): epel/x86_64/group_gz | 99 kB 00:00:00
(5/22): base/7/x86_64/filelists_db | 7.2 MB 00:00:00
(6/22): epel/x86_64/updateinfo | 1.0 MB 00:00:00
(7/22): epel/x86_64/prestodelta | 545 B 00:00:00
(8/22): epel/x86_64/filelists_db | 12 MB 00:00:00
(9/22): epel/x86_64/primary_db | 7.0 MB 00:00:00
(10/22): epel/x86_64/other_db | 3.4 MB 00:00:00
(11/22): extras/7/x86_64/filelists_db | 276 kB 00:00:00
(12/22): extras/7/x86_64/primary_db | 249 kB 00:00:00
(13/22): extras/7/x86_64/other_db | 149 kB 00:00:00
(14/22): openresty/7/x86_64/filelists_db | 84 kB 00:00:00
(15/22): openresty/7/x86_64/primary_db | 57 kB 00:00:00
(16/22): openresty/7/x86_64/other_db | 34 kB 00:00:00
release/7/x86_64/filelists_db FAILED
https://repos.apiseven.com/packages/centos/7/x86_64/repodata/962ffe2056f02bf84ede3d4c6b2649269e55992f4eb25d958c2c1fdd348ec165-filelists.sqlite.bz2: [Errno 14] HTTPS Error 404 - Not Found ] 0.0 B/s | 0 B --:--:-- ETA
正在尝试其它镜像。
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/.
(17/22): release/7/x86_64/other_db | 3.4 kB 00:00:00
release/7/x86_64/primary_db FAILED
https://repos.apiseven.com/packages/centos/7/x86_64/repodata/39a5f42b1372b5caa13a285bd3c7eb9853d1870fc93d4f4395988636252f816f-primary.sqlite.bz2: [Errno 14] HTTPS Error 404 - Not Found ] 0.0 B/s | 0 B --:--:-- ETA
正在尝试其它镜像。
(18/22): updates/7/x86_64/filelists_db | 11 MB 00:00:00
(19/22): updates/7/x86_64/other_db | 1.3 MB 00:00:00
(20/22): updates/7/x86_64/primary_db | 21 MB 00:00:00
release/7/x86_64/filelists_db FAILED
https://repos.apiseven.com/packages/centos/7/x86_64/repodata/962ffe2056f02bf84ede3d4c6b2649269e55992f4eb25d958c2c1fdd348ec165-filelists.sqlite.bz2: [Errno 14] HTTPS Error 404 - Not Found ] 0.0 B/s | 0 B --:--:-- ETA
正在尝试其它镜像。
release/7/x86_64/primary_db FAILED
https://repos.apiseven.com/packages/centos/7/x86_64/repodata/39a5f42b1372b5caa13a285bd3c7eb9853d1870fc93d4f4395988636252f816f-primary.sqlite.bz2: [Errno 14] HTTPS Error 404 - Not Found ] 0.0 B/s | 0 B --:--:-- ETA
正在尝试其它镜像。
https://repos.apiseven.com/packages/centos/7/x86_64/repodata/39a5f42b1372b5caa13a285bd3c7eb9853d1870fc93d4f4395988636252f816f-primary.sqlite.bz2: [Errno 14] HTTPS Error 404 - Not Found
正在尝试其它镜像。
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/39a5f42b1372b5caa13a285bd3c7eb9853d1870fc93d4f4395988636252f816f-primary.sqlite.bz2 from release: [Errno 256] No more mirrors to try.
https://repos.apiseven.com/packages/centos/7/x86_64/repodata/39a5f42b1372b5caa13a285bd3c7eb9853d1870fc93d4f4395988636252f816f-primary.sqlite.bz2: [Errno 14] HTTPS Error 404 - Not Found
```
### Steps to Reproduce
1. APISIX Version: 3.3.0
2. Deploy by offline.
3. First yum install on a online node.
Doc's commands.
```
sudo mkdir -p apisix
sudo yum install -y https://repos.apiseven.com/packages/centos/apache-apisix-repo-1.0-1.noarch.rpm
sudo yum clean all && yum makecache
```
### Environment
- APISIX version (run `apisix version`): 3.3.0
- Operating system (run `uname -a`): Linux iZuf69f97ee1ws8h519bsxZ 3.10.0-1127.19.1.el7.x86_64 #1 SMP Tue Aug 25 17:23:54 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
- OpenResty / Nginx version (run `openresty -V` or `nginx -V`): not install
- etcd version, if relevant (run `curl http://127.0.0.1:9090/v1/server_info`): not install
- APISIX Dashboard version, if relevant: not install
- Plugin runner version, for issues related to plugin runners: not install
- LuaRocks version, for installation issues (run `luarocks --version`): not install
--
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-unsubscribe@apisix.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] MilkWangStudio commented on issue #9484: bug: yum install error, repos file 404
Posted by "MilkWangStudio (via GitHub)" <gi...@apache.org>.
MilkWangStudio commented on issue #9484:
URL: https://github.com/apache/apisix/issues/9484#issuecomment-1547246953
I use hongkong server install success. It's china net error.
--
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-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] MilkWangStudio closed issue #9484: bug: yum install error, repos file 404
Posted by "MilkWangStudio (via GitHub)" <gi...@apache.org>.
MilkWangStudio closed issue #9484: bug: yum install error, repos file 404
URL: https://github.com/apache/apisix/issues/9484
--
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-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org