LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-11-2010, 12:03 PM   #1
ringque
LQ Newbie
 
Registered: Nov 2009
Posts: 18

Rep: Reputation: 0
Unhappy yum showing error....need some help


I am trying to create my own yum repository in RHEL5 machine. for this i installed http server.

#createrepo /var/www/yum/

my /etc/yum.conf file configuration is:

[rhce1]
name=rhce1
baseurl=http://192.168.142.135/yum/
enable=1
gpgcheck=1


#yum -y install vsftpd

Repository rhce1 is listed more than once in the configuration
Setting up Install Process
Setting up repositories
http://192.168.142.135/yum/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Error: Cannot open/read repomd.xml file for repository: rhce1


***PLEASE GIVE ME SOME ADVICE TO SOLVE THIS PROBLEM**********
 
Old 08-11-2010, 11:00 PM   #2
suj
Member
 
Registered: Dec 2009
Posts: 33

Rep: Reputation: 1
try this

the ipaddress you have mentioned here is a private ip address.You can not access it publicly.If you have all the packages with you, then copy all the packages to any location in your own computer and then give the link as file://location
if you are copying packages to a location /yum
then give file:///yum

or use the baseurl which is in the repo file (by default there is one baseurl)and enable =1
 
Old 08-12-2010, 02:38 AM   #3
ringque
LQ Newbie
 
Registered: Nov 2009
Posts: 18

Original Poster
Rep: Reputation: 0
i know its a local ip address and i want to use this yum repository locally. its still showing the same error
 
Old 08-12-2010, 03:03 AM   #4
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 113Reputation: 113
copy your source in /var/www/html/yum and create repo again.

HTH
 
Old 08-12-2010, 04:06 AM   #5
ringque
LQ Newbie
 
Registered: Nov 2009
Posts: 18

Original Poster
Rep: Reputation: 0
Thumbs up

Quote:
Originally Posted by sem007 View Post
copy your source in /var/www/html/yum and create repo again.

HTH
THANKS........bro......
its worked
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
yum can't find kmod-wl, wireless not showing in Fedora 12 daudiam Linux - Hardware 13 04-23-2010 12:37 AM
Yum not working at all due to /usr/bin/yum syntax error aheusdens Linux - General 1 04-09-2010 04:15 PM
yum & rpm showing errors harris4got Linux - Software 9 10-15-2009 11:15 PM
while yum updating the following errors are showing please help me to solve the probl cybionix Fedora 6 01-30-2009 03:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration