Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • I'm having some issues with yum. When I run "yum repolist" I get this:

    Posted on

    [root@ ~]# yum list all
    Loaded plugins: product-id, security, subscription-manager
    Updating Red Hat repositories.
    file:///mnt/Server/repodata/repomd.xml: [Errno 5] OSError: [Errno 2] No such file or directory: '/mnt/Server/repodata/repomd.xml'
    Trying other mirror.
    Error: Cannot retrieve repository metadata (repomd.xml) for repository: repo. Please verify its path and try again

    This path is not der in this server .

    /var/log/messages

    Nov 3 11:38:39 : error getting update info: Cannot retrieve repository metadata (repomd.xml) for repository: repo. Please verify its path and try again

    every 1hour we are getting this error .

    [root@V yum]# yum repolist all
    Loaded plugins: product-id, security, subscription-manager
    Updating Red Hat repositories.
    file:///mnt/Server/repodata/repomd.xml: [Errno 5] OSError: [Errno 2] No such file or directory: '/mnt/Server/repodata/repomd.xml'
    Trying other mirror.
    repo id repo name status
    repo repo enabled: 0
    repo1 repo1 enabled: 0
    repo2 repo enabled: 0
    rhel-debuginfo Red Hat Enterprise Linux 5Server - x86_64 - Debug disabled
    rhel-debuginfo-beta Red Hat Enterprise Linux 5Server Beta - x86_64 - Debug disabled
    rhel-source Red Hat Enterprise Linux 5Server - Source disabled
    repolist: 0

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat