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? Thanks. str
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. -- Internal Virus Database is out-of-date. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 266.5.7 - Release Date: 3/1/2005
Lee Garner wrote:> 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.Instead, go on the Centos mirror, download the official centos-release rpm and install that and try again. -Mike
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