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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 安裝 epel-release
- NodeJS require a global module/package in linuxNodeJSUIPackageLinux
- Linux yum安裝httpd報錯 No package httpd available ?LinuxhttpdPackageAI
- packagePackage
- You are using the runtime-only build of Vue where the template compiler is not available.UIVueCompileAI
- WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.UITLSPythonAI
- Android APIs (Package Index)AndroidAPIPackageIndex
- yum error - package is a duplicate withErrorPackage
- Rust Package Manager:CargoRustPackageCargo
- flutter package get 卡FlutterPackage
- Go package time 用法GoPackage
- 如何處理Eclipse錯誤訊息 The declared package does not match the expected packageEclipsePackage
- Python Package Import 之痛PythonPackageImport
- package.json 入門PackageJSON
- npm package.json scriptsNPMPackageJSON
- package.json 詳解PackageJSON
- Go package(1) time 用法GoPackage
- package.json詳解PackageJSON
- Vagrant package 打包 Homestead boxPackage
- 在OpenWrt中新增packagePackage
- 淺析 package.jsonPackageJSON
- github package的使用教程GithubPackage
- Laravel Package 中文文件LaravelPackage
- golang package time 用法詳解GolangPackage
- PostgreSQL DBA(122) - Develop(EDB package)SQLdevPackage
- Go語言之包(package)管理GoPackage
- Build a TensorFlow pip package from sourceUIPackage
- Spring Boot package打包失敗Spring BootPackage
- 什麼是 SAP enhancement packagePackage
- package.json的認識PackageJSON
- dart系列之:建立Library packageDartPackage
- package-lock.json的作用PackageJSON
- "vue3-video-play". The package may have incorrect main/module/exports specified in its package.json.VueIDEPackageAIExportJSON
- The "gopls" command is not available. Run "go install -v golang.org/x/tools/gopls@latest" to install.AIGolang
- go package官方文件閱讀方式GoPackage
- 使用私有 GitLab 釋出 Composer packageGitlabPackage
- IRP(I/O Request Package)詳解Package
- [Flutter package] 富文字便捷配置庫FlutterPackage
- maven打包 package install deploy區別MavenPackage