LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   local yum repo error (https://www.linuxquestions.org/questions/fedora-35/local-yum-repo-error-396355/)

shams 12-24-2005 10:23 PM

local yum repo error
 
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.

brianthegreat 12-24-2005 11:28 PM

Sorry put my foot in my mouth. Did not read your whole post.


All times are GMT -5. The time now is 12:04 PM.