The URL for the repository has to point to the directory that contains the "repodata" directory. You create that by using "createrepo", or there's one pre-packaged on the CD. This directory can be either in the directory that contains packages, or above it, since createrepo searches down.
You also have to make sure that the web server has permission to read the repodata directory and the files in it. The apache error log should tell you what the actual error was. -----Original Message----- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of John Summerfield Sent: Thursday, March 05, 2009 7:10 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: [LINUX-390] RHEL YUM Question Dave Myers wrote: > Given this YUM repos conf file..can anyone see why I am getting the > following error? > > [RHEL5.3] > name=Red Hat Enterprise Linux 5.3 > baseurl=FTP://ftpuser:ftpu...@10.100.105.12/mnt2/Server/ > > > > (error msgs) > > ftp://ftpuser:ftpu...@10.100.105.12/mnt2/Server/repodata/repomd.xml: > [Errno 4] > IOError: [Errno ftp error] 550 Failed to change directory. This means the directory doesn't exist (or maybe permissions don't allow access). I think Andrew's given the right answer. > Trying other mirror. > Error: Cannot retrieve repository metadata (repomd.xml) for repository: > RHEL5.3. Please verify its path and try again > > ---------------------------------------------------------------------- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 > -- Cheers John -- spambait 1aaaa...@coco.merseine.nu z1aaaa...@coco.merseine.nu -- Advice http://webfoot.com/advice/email.top.php http://www.catb.org/~esr/faqs/smart-questions.html http://support.microsoft.com/kb/555375 You cannot reply off-list:-) ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -------------------------------------------------------------------------- This message w/attachments (message) may be privileged, confidential or proprietary, and if you are not an intended recipient, please notify the sender, do not use or share it and delete it. Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Merrill Lynch. Subject to applicable law, Merrill Lynch may monitor, review and retain e-communications (EC) traveling through its networks/systems. The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to be secure or error-free. References to "Merrill Lynch" are references to any company in the Merrill Lynch & Co., Inc. group of companies, which are wholly-owned by Bank of America Corporation. Securities and Insurance Products: * Are Not FDIC Insured * Are Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not a Condition to Any Banking Service or Activity * Are Not Insured by Any Federal Government Agency. Attachments that are part of this E-communication may have additional important disclosures and disclaimers, which you should read. This message is subject to terms available at the following link: http://www.ml.com/e-communications_terms/. By messaging with Merrill Lynch you consent to the foregoing. --------------------------------------------------------------------------