rpmforge

Could not retrieve mirrorlist http://mirrorlist.repoforge.org/el6/mirrors-rpmforge error was
14: PYCURL ERROR 7 - "couldn‘t connect to host"
http://apt.sw.be/redhat/el6/en/x86_64/rpmforge/repodata/repomd.xml: [Errno 14] PYCURL ERROR 7 - "couldn‘t connect to host"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rpmforge. Please verify its path and try again

yum 报以上错误

解决方案

备份

mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup

下载新的CentOS-Base.repo 到/etc/yum.repos.d/

CentOS 5

#wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-5.repo

CentOS 6

#wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo

CentOS 7

#wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo

# rpm -e rpmforge-release --nodeps

# yum clean all

# yum update

 

时间: 2024-10-05 05:41:42

rpmforge的相关文章

How to Enable RPMForge Repository in RHEL/CentOS 7.x/6.x/5.x

RPMforge repository is a utility that is used to install third party software packages under Red Hat Enterprise Linux (RHEL) and Community ENTerprise Operating System (CentOS). It provides more than 5000 software packages in the rpm format for these

Centos6.0使用第三方YUM源(EPEL,RPMForge,RPMFusion)

yum是centos下很方便的rpm包管理工具,配置第三方软件库使你的软件库更加丰富.以下简单的讲下配置的步骤. 首先,需要安装yum-priorities插件: yum install yum-priorities -y 该插件的作用主要是设置调用源时的优先级的,一般将官方的优先级设置为最高.例如: [base] name=CentOS-$releasever - Base mirrorlist=http://mirrorlist.centos.org/?release=$releasever

RPMForge——Quick Start build system

How to setup multimedia on CentOS-5 CentOS ships with basic sound support for audio content encoded with codecs for a variety of sound formats, including .wav and .ogg files. The alsa-utils and sox audio players are included for a TUI (CLI) environme

centos6的yum配置脚本-163的源+epel+rpmforge源

每次讲课都要配置yum,很麻烦,自己总接了一下,写了个脚本,一键完成. 把它当作系统安装刚安装完成后的优化,是很不错的. 不废话了,上脚本 [[email protected] ~]# vi  yum_config.sh #!/bin/bash#by scfa 2015-08-01############install base tools#########echo "############################"echo "make sure you can a

CentOS系统yum源使用报错:Error: Cannot retrieve repository metadata (repomd.xml) for repository: rpmforge.

服务器上的yum突然不好使用,使用yum的时候报错如下:[[email protected] src]# yum list......Could not retrieve mirrorlist http://mirrorlist.repoforge.org/el6/mirrors-rpmforge error was14: PYCURL ERROR 7 - "couldn't connect to host"http://apt.sw.be/redhat/el6/en/x86_64/r

CentOS6.5菜鸟之旅:安装rpmforge软件库

一.rpmforge软件库    rpmforge是包含4000多种CentOS软件的软件库,被CentOS社区认为是安全和稳定的软件库. 二.安装rpmforege       1. 在http://pkgs.repoforge.org/rpmforge-release/下载相应版本的rpm文件.(我的版本是rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm) 2. 在shell中执行 rpm -ivh rpmforge-release-0.5.3-1.el6

centos rpmforge repo

在这里找到合适的rpm包:http://pkgs.repoforge.org/rpmforge-release/ 下载 wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm 安装 rpm -ivh rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm 即可. 这样就可一直接使用rpmforge的repo进行快捷安装rpm包了.比如cent

RHEL/CentOS/Fedora各种源(EPEL、Remi、RPMForge、RPMFusion)配置

CentOS默认自带CentOS-Base.repo源,但官方源中去除了很多有版权争议的软件,而且安装的软件也不是最新的稳定版.Fedora自带的源中也找不到很多多媒体软件,如果需要安装,必需先添加其他源,如RPMFusion和RPMForge等第三方软件库. 下面GoFace来一一介绍各种第三方软件库,以下软件库适用于与RHEL完全兼容的linux发行版,如CentOS,Fedora,Scientific Linux.Scientific Linux大家可能有点陌生,它与CentOS类似,是R

rhel配置163、epel、rpmforge的yum源

2015-12-04 #!/bin/bash ### AUTHOR: Leo ### DATE: 2015/12/4 ### NAME:yum.sh ### DESC:rhle配置yum仓库 #备份原有的repo文件 cd /etc/yum.repos.d && mkdir bak && mv *.repo bak #卸载rhel的yum命令 rpm -aq | grep yum|xargs rpm -e --nodeps #下载centos的yum命令安装包 wget h