Skip to main content

Solved : Cannot retrieve repository metadata (repomd.xml) for repository

I just install CentOS 6.4 and use yum install update but got

“Cannot retrieve repository metadata (repomd.xml) for repository: Please verify its path and try again”

I have double check with nslookup , ping and general internet browsing and everything seems me fine but update didn't work. I also tried yum clean all etc. but what work for me is here;

Solution :  
  1. Open a terminal (become Super user by entering 'su' and then the password)
  2. Type cd /var/run/
  3. Than Type dir to look for the 'yum.pid' file.
  4. Type rm -f yum.pid and press Enter
  5. Again Type dir to Confirm that the 'yum.pid' file has been deleted.
  6. Now again try yum update
Hope this will resolve your issue, I have done this on CentOS 6.4 but I have a great hope that it will also work for fedora, RedHat as well. please show yourself in comments;

Comments

Popular posts from this blog

Setting up per connection Limit Bandwidth on MikroTik Router

Generally, I do not prefer to add any unwanted restriction on the network user until its required due to some Administration reason. I know, there are more ways to tackle this setting up per connection Limit Bandwidth on MikroTik Router question comes into one’s mind but I resolve my concern while using MikroTik PCQs feature in MikroTik Queue Type and then calling this Queue Type to Simple Queue. There are more options for setting up per connection Limit Bandwidth on MikroTik Router but please share your concern to add anything else in this article. Let’s start to add our configurations; I am using WinBox for this Article but you can use anything you are convenient to use. Let’s start Step by Step procedure for Setting up per connection Limit Bandwidth on MikroTik Router, any version.  Setup Queue Types After Successful Login, click on Queues menu. Navigate to Queue Types and Press Add + (Plus Sign) to add a new Queue Type. Type a Name like in my scenario,...

Event 7026 : Service Control Manager Logfile : System - cdrom

You may be face  Event 7026 on your Windows systems and as this Event shows that " The following boot-start or system-start driver(s) failed to load: cdrom ", you may be wonder that why it is happening while system don't have any CDROM connected with it. In my scenario, I start explore and comes to know that in registry, cdrom service is set to 1 that indicate that it is a system / boot type device. Cause: Normally this error / Event ID indicates that there were priviously a CDROM was installed and now Physical Drive is no more connected but its services is up and running. Solution: You simple need to disable or set to manual cdrom in registry as under; Click on Start > RUN > Type regedit  and Press Enter   Navigate to  HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\cdrom Find Subkey Name Start Type REG_DWORD Set its Data Type to 3 ( Manual ) or 4  (  Disable  ) Important Link: http://support.microsoft.c...

The file is corrupt and cannot be opened" - error in Microsoft Office 2010

Mostly we have seen this error with email attachments, when a user gets an email in his / her inbox having, Microsoft Word, Microsoft Excel or Microsoft PowerPoint file in some older version. This error is not Microsoft Office bug, as so many blogs says but it is your security settings that are preventing Internet E-mail attachments to being opened at your computer. Secondly, this error comes to Lucky person J not everyone gets this error. Quick Fix , Open your Microsoft Word 2010, Microsoft Excel 2010 or Microsoft PowerPoint 2010 and try as under; 1. Open Microsoft Word, Excel or PowerPoint 2010. 2. Click on File > Options. 3. Select Trust Center > Trust center settings. 4. Select Protected view. 5. Uncheck “Enable Protected View for files originating from the Internet” under Protected View > OK. 6. Restart Microsoft Word / Excel or PowerPoint 2010 and try to open document. If you are unable to open your document with only this desel...