LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   yum 550 error (https://www.linuxquestions.org/questions/linux-newbie-8/yum-550-error-900102/)

mlnm 08-29-2011 03:20 PM

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

szboardstretcher 08-29-2011 03:31 PM

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.

mlnm 08-29-2011 04:29 PM

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

mlnm 08-30-2011 10:17 AM

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.


All times are GMT -5. The time now is 04:59 AM.