leslie-tsang commented on issue #6273:
URL: https://github.com/apache/apisix/issues/6273#issuecomment-1033313562


   Seems you are using a `Red Hat Enterprise Linux 7`.
   Some variables, such as `$releasever`, have different values in `Red Hat 
Enterprise Linux 7` and `CentOS7`, which resulting in this issue.
   | var | CentOS7 | Red Hat Enterprise Linux 7 |
   |:--: | :----: | :----: |
   |$releasever| 7 | 7Server |
   
   ## Solution
   To fix it, replace `$releasever` with `7` in 
`/etc/yum.repos.d/apache-apisix.repo` as shown below
   ```ini
   [release]
   name=Apache APISIX Repository for CentOS
   baseurl=https://repos.apiseven.com/packages/centos/7/$basearch
   skip_if_unavailable=False
   gpgcheck=1
   repo_gpgcheck=1
   gpgkey=https://repos.apiseven.com/KEYS
   enabled=1
   enabled_metadata=1
   ```
    


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to