苹果4越狱后安装appsync出现 host unreachable 和cached failure 什么意思求解释和解决问题

苹果4越狱后安装appsync出现 host unreachable 和cached failure 什么意思求解释和解决问题,第1张

不用管英文字母什么意思

只要出现红色黄色字母,就是报错,安装不成功。

常见解决方法:

1 添加第一中文源,搜索appsync,安装,此源下的appysnc成功率高。

2 换个wifi环境

3 规避晚高峰,白天安装。

有ifile的话用这个(可以在cydia里下)没的话连接电脑用itools或者ifunbox文件系统。 /etc/apt/sources.list.d. 打开Saurik.list(没有自己创建) 把里面改成

# DO NOT EDIT | This is the story of a time long ago, A time of myth and legend, when the Earth was still young.

# The ancient gods were petty and cruel, and they plagued mankind with suffering and beseiged them with terrors.

在文本中,我将展示在CentOS下如何安装EPEL源

提示 - RHEL/CentOS系统有许多第三方源,比较流行的比如RpmForge,RpmFusion,EPEL,Remi等等。

然而需要引起注意的是,如果系统添加了多个第三方源,可能会因此产生冲突——一个软件包可以从多个源获取,一些源会替换系统的基础软件包,从而可能会产生意想不到的错误。已知的就有Rpmforge与EPEL会产生冲突。

对于这些问题我们建议,调整源的优先权或者有选择性的安装源,但是这需要复杂的 *** 作,如果你不确定如何 *** 作,我们推荐你只安装一个第三方源。

在CentOS 上安装EPEL

要想安装EPEL,我们先要下载EPEL的rpm安装包。

CentOS/RHEL下的6.x和5.x版本下载页面如下

http://download.fedoraproject.org/pub/epel/6/i386/repoview/epel-release.html http://download.fedoraproject.org/pub/epel/5/i386/repoview/epel-release.html

以上网址可能会被重定向到特定的镜像站而加快下载速度。这个页面包含可以直接获取到rpm包的下载链接。直接的下载链接如下:

http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm

根据你的CentOS 版本来选择正确的下载地址。

请注意EPEL 的安装包是独立编译的,所以它可以安装在32位和64位系统中。

1. 确认你的CentOS 的版本

首先通过以下命令确认你的CentOS 版本

$ cat /etc/RedHat-release

CentOS release 6.4 (Final)

2. 下载EPEL 的rpm 安装包

现在从上面的地址下载CentOS 版本所对应的EPEL 的版本

$ wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm

3. 安装EPEL

通过以下命令安装EPEL 软件包

$ sudo rpm -ivh epel-release-6-8.noarch.rpm

$ sudo rpm -ivh epel-release*

5. 检查EPEL 源

安装好EPEL 源后,用yum 命令来检查是否添加到源列表

# yum repolist

Loaded plugins: fastestmirror

Loading mirror speeds from cached hostfile

* base: mirrors.vonline.vn

* epel: buaya.klas.or.id

* extras: centos-hn.viettelidc.com.vn

* updates: mirrors.fibo.vn

repo idrepo name status

base CentOS-6 - Base 6,381

epel Extra Packages for Enterprise Linux 6 - x86_64 10,023

extras CentOS-6 - Extras 13

nginx nginx repo 47

updatesCentOS-6 - Updates 1,555

repolist: 18,019

EPEL已经在repo 后列出,并且显示提供了上万个软件包,所以EPEL 已经安装到你的CentOS了。

EPEL源的配置安装到了 /etc/yum.repos.d/epel.repo 文件。

现在来试一下从EPEL 获取软件包

$ sudo yum install htop


欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/bake/11431511.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-05-16
下一篇 2023-05-16

发表评论

登录后才能评论

评论列表(0条)

保存