PDA

View Full Version : [SOLVED] Update Error repomd.xml



DAKSH
16th July 2011, 07:36 PM
Last I removed few ssl certificates by mistake. Now when I am trying to update I am getting this error

yum update
Loaded plugins: langpacks, presto, refresh-packagekit
Error: Cannot retrieve repository metadata (repomd.xml) for repository: updates. Please verify its path and try again


So, I tried to debug my update errors used URLGRABBER_DEBUG=1 yum update and got this


2011-07-16 16:21:14,205 attempt 1/10: https://mirrors.fedoraproject.org/metalink?repo=updates-released-f15&arch=x86_64
INFO:urlgrabber:attempt 1/10: https://mirrors.fedoraproject.org/metalink?repo=updates-released-f15&arch=x86_64
2011-07-16 16:21:14,206 opening local file "/var/cache/yum/x86_64/15/updates/metalink.xml.tmp" with mode wb
INFO:urlgrabber:opening local file "/var/cache/yum/x86_64/15/updates/metalink.xml.tmp" with mode wb
* About to connect() to mirrors.fedoraproject.org port 443 (#0)
* Trying 209.132.181.16... * connected
* Connected to mirrors.fedoraproject.org (209.132.181.16) port 443 (#0)
* warning: ignoring unsupported value (1) of ssl.verifyhost
* NSS error -5978
* Closing connection #0
* Problem with the SSL CA cert (path? access rights?)
2011-07-16 16:21:15,355 exception: [Errno 14] curl#77 - "<Unknown>"
INFO:urlgrabber:exception: [Errno 14] curl#77 - "<Unknown>"
2011-07-16 16:21:15,355 retrycode (14) not in list [-1, 2, 4, 5, 6, 7], re-raising
INFO:urlgrabber:retrycode (14) not in list [-1, 2, 4, 5, 6, 7], re-raising
Error: Cannot retrieve repository metadata (repomd.xml) for repository: updates. Please verify its path and try again

I have paster geotrust root3 certificate on /etc/pki/tls/certs/ but still having the same problem can any one tell me how can I resolve this?

---------- Post added 17th July 2011 at 12:06 AM ---------- Previous post was 16th July 2011 at 04:34 PM ----------

I got the solution from nirik on #fedora
that is



wget http://mirrors.rit.edu/fedora/linux/releases/15/Everything/x86_64/os//Packages/ca-certificates-2011.70-2.fc15.noarch.rpm; yum reinstall ca-certificates-2011.70-2.fc15.noarch.rpm

rpm -Uvh --replacepkgs --oldpackage ca-certificates-2011.70-2.fc15.noarch.rpm