Article ID: 117821, created on Oct 9, 2013, last review on May 11, 2014

  • Applies to:
  • Virtuozzo
  • Virtuozzo hypervisor

Symptoms

Yum update or yum info commands return the following error:

~# yum info kernel
http://192.168.10.15/tarballs/PSBM/5.0.0/x86_64/YUM/repodata/repomd.xml: [Errno 12] Timeout on http://192.168.10.15/tarballs/PSBM/5.0.0/x86_64/YUM/repodata/repomd.xml: (28, 'connect() timed out!')
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: repo-id-5. Please verify its path and try again

Cause

A local repository is specified in yum repositories (in this case it is 192.168.101.15), and it is unavailable.

Resolution

Resolve the issue with local repository.

Alternatively, disable it in YUM configuration:

  • find the files in /etc/yum.repos.d/ folder that contain the description of repo-id-5 :

    [repo-id-5]
    name=repo-id-5
    baseurl=http://192.168.10.15/tarballs/PSBM/5.0.0/x86_64/YUM
    gpgcheck=0
    
  • add "enabled=0" string to this section.

    [repo-id-5]
    name=repo-id-5
    baseurl=http://192.168.10.15/tarballs/PSBM/5.0.0/x86_64/YUM
    gpgcheck=0
    enabled=0
    

Search Words

[Errno 12] Timeout on

yum update

Cannot retrieve repository metadata

a26b38f94253cdfbf1028d72cf3a498b 2897d76d56d2010f4e3a28f864d69223 0dd5b9380c7d4884d77587f3eb0fa8ef

Email subscription for changes to this article
Save as PDF