Re: local repo error
Hans-Peter Jansen <[email protected]>
| Newsgroups | gmane.linux.rpm.metadata |
|---|---|
| Message-ID | <[email protected]> |
Am Sonntag, 25. Dezember 2005 04:05 schrieb seth vidal: > On Sun, 2005-12-25 at 06:22 +0500, abac wrote: > > [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. > > file:///extras/updates > > notice the 3rd / there. > > that's b/c file url's break up like: > file://HOSTNAME/path > > so you have to do 3 slashes. Just one does fine here, too, btw.. Merry Xmas, Pete