[Rpm-metadata] local repo error

abac shams24 at gmail.com
Sun Dec 25 01:22:02 UTC 2005


hi,
i have local rpms and wnat to use as local repo for yum i made this 
directories:
/extra/updates/RPMS
put all the rpms in the RPMS directory and run the command:
createrepo updates/
the repodata directory was created with these files:
filelists.xml.gz other.xml.gz primary.xml.gz repomd.xml
i add the updates.repo to yum.repos.d:
[updates]
name=extra - updates
baseurl=file://extra/updates/
enabled=1

now when i run yum update get this error for the local repo:
dries 100% |=========================| 951 B 00:00
file://extra/updates/repodata/repomd.xml: [Errno 5] OSError: [Errno 2] 
No such file or directory: '/updates/repodata/repomd.xml'
Trying other mirror.
Cannot open/read repomd.xml file for repository: updates
failure: repodata/repomd.xml from updates: [Errno 256] No more mirrors 
to try.
please help me.



More information about the Rpm-metadata mailing list