[Centos] CentOS 4 RC1 to CentOS 4 Final

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Tue, 2005-03-29 at 20:02 -0800, Lee Garner wrote:
> str tux wrote:
> 
> >Hello List,
> >
> >I tried "yum upgrade" from my RC1 and it goes like this:
> >
> >[root@cpu-00228 ~]# yum upgrade
> >Setting up Upgrade Process
> >Setting up Repos
> >contrib                   100% |=========================|  951 B    00:00
> >base                      100% |=========================| 1.1 kB    00:00
> >updates                   100% |=========================|  328 B    00:00
> >//var/cache/yum/updates/repomd.xml:1: parser error : Space required
> >after the Public Identifier
> ><!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> >                                                 ^
> >//var/cache/yum/updates/repomd.xml:1: parser error : SystemLiteral "
> >or ' expected
> ><!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> >                                                 ^
> >//var/cache/yum/updates/repomd.xml:1: parser error : SYSTEM or PUBLIC,
> >the URI is missing
> ><!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> >                                                 ^
> >Cannot open/read repomd.xml file for repository: updates
> >Error importing repomd.xml from updates: Error: could not parse file
> >//var/cache/yum/updates/repomd.xml
> >
> >What could be the work around?
> >  
> >
> Try cat /var/cache/yum/updates/repomd.xml and you'll probably see that 
> the $basearch variable is something like "4beta".  Check your yum.conf 
> and manually change the variable to "4".  I run a local yum server, and 
> that solved it for me.
> 
> Lee.

Or install the new CentOS-Release, the new yum, and the new centos-
yumconf .. then do:

yum upgrade


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux