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


   Hello there, Some variables, such as $releasever, have different values in 
`CentOS 7` and `CentOS 8`, which resulting in this issue.
   
   | var | CentOS 7 | CentOS 8 |
   |:--: | :----: | :----: |
   |$releasever| 7 | 8 |
   
   ## Simple fix solution
   A simple fix, 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
   ```
   
   ## Solution
   Add a `CentOS 8` repo support


-- 
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