Ask Your Question
0

error while installing using yum

asked 2017-04-02 01:58:32 -0500

Unkown gravatar image

[someshng@localhost yum.repos.d]$ sudo yum install multipath Loaded plugins: langpacks, refresh-packagekit dell-system-updateindependent | 199 B 00:00:00
http://linux.dell.com/repo/hardware/l...
independent/repodata/repomd.xml: [Errno -1] Error importing repomd.xml for dell-system-update_independent: Damaged repomd.xml file Trying other mirror. ^C

One of the configured repositories failed (Fedora 20 - x86_64), and yum doesn't have enough cached data to continue. At this point the only safe thing yum can do is fail. There are a few ways to work "fix" this:

 1. Contact the upstream for the repository and get them to fix the problem.

 2. Reconfigure the baseurl/etc. for the repository, to point to a working
    upstream. This is most often useful if you are using a newer
    distribution release than is supported by the repository (and the
    packages for the previous distribution release still work).

 3. Disable the repository, so yum won't use it by default. Yum will then
    just ignore the repository until you permanently enable it again or use
    --enablerepo for temporary usage:

        yum-config-manager --disable fedora

 4. Configure the failing repository to be skipped, if it is unavailable.
    Note that yum will try to contact the repo. when it runs most commands,
    so will have to try and fail each time (and thus. yum will be be much
    slower). If it is a very temporary problem though, this is often a nice
    compromise:

        yum-config-manager --save --setopt=fedora.skip_if_unavailable=true

Cannot retrieve metalink for repository: fedora/20/x86_64. Please verify its path and try again

edit retag flag offensive close merge delete

Comments

Fedora 20 is old and unsupported, this may cause the issue with repositories. To solve this try editing the files fedora.repo on /etc/yum.repo.d/ and uncomment baseurl and comment metalink and see if that works.

aeperezt gravatar imageaeperezt ( 2017-04-02 10:02:59 -0500 )edit

1 Answer

Sort by » oldest newest most voted
2

answered 2017-04-03 02:01:23 -0500

Axel Sommerfeldt gravatar image

As already told by aeperezt Fedora 20 is end-of-life since 2015 [1] and therefore the repositories are gone from the regular server.

So either update to a recent (and supported) version of Fedora, or edit fedora.repo and fedora-updates.repo (located in /etc/yum.repo.d/) making them link to the archived location of the Fedora 20 repositories [2].

[1] https://lists.fedoraproject.org/piper...

[2] https://archives.fedoraproject.org/pu...

edit flag offensive delete link more

Comments

1

Moreover, you may want to correct or delete the Dell repository.

florian gravatar imageflorian ( 2017-04-03 08:05:27 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2017-04-02 01:58:32 -0500

Seen: 168 times

Last updated: Apr 03 '17