LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-29-2011, 03:20 PM   #1
mlnm
Member
 
Registered: Jun 2011
Posts: 96

Rep: Reputation: Disabled
yum 550 error


hi , i trying to configure yum locally, i have rpms in /var/ftp/pub/server directory, i have done createrepo -g /var/ftp/pub/server.
Repo list created , but when i do yum update , it gives the below output:

[root@localhost ~]# yum update
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
ftp://192.168.1.111/pub/repodata/repomd.xml: [Errno 4] IOError: [Errno ftp error] 550 Failed to change directory.
Trying other mirror.
Error: Cannot open/read repomd.xml file for repository: rhel
 
Old 08-29-2011, 03:31 PM   #2
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
What kind of permissions have you put on the directory? Sounds as if you have not set them up correctly, and Yum is unable to change to that directory to read it.
 
Old 08-29-2011, 04:29 PM   #3
mlnm
Member
 
Registered: Jun 2011
Posts: 96

Original Poster
Rep: Reputation: Disabled
drwxr-xr-x are there for /var/ftp/pub/Server, and root
is owner.
i created yum like this:
cd /var/ftp/pub/Server
createrepo -v /var/ftp/pub/Server
/etc/yum.repos.d
[rhel]
name=My Local Repo
baseurl=ftp://192.168.1.111/pub
enabled=1
gpgcheck=0
 
Old 08-30-2011, 10:17 AM   #4
mlnm
Member
 
Registered: Jun 2011
Posts: 96

Original Poster
Rep: Reputation: Disabled
i solved yum problem myself

Dear friends , i solved the yum problem myself,i just created share for /var/ftp/pub and gave rw permissions and createrepo -p /var/ftp/pub, then it worked out well.
 
  


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
ProFTPd 550 error windom Linux - Server 3 01-09-2010 12:59 PM
vsftpd error 550 on suse 9.1 yuun Linux - Networking 0 07-15-2004 03:52 PM
getting error 550 from vsftpd monty Linux - Software 3 06-08-2004 03:22 PM
Vsftpd help- 550 error hda Linux - Networking 1 10-15-2003 01:26 PM
vsftpd 550 upload error rusium Linux - Networking 1 05-20-2003 01:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:01 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