Find the answer to your Linux question:
Results 1 to 7 of 7
So I've been trying to update my system. I get a message - "Repository configuration invalid" "Cannot retrieve repository metadata (repomd.xml) for repository: core. Please verify its path and try ...
  1. #1
    Just Joined!
    Join Date
    Jun 2008
    Posts
    10

    Unhappy Help with Update System

    So I've been trying to update my system. I get a message -


    "Repository configuration invalid"
    "Cannot retrieve repository metadata (repomd.xml) for repository: core. Please verify its path and try again"

    I googled the error message, but the forums I found didn't help me at all. If someone could give me a nudge in the right direction that would be great. I'm not asking a lot from linux, I just want it to work better than Vista.

    Thanks.

  2. #2
    Linux User glennzo's Avatar
    Join Date
    Sep 2004
    Location
    Salem, Mass
    Posts
    434
    Try yum clean all and then yum update. Also, can you post the output of the command yum repolist please? What release of Fedora?
    Glenn
    Powered by Fedora 16 and Arch Linux

  3. #3
    Just Joined!
    Join Date
    Jun 2008
    Posts
    10
    I had to remove the "http"from the output because the forum said I can't post URL's

    yum update resulted in the following -

    Loaded plugins: refresh-packagekit
    Repository updates is listed more than once in the configuration
    core | 1.4 kB 00:00
    ayo.freshrpms.net/fedora/linux/9/#basearch/core/repodata/repomd.xml: [Errno -1] Error importing repomd.xml for core: Damaged repomd.xml file
    Trying other mirror.
    Error: Cannot retrieve repository metadata (repomd.xml) for repository: core. Please verify its path and try again

    yum repolist resulted in -

    Loaded plugins: refresh-packagekit
    Repository updates is listed more than once in the configuration
    core | 1.4 kB 00:00
    ayo.freshrpms.net/fedora/linux/9/#basearch/core/repodata/repomd.xml: [Errno -1] Error importing repomd.xml for core: Damaged repomd.xml file
    Trying other mirror.
    Error: Cannot retrieve repository metadata (repomd.xml) for repository: core. Please verify its path and try again

  4. #4
    Just Joined!
    Join Date
    Jun 2008
    Posts
    10
    Fedora Core 11

  5. #5
    Linux User glennzo's Avatar
    Join Date
    Sep 2004
    Location
    Salem, Mass
    Posts
    434
    Get rid of that freshrpms repository. Here's what you should see when you type yum repolist while running Fedora 11 (There's no core, so it's not Fedora Core 11).
    Code:
    [glenn@laptopbeta ~]$ yum repolist
    Loaded plugins: fastestmirror, presto, refresh-packagekit
    repo id                            repo name                                              status
    fedora                             Fedora 11 - i386                                       enabled: 13,289
    rpmfusion-free                     RPM Fusion for Fedora 11 - Free                        enabled:    653
    rpmfusion-free-updates             RPM Fusion for Fedora 11 - Free - Updates              enabled:    653
    rpmfusion-nonfree                  RPM Fusion for Fedora 11 - Nonfree                     enabled:    259
    rpmfusion-nonfree-updates          RPM Fusion for Fedora 11 - Nonfree - Updates           enabled:    259
    updates                            Fedora 11 - i386 - Updates                             enabled:  1,087
    repolist: 16,200
    So from a terminal type
    Code:
    su -c 'gedit /etc/yum.repos.d/freshrpms.repo'
    Find the line that reads enabled=1 and change it to read enabled=0. Save and exit. Do the same for any other third party repository you've installed. Then try using yum again.
    Glenn
    Powered by Fedora 16 and Arch Linux

  6. #6
    Just Joined!
    Join Date
    Jun 2008
    Posts
    10
    That worked. At least I can update my system now. Is there a way to search for third party stuff I installed using yum, because I can't remember if I have or not.


    Thanks for taking the time to help.

  7. #7
    Trusted Penguin jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    4,071
    You can search for installed packages with
    rpm -qa <package-name>
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...