linux,No package epel-release available.
[root@sht-sgmhadoopdn-01 ~]# yum install epel-release
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* epel: ftp.cuhk.edu.hk
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package epel-release.noarch 0:6-8 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=========================================================================================================================================================================================================================================
Package Arch Version Repository Size
=========================================================================================================================================================================================================================================
Installing:
epel-release noarch 6-8 epel 14 k
Transaction Summary
=========================================================================================================================================================================================================================================
Install 1 Package(s)
Total size: 14 k
Installed size: 22 k
Is this ok [y/N]: y
Downloading Packages:
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
Retrieving key from
GPG key retrieval failed: [Errno 14] Could not open/read
[root@sht-sgmhadoopdn-01 ~]#
[root@sht-sgmhadoopnn-02 ~]# yum install epel-release
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
Setting up Install Process
No package epel-release available.
Error: Nothing to do
[root@sht-sgmhadoopnn-02 ~]# cd /etc/yum.repos.d
[root@sht-sgmhadoopnn-02 yum.repos.d]# rm -f /etc/yum.repos.d/epel.repo /etc/yum.repos.d/epel-testing.repo
[root@sht-sgmhadoopnn-02 yum.repos.d]# yum install epel-release
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
Setting up Install Process
No package epel-release available.
Error: Nothing to do
[root@sht-sgmhadoopnn-02 yum.repos.d]# cd
[root@sht-sgmhadoopnn-02 ~]# wget
--2016-07-20 19:32:56--
Resolving download.fedoraproject.org... 140.211.169.206, 209.132.181.16, 140.211.169.196, ...
Connecting to download.fedoraproject.org|140.211.169.206|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://ftp.cuhk.edu.hk/pub/linux/fedora-epel/6/x86_64/epel-release-6-8.noarch.rpm [following]
--2016-07-20 19:32:58-- http://ftp.cuhk.edu.hk/pub/linux/fedora-epel/6/x86_64/epel-release-6-8.noarch.rpm
Resolving ftp.cuhk.edu.hk... 137.189.4.14, 2405:3000:3:4::e
Connecting to ftp.cuhk.edu.hk|137.189.4.14|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 14540 (14K) [application/octet-stream]
Saving to: “epel-release-6-8.noarch.rpm”
100%[===============================================================================================================================================================================================>] 14,540 --.-K/s in 0.06s
2016-07-20 19:32:58 (229 KB/s) - “epel-release-6-8.noarch.rpm” saved [14540/14540]
[root@sht-sgmhadoopnn-02 ~]# rpm -ivh epel-release-6-8.noarch.rpm
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/30089851/viewspace-2126304/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Centos下yum安裝Nginx報錯 No package nginx available.CentOSNginxPackageAI
- 安裝 epel-release
- yum安裝xxx包時出錯,提示No package xxx available.PackageAI
- NodeJS require a global module/package in linuxNodeJSUIPackageLinux
- [Linux7] HA Package Yum源配置LinuxPackage
- not an rpm package (or package manifest):Package
- not an rpm package (or package manifest)Package
- packagePackage
- Package Specification 和 Package Body 及 Package有什麼區別? (轉)Package
- 深入安卓Package Manager和Package Installer安卓Package
- 建立packagePackage
- Linux yum安裝httpd報錯 No package httpd available ?LinuxhttpdPackageAI
- Package ssh is not available, but is referred to by another package 錯誤PackageAI
- YaST2 error: (gnomesu): CRITICAL **: There are no services for 'libgnomesu' available.ASTErrorAI
- weblogic.common.ResourceException: No good connections available.WebExceptionGoAI
- ORA-04042 procedure, function, package, or package body does not existFunctionPackage
- java 包(package)JavaPackage
- alter package/procedurePackage
- Package and ClassPath (轉)Package
- flutter package get 卡FlutterPackage
- Go package time 用法GoPackage
- yum error - package is a duplicate withErrorPackage
- package.jsonPackageJSON
- The DBMS_System PackagePackage
- utl_mail packageAIPackage
- Oracle 基礎 ----packageOraclePackage
- Rust Package Manager:CargoRustPackageCargo
- java中不帶package和帶package的編譯執行方式JavaPackage編譯
- 包頭(Package)與包體(Package body)的學習與應用Package
- Laravel Package 中文文件LaravelPackage
- Android APIs (Package Index)AndroidAPIPackageIndex
- Go package(1) time 用法GoPackage
- github package的使用教程GithubPackage
- PL/SQL 09 包 packageSQLPackage
- create a nodejs npm packageNodeJSNPMPackage
- SSIS Package 命名規則Package
- deploy package outside of jbossPackageIDE
- Java_util_package(轉)JavaPackage