全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

IP归属甄别会员请立即修改密码
查看: 3253|回复: 10
打印 上一主题 下一主题

[疑问] yum update 一直 repodata/repomd.xml 出错

[复制链接]
跳转到指定楼层
1#
发表于 2010-11-6 14:44:28 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
yum update
一直提示 http://download.lxlabs.com/downl ... repodata/repomd.xml 出错
怎么办
2#
 楼主| 发表于 2010-11-6 14:45:05 | 只看该作者
用yum 安装 东西也一直提示这个错误 无语了
3#
 楼主| 发表于 2010-11-6 15:15:13 | 只看该作者
4#
 楼主| 发表于 2010-11-6 22:39:25 | 只看该作者
求助啊
5#
发表于 2010-11-6 22:40:45 | 只看该作者
关掉fast mirror
6#
 楼主| 发表于 2010-11-7 02:06:20 | 只看该作者
原帖由 腿毛飘飘 于 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
7#
发表于 2010-11-7 07:26:49 | 只看该作者

回复 6# 的帖子

yum后面带个开关。
参考yum -help。
8#
 楼主| 发表于 2010-11-7 09:59:20 | 只看该作者
原帖由 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 ~]#
9#
 楼主| 发表于 2010-11-7 10:06:34 | 只看该作者
“vi /etc/yum/pluginconf.d/fastestmirror.conf”
里面的

“enable=0″ 是吗
10#
发表于 2010-11-7 12:16:04 | 只看该作者
yum --disableplugin=fastestmirror
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2025-10-2 09:50 , Processed in 0.243490 second(s), 7 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表