全球主机交流论坛

标题: yum update 一直 repodata/repomd.xml 出错 [打印本页]

作者: yilin101    时间: 2010-11-6 14:44
标题: yum update 一直 repodata/repomd.xml 出错
yum update
一直提示 http://download.lxlabs.com/downl ... repodata/repomd.xml 出错
怎么办
作者: yilin101    时间: 2010-11-6 14:45
用yum 安装 东西也一直提示这个错误 无语了
作者: yilin101    时间: 2010-11-6 15:15

作者: yilin101    时间: 2010-11-6 22:39
求助啊
作者: 腿毛飘飘    时间: 2010-11-6 22:40
关掉fast mirror
作者: yilin101    时间: 2010-11-7 02:06
原帖由 腿毛飘飘 于 2010-11-6 15:40 发表
关掉fast mirror


是这里面关闭吗 怎么没找到fast mirror

# CentOS-Base.repo
#
# This file uses a new mirrorlist system developed by Lance Davis for CentOS.
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client.  You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#

[base]
name=CentOS-$releasever - Base
baseurl=http://centos.ustc.edu.cn/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=http://centos.ustc.edu.cn/centos/RPM-GPG-KEY-CentOS-5

#released updates
[updates]
name=CentOS-$releasever - Updates
baseurl=http://centos.ustc.edu.cn/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=http://centos.ustc.edu.cn/centos/RPM-GPG-KEY-CentOS-5

#packages used/produced in the build but not released
[addons]
name=CentOS-$releasever - Addons
baseurl=http://centos.ustc.edu.cn/centos/$releasever/addons/$basearch/
gpgcheck=1
gpgkey=http://centos.ustc.edu.cn/centos/RPM-GPG-KEY-CentOS-5

#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
baseurl=http://centos.ustc.edu.cn/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=http://centos.ustc.edu.cn/centos/RPM-GPG-KEY-CentOS-5

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
baseurl=http://centos.ustc.edu.cn/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://centos.ustc.edu.cn/centos/RPM-GPG-KEY-CentOS-5

#additional packages that may be useful
[lxlabsupdate]
name=centos-5-$releasever - lxlabsupdates
baseurl=http://download.lxlabs.com/download/update/centos-5/$basearch/
gpgcheck=0
enabled=1

#packages used/produced in the build but not released
[lxlabslxupdate]
name=centos-5-$releasever - lxlabslxupdates
baseurl=http://download.lxlabs.com/download/update/lxgeneral
gpgcheck=0
enabled=1

作者: cnx    时间: 2010-11-7 07:26
标题: 回复 6# 的帖子
yum后面带个开关。
参考yum -help。
作者: yilin101    时间: 2010-11-7 09:59
原帖由 cnx 于 2010-11-7 00:26 发表
yum后面带个开关。
参考yum -help。


没看到关闭fastmirror的参数
怎么办
[root@localhost ~]# yum -help
Loaded plugins: fastestmirror
usage: yum [options] COMMAND

List of Commands:

check-update   Check for available package updates
clean          Remove cached data
deplist        List a package's dependencies
downgrade      downgrade a package
erase          Remove a package or packages from your system
groupinfo      Display details about a package group
groupinstall   Install the packages in a group on your system
grouplist      List available package groups
groupremove    Remove the packages in a group from your system
help           Display a helpful usage message
info           Display details about a package or group of packages
install        Install a package or packages on your system
list           List a package or groups of packages
localinstall   Install a local RPM
makecache      Generate the metadata cache
provides       Find what package provides the given value
reinstall      reinstall a package
repolist       Display the configured software repositories
resolvedep     Determine which package provides the given dependency
search         Search package details for the given string
shell          Run an interactive yum shell
update         Update a package or packages on your system
upgrade        Update packages taking obsoletes into account


options:
  -h, --help            show this help message and exit
  -t, --tolerant        be tolerant of errors
  -C                    run entirely from cache, don't update cache
  -c  [config file]     config file location
  -R  [minutes]         maximum command wait time
  -d  [debug level]     debugging output level
  --showduplicates      show duplicates, in repos, in list/search commands
  -e  [error level]     error output level
  -q, --quiet           quiet operation
  -v, --verbose         verbose operation
  -y                    answer yes for all questions
  --version             show Yum version and exit
  --installroot=[path]  set install root
  --enablerepo=[repo]   enable one or more repositories (wildcards allowed)
  --disablerepo=[repo]  disable one or more repositories (wildcards allowed)
  -x [package], --exclude=[package]
                        exclude package(s) by name or glob
  --disableexcludes=[repo]
                        disable exclude from main, for a repo or for
                        everything
  --obsoletes           enable obsoletes processing during updates
  --noplugins           disable Yum plugins
  --nogpgcheck          disable gpg signature checking
  --disableplugin=[plugin]
                        disable plugins by name
  --enableplugin=[plugin]
                        enable plugins by name
  --skip-broken         skip packages with depsolving problems
  --color=COLOR         control whether color is used

  Plugin Options:
[root@localhost ~]#

作者: yilin101    时间: 2010-11-7 10:06
“vi /etc/yum/pluginconf.d/fastestmirror.conf”
里面的

“enable=0″ 是吗
作者: wdlth    时间: 2010-11-7 12:16
yum --disableplugin=fastestmirror
作者: test100    时间: 2010-11-9 13:12
应该早点看到这个贴的,我直接重装系统了。啊哈哈




欢迎光临 全球主机交流论坛 (https://443502.xyz/) Powered by Discuz! X3.4