FC6: Yum error

antonio montagnani antonio.montagnani at gmail.com
Fri Nov 3 06:32:42 UTC 2006


2006/11/3, Brent Mlady <brentmlady at gmail.com>:
> I had the same problem.
>
> I restore the repomd.xml file from a backup and it worked fine after that.
> I suggest that you try restoring just that file.
>
>
> On 11/3/06, antonio montagnani <antonio.montagnani at gmail.com> wrote:
> >
> > 2006/11/3, antonio montagnani <antonio.montagnani at gmail.com >:
> > > If I issue any command trying to contact updates repository I get:
> > >
> > >  yum list updates
> > > Loading "installonlyn" plugin
> > > Setting up repositories
> > > updates
>           53 B 00:00
> > >
> http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-fc6&arch=i386/repodata/repomd.xml
> :
> > > [Errno -1] Error importing repomd.xml for updates: Damaged repomd.xml
> > > file
> > > Trying other mirror.
> > > Error: Cannot open/read repomd.xml file for repository: updates
> > >
> > > And here is my fedora-updates.repo configuration file for yum:
> > >
> > > # Repository : updates
> > > #
> > > [updates]
> > > name=Fedora Core $releasever - $basearch - Updates
> > > baseurl=
> http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-fc$releasever&arch=$basearch
> > > gpgcheck=1
> > > gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
> > > enabled=1
> > >
> > > Same problem with pirut and yumex.
> > > I searched in bugzilla but I didn't see the solution.
> > > Perfectly running in FC5
> > > --
> > > Antonio Montagnani
> > > Skype : antoniomontag
> > >
> >
> > In my va/cache/yum/updates i Find a repomd.xml file saying:
> >
> > XML Parsing Error: not well-formed
> > Location: file:///var/cache/yum/updates/repomd.xml
> > Line Number 1, Column 2:# no arch specified
> > -^
> >
> > --
> > Antonio Montagnani
> > Skype : antoniomontag
> >
> > --
> > fedora-list mailing list
> > fedora-list at redhat.com
> > To unsubscribe:
> https://www.redhat.com/mailman/listinfo/fedora-list
> >
>
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe:
> https://www.redhat.com/mailman/listinfo/fedora-list
>
>

Tnx Brent

Before reading your e-mail, I tried another road:
I restored the fedora-updates.repo from a backup and it worked!!!
It seems that something went wrong in the new file but now I have no
time to investigate it.
I will do in the afternoon as I kept the non-working file.
-- 
Antonio Montagnani
Skype : antoniomontag




More information about the users mailing list