LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-09-2009, 12:15 AM   #1
charlesips
LQ Newbie
 
Registered: May 2008
Posts: 13

Rep: Reputation: 0
Setting up RHEL5 repo


when i try to own yum ftp server the following error accure
i am using RHEL 5.3 os
ftp://192.168.6.1/var/ftp/pub/RHEL5/...ta/repomd.xml: [Errno 4] IOError: [Errno ftp error] 550 Failed to change directory
myrepoline
[myrepo]
name=Red Hat Enterprise Linux
baseurl=ftp://192.168.6.1/var/ftp/pub/RHEL5/Server
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release


pls help me

Last edited by pixellany; 11-10-2009 at 03:15 PM.
 
Old 11-09-2009, 09:02 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,425

Rep: Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622
Please show a copy of the "repo line".

The repo address is supposed to point to a directory
by name " repodata ".

Like :
ftp://192.168.6.1/var/ftp/pub/RHEL5/Server/(repodata)

Last edited by knudfl; 11-10-2009 at 02:37 PM.
 
Old 11-09-2009, 11:18 PM   #3
charlesips
LQ Newbie
 
Registered: May 2008
Posts: 13

Original Poster
Rep: Reputation: 0
repoline

[myrepo]
name=Red Hat Enterprise Linux
baseurl=ftp://192.168.6.1/var/ftp/pub/RHEL5/Server
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
 
Old 11-10-2009, 12:18 AM   #4
chiragrk
Member
 
Registered: Nov 2009
Location: India
Distribution: Xandros, Ubuntu
Posts: 74

Rep: Reputation: 16
....and thats a problem? how?
 
Old 11-10-2009, 02:50 PM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,425

Rep: Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622
*** The repo address is supposed to point to a directory
by name " repodata ".

So how is the directory structure on this site
ftp://192.168.6.1/var/ftp/pub/RHEL5/Server
? ? ?

... When you create it to be
"ftp://192.168.6.1/var/ftp/pub/RHEL5/Server/repodata/repomd.xml"
( where repomd.xml is an .xml index file in the directory repodata/ )

... Then it will work with this baseurl=
ftp://192.168.6.1/var/ftp/pub/RHEL5/Server
in /etc/yum.repos.d/<file>.repo
.....

Usable /etc/yum.repos.d/<files>.repo for EL5.x, CentOS5.x, SL5.x
are attached ... so you can get an idea about how it works ..
These files provide access to 6,348 packages.
Attached Files
File Type: txt CentOS-Base54.repo.txt (1.9 KB, 85 views)
File Type: txt epel.repo.rpmnew.txt (954 Bytes, 51 views)
File Type: txt epel.repo.txt (953 Bytes, 50 views)

Last edited by knudfl; 11-10-2009 at 03:40 PM.
 
Old 11-10-2009, 03:25 PM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,808

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
I've merged the 2 threads----it looks like OP inadvertently started a new thread instead of replying to the existing one.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change default /var/ftp/pub in ftp(vsftpd) mohd anas Linux - Networking 3 07-08-2011 02:14 PM
repomd.xml [errno:4] 550 failed to change the directory your_shadow03 Linux - Newbie 1 08-11-2009 01:01 AM
Failure getting http://rpm.livna.org/fedora/7/i386/repodata/repomd.xml? quanta Fedora 3 10-11-2007 09:45 AM
What route to access daisy chained 2d router 192.168.1.1 after 192.168.0.1 (subnets?) Emmanuel_uk Linux - Networking 6 05-05-2006 01:47 AM
How to share /var/ftp/pub/... to Windows clients rrobinet Linux - Networking 0 05-06-2004 12:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:55 PM.

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