LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
LinkBack Search this Thread
Old 12-24-2005, 10:23 PM   #1
shams
Member
 
Registered: Jan 2004
Posts: 396

Rep: Reputation: 30
Exclamation 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.
 
Old 12-24-2005, 11:28 PM   #2
brianthegreat
Member
 
Registered: Oct 2005
Posts: 518

Rep: Reputation: 32
Sorry put my foot in my mouth. Did not read your whole post.

Last edited by brianthegreat; 12-24-2005 at 11:30 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
yum repo that has mythtv? santaliqueur Linux - Newbie 2 11-07-2005 02:56 PM
yum repo trouble twinkers Suse/Novell 2 10-26-2005 03:37 PM
Error: Bad repository file ///etc/yum.repos.d/dag.repo. Skipping dr_zayus69 Linux - Software 1 07-12-2005 11:56 PM
Gnome 2.10 yum repo nsk078 Fedora 1 04-01-2005 10:11 PM
adding mirror to yum.repo.d/<any-repo> ashwin_cse Fedora 1 03-10-2005 03:49 PM


All times are GMT -5. The time now is 05:01 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration