Repo syntax issue rhel/centos
Hello again,
i need to understand once for all the syntax of files.repo. When i need a repository i create under /etc/yum.repos.d/ the repository file goofy.repo with this syntax [repository_name] [goofy] baseurl=ftp:///mydirectory/myrepodir gpgcheck=0 --- Myrepodir contains all the *.rpm files i need when i exit and save i get anytime this error Code:
ftp:///mydirectory/myrepodir/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "" "Ehy, for rpm look inside /mydirectory/myrepo" ? Thanks |
baseurl=ftp:///mydirectory/myrepodir should probably read baseurl=ftp://myserver/mydirectory/myrepodir. If that was a typo then check if /mydirectory/myrepodir/repodata/repomd.xml exists on the server, if the user has access rights elif check your FTP daemon logs for clues.
|
So i should create an repond.xml file for repository or it won't work?
|
Try 'yum info createrepo'.
|
Code:
[root@localhost bin]# yum info createrepo I'd rather create manually my repo file than using the tool. Oh, maybe it's a clue that my release is Red Hat Enterprise Linux 6 ? (i have a code but i still have not inserted) |
Quote:
A lot of people handle these freedoms well :-] |
I'm trying to understand this as well, sometimes to understand concepts you need more time to look its application.
And i still trying to understand if Rhel is free or not :confused: Last person i said "i'm using red hat" replied "ehy, rhel it's for payment why you don't switch to centOs?" :confused: I will try to understand this damned repomd.xml what does it need |
Quote:
Quote:
Quote:
|
https://code.google.com/p/iredmail/w...Yum_Repository - a howto on creating a repo from ISOs.
|
on RHEL
Quote:
you are dead in the water until you register it with red hat and buy the required license -- options -- install the current ( AND FREE ) CentOS 6.3 or buy $$$ the red hat license or port the RHEL install to cent -- it is relatively easy . red hat is "free" yes and no free to use BUT you do not install any software that is not on the install disk and that IS OUT OF DATE you are paying red hat for the bug fixes and software updates and for the tech support |
This is the second time i wrote to Rhel for support and licensing and they didn't reply at all, I guess i will activate my license number so i will be able to ask about pricing.
CentOs will be installed on my laptop. Thank you anyway.. |
Cannot retrieve repository metadata (repomd.xml) for repository: epel.
I get the error message above when trying to install xrdp from epel-release-6-8.noarch.rpm. My machine is a registered RHN RHEL6.2 server. I unsuccessfully tried "yum clean all" and "yum info createrepo" , but I still get the same error. Is there a config file somewhere that I can point to the /var/cache/yum/x86_64/6Server/rhel-x86_64-server-6/repomd.xml file?
|
When I do a locate command to find repomd.xml, I see it in other repositories, but not the /var/cache/yum/x86_64/6Server/epel/ repository, which does infact, exist next to the other repos that RHEL 6 does see as shown below:
[root@DOCLNXTC1 herrscherk]# locate repomd.xml /root/.itc-deployment/repo_cache/repodata/repomd.xml /var/cache/yum/x86_64/6Server/dvd/repomd.xml /var/cache/yum/x86_64/6Server/rhel-x86_64-server-6/repomd.xml |
All times are GMT -5. The time now is 07:00 AM. |