Just to answer my own question:

- yum doesn't print out the error messages coming from any underlying python code even with debug=9
-strace is my friend


a missing file (ca-bundle.crt) in  /etc/pki/tls/certs/ causing yum to fail with the error message "Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again"

:)

I am going to ask yum devs to bundle yum with strace as a long term solution


On Tue, Nov 16, 2010 at 4:45 PM, István <leccine@gmail.com> wrote:
Hey,


you might have came across with this:

# yum update
Config time: 0.007
Yum Version: 3.2.28
COMMAND: yum update
Installroot: /
Setting up Package Sacks
Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again

I can download any repomd.xml wo/ trouble using wget and filling up the variables in the URL by hand.

Unfortunately there is no strace installed yet so I can't just trace what is happening. I am going to install it from rpm and see what is going on. Any advice is welcome.

# uname -a
Linux ip-5 2.6.35.6-48.fc14.x86_64 #1 SMP Fri Oct 22 15:36:08 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux


Regard,
Istvan

--
the sun shines for all

http://blog.l1x.me



--
the sun shines for all

http://blog.l1x.me