- 论坛徽章:
- 0
|
rh9使用yum无法升级到2.6.0内核?
yum.conf:
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
[base]
name=CentOS Linux 3.1 for RHEL3 - Base
baseurl=http://mirror.aelix.com/pub/cAos/centos-3/3.1/os/i386
[updates]
name=CentOS Linux 3.1 for RHEL3 - Updates
baseurl=http://mirror.aelix.com/pub/cAos/centos-3/3.1/updates/i3
出现:
[root@localhost root]# yum update
Traceback (most recent call last):
File "/usr/bin/yum", line 60, in ?
yummain.main(sys.argv[1:])
File "yummain.py", line 123, in main
File "yummain.py", line 70, in parseCmdArgs
File "config.py", line 48, in __init__
File "/usr/lib/python2.2/ConfigParser.py", line 233, in read
self.__read(fp, filename)
File "/usr/lib/python2.2/ConfigParser.py", line 472, in __read
raise e
ConfigParser.ParsingError: File contains parsing errors: /etc/yum.conf
[line 10]: '\xe3\x80\x80 [base]\n'
[line 14]: '\xe3\x80\x80\xe3\x80\x80[updates]\n' |
|