Search code examples
fiwarefiware-orionfiware-cygnus

Error downloading and installing Java JDK in CentOS (FIWARE)


I am trying to configure Cygnus in my FIWARE instance. Following the readthedocs tutorial I execute the following command:

yum install java-1.7.0-openjdk-devel

And the following error is listed:

Loaded plugins: fastestmirror, presto

Setting up Install Process

Loading mirror speeds from cached hostfile

  *base: mirror.gadix.com

  *epel: mirror.airenetworks.es

  *extras: mirror.gadix.com

  *updates: mirror.airenetworks.es


http://repositories.lab.fiware.org/repo/rpm/6/repodata/repomd.xml: 

[Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.

Error: Can not retrieve repository metadata (repomd.xml) for repository: fiware. Please verify your path and try again

Anyone have any idea what it can be and how to solve it? I'm new to Linux environment.


Solution

  • It is working fine for me, please refer to this answer to clean the metadata and try installing again. RHEL documentation mentions similar commands for OpenJdk devel installation.

    or run the following commands and try installing it again:

    yum clean all
    yum makecache
    yum update