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 |
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.
|
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 |
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 08:47 AM. |