local repo error

abac <[email protected]>
Newsgroups gmane.linux.rpm.metadata
Organization home
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.