Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
[root@localhost bin]# yum info createrepo
Loaded plugins: refresh-packagekit, rhnplugin
Repository 'repobase' is missing name in configuration, using id
This system is not registered with RHN.
RHN support will be disabled.
epel | 4.3 kB 00:00
ftp:///mydirectory/myrepodir/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - ""
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: repobase. Please verify its path and try again
This is the command's output.
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)
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)
No sweat. Generally speaking Linux is all about freedom: the freedom to install documentation but not use it, the freedom to not look up protocols and standards, the freedom to pay for Licensing but not use it, the freedom to (not) learn from doing things as inefficiently as possible, the freedom to fsck up intentionally and still be unencumbered to ask for (and ignore) advice.
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
Last person i said "i'm using red hat" replied "ehy, rhel it's for payment why you don't switch to centOs?"
I will try to understand this damned repomd.xml what does it need
I'm trying to understand this as well, sometimes to understand concepts you need more time to look its application.
OK, then go do that, the repodata format isn't a secret. The "genpkgmetadata.py" from the createrepo package is just a Python script, I'm sure Red Hat or Fedora or the Yum developers have repodata documentation and if you search around you'll find informative articles like The Anatomy of a yum repository - a look under the hood of the Skype repo for i586.
Quote:
Originally Posted by adol83
And i still trying to understand if Rhel is free or not
You can run Red Hat without buying support but getting updates via RHN requires a subscription. If you want to know more then invest time reading. Red Hat has had proper documentation since releasing Red Hat Linux, they have a web site full of information (including licenses) and else representatives you can contact.
Quote:
Originally Posted by adol83
Last person i said "i'm using red hat" replied "ehy, rhel it's for payment why you don't switch to centOs?"
I'm not going to comment on that except to say it depends on the context and who's making the statement.
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.
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:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.