当我尝试在Redhat 6.8上安装php 7.2时,出现此错误:
Not loading "rhnplugin" plugin, as it is disabled
Loading "product-id" plugin
Loading "refresh-packagekit" plugin
Loading "search-disabled-repos" plugin
Loading "subscription-manager" plugin
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Config time: 0.131
Yum Version: 3.2.29
Could not retrieve mirrorlist http://cdn.remirepo.net/enterprise/6/php72/mirror error was
14: PYCURL ERROR 22 - "The requested URL returned error: 403 Forbidden"
Error: Cannot retrieve repository metadata (repomd.xml) for repository: remi-php72. Please verify its path and try again
请先帮助我解决此错误。
-亨利·古纳万
答案 0 :(得分:0)
“ remi”存储库提供PHP 7.2,但仅适用于最新的6.10。
此系统未注册到Red Hat Subscription Management。您可以使用订阅管理器进行注册。
您需要先解决此问题,然后才能更新到6.10
此URl工作时,您需要修复网络问题。