Repository error with yum

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I cleaned yum (clean metadata, packages, all, etc...) and after that everytime I try to download or update or do something with yum I get the following error:




http://"MY IP"/install/rocks-dist/x86_64/repodata/repomd.xml:
[Errno 4] IOError: Trying
other mirror. Error: Cannot retrieve repository metadata (repomd.xml)
for repository: Rocks-5.4. Please verify its path and try again




I tried removing every commented line (not pure comments) of all the repos I have in yum.repos.d but nothing happened.



This is what I get if I do yum repolist
enter image description here



Also found this in yum.conf (this is part of the file, should this be here? With my IP?




[Rocks-5.4]



name=Rocks 5.4



baseurl=http://"MYIP"/install/rocks-dist/x86_64




NEW:



I removed the Rocks repository from my yum.conf and now I get this error with yum update:




YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. Invalid release/
http://mirror.centos.org/centos/5/addons/x86_64/repodata/repomd.xml:
[Errno 14] HTTP Error 404: Not Found Trying other mirror. Error:
Cannot retrieve repository metadata (repomd.xml) for repository:
addons. Please verify its path and try again








share|improve this question


















  • 1




    Can you add to your question your repository file, and anything related to Rocks-5.4 ?
    – Thomas Gros
    Dec 15 '17 at 8:47











  • @ThomasGros Done, I dont know what you mean by anything related to Rocks
    – bimmer55
    Dec 15 '17 at 8:53










  • Do you have a repository hosted on your (or one) machine located at your IP ? The problem seems to be related to your Rocks-5.4 repository. You should take a look at its path.
    – Thomas Gros
    Dec 15 '17 at 9:00










  • @ThomasGros We don't have any repository hosted in our machine.
    – bimmer55
    Dec 15 '17 at 9:03










  • Did you try to install or use Rocksclusters ? If you did, you might have misconfigured something (I'm not familiar with it, I can't help you further with this). If you didn't you can disable this repository from yum.conf.
    – Thomas Gros
    Dec 15 '17 at 9:15















up vote
0
down vote

favorite












I cleaned yum (clean metadata, packages, all, etc...) and after that everytime I try to download or update or do something with yum I get the following error:




http://"MY IP"/install/rocks-dist/x86_64/repodata/repomd.xml:
[Errno 4] IOError: Trying
other mirror. Error: Cannot retrieve repository metadata (repomd.xml)
for repository: Rocks-5.4. Please verify its path and try again




I tried removing every commented line (not pure comments) of all the repos I have in yum.repos.d but nothing happened.



This is what I get if I do yum repolist
enter image description here



Also found this in yum.conf (this is part of the file, should this be here? With my IP?




[Rocks-5.4]



name=Rocks 5.4



baseurl=http://"MYIP"/install/rocks-dist/x86_64




NEW:



I removed the Rocks repository from my yum.conf and now I get this error with yum update:




YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. Invalid release/
http://mirror.centos.org/centos/5/addons/x86_64/repodata/repomd.xml:
[Errno 14] HTTP Error 404: Not Found Trying other mirror. Error:
Cannot retrieve repository metadata (repomd.xml) for repository:
addons. Please verify its path and try again








share|improve this question


















  • 1




    Can you add to your question your repository file, and anything related to Rocks-5.4 ?
    – Thomas Gros
    Dec 15 '17 at 8:47











  • @ThomasGros Done, I dont know what you mean by anything related to Rocks
    – bimmer55
    Dec 15 '17 at 8:53










  • Do you have a repository hosted on your (or one) machine located at your IP ? The problem seems to be related to your Rocks-5.4 repository. You should take a look at its path.
    – Thomas Gros
    Dec 15 '17 at 9:00










  • @ThomasGros We don't have any repository hosted in our machine.
    – bimmer55
    Dec 15 '17 at 9:03










  • Did you try to install or use Rocksclusters ? If you did, you might have misconfigured something (I'm not familiar with it, I can't help you further with this). If you didn't you can disable this repository from yum.conf.
    – Thomas Gros
    Dec 15 '17 at 9:15













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I cleaned yum (clean metadata, packages, all, etc...) and after that everytime I try to download or update or do something with yum I get the following error:




http://"MY IP"/install/rocks-dist/x86_64/repodata/repomd.xml:
[Errno 4] IOError: Trying
other mirror. Error: Cannot retrieve repository metadata (repomd.xml)
for repository: Rocks-5.4. Please verify its path and try again




I tried removing every commented line (not pure comments) of all the repos I have in yum.repos.d but nothing happened.



This is what I get if I do yum repolist
enter image description here



Also found this in yum.conf (this is part of the file, should this be here? With my IP?




[Rocks-5.4]



name=Rocks 5.4



baseurl=http://"MYIP"/install/rocks-dist/x86_64




NEW:



I removed the Rocks repository from my yum.conf and now I get this error with yum update:




YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. Invalid release/
http://mirror.centos.org/centos/5/addons/x86_64/repodata/repomd.xml:
[Errno 14] HTTP Error 404: Not Found Trying other mirror. Error:
Cannot retrieve repository metadata (repomd.xml) for repository:
addons. Please verify its path and try again








share|improve this question














I cleaned yum (clean metadata, packages, all, etc...) and after that everytime I try to download or update or do something with yum I get the following error:




http://"MY IP"/install/rocks-dist/x86_64/repodata/repomd.xml:
[Errno 4] IOError: Trying
other mirror. Error: Cannot retrieve repository metadata (repomd.xml)
for repository: Rocks-5.4. Please verify its path and try again




I tried removing every commented line (not pure comments) of all the repos I have in yum.repos.d but nothing happened.



This is what I get if I do yum repolist
enter image description here



Also found this in yum.conf (this is part of the file, should this be here? With my IP?




[Rocks-5.4]



name=Rocks 5.4



baseurl=http://"MYIP"/install/rocks-dist/x86_64




NEW:



I removed the Rocks repository from my yum.conf and now I get this error with yum update:




YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. Invalid release/
http://mirror.centos.org/centos/5/addons/x86_64/repodata/repomd.xml:
[Errno 14] HTTP Error 404: Not Found Trying other mirror. Error:
Cannot retrieve repository metadata (repomd.xml) for repository:
addons. Please verify its path and try again










share|improve this question













share|improve this question




share|improve this question








edited Dec 15 '17 at 9:22

























asked Dec 15 '17 at 8:45









bimmer55

11




11







  • 1




    Can you add to your question your repository file, and anything related to Rocks-5.4 ?
    – Thomas Gros
    Dec 15 '17 at 8:47











  • @ThomasGros Done, I dont know what you mean by anything related to Rocks
    – bimmer55
    Dec 15 '17 at 8:53










  • Do you have a repository hosted on your (or one) machine located at your IP ? The problem seems to be related to your Rocks-5.4 repository. You should take a look at its path.
    – Thomas Gros
    Dec 15 '17 at 9:00










  • @ThomasGros We don't have any repository hosted in our machine.
    – bimmer55
    Dec 15 '17 at 9:03










  • Did you try to install or use Rocksclusters ? If you did, you might have misconfigured something (I'm not familiar with it, I can't help you further with this). If you didn't you can disable this repository from yum.conf.
    – Thomas Gros
    Dec 15 '17 at 9:15













  • 1




    Can you add to your question your repository file, and anything related to Rocks-5.4 ?
    – Thomas Gros
    Dec 15 '17 at 8:47











  • @ThomasGros Done, I dont know what you mean by anything related to Rocks
    – bimmer55
    Dec 15 '17 at 8:53










  • Do you have a repository hosted on your (or one) machine located at your IP ? The problem seems to be related to your Rocks-5.4 repository. You should take a look at its path.
    – Thomas Gros
    Dec 15 '17 at 9:00










  • @ThomasGros We don't have any repository hosted in our machine.
    – bimmer55
    Dec 15 '17 at 9:03










  • Did you try to install or use Rocksclusters ? If you did, you might have misconfigured something (I'm not familiar with it, I can't help you further with this). If you didn't you can disable this repository from yum.conf.
    – Thomas Gros
    Dec 15 '17 at 9:15








1




1




Can you add to your question your repository file, and anything related to Rocks-5.4 ?
– Thomas Gros
Dec 15 '17 at 8:47





Can you add to your question your repository file, and anything related to Rocks-5.4 ?
– Thomas Gros
Dec 15 '17 at 8:47













@ThomasGros Done, I dont know what you mean by anything related to Rocks
– bimmer55
Dec 15 '17 at 8:53




@ThomasGros Done, I dont know what you mean by anything related to Rocks
– bimmer55
Dec 15 '17 at 8:53












Do you have a repository hosted on your (or one) machine located at your IP ? The problem seems to be related to your Rocks-5.4 repository. You should take a look at its path.
– Thomas Gros
Dec 15 '17 at 9:00




Do you have a repository hosted on your (or one) machine located at your IP ? The problem seems to be related to your Rocks-5.4 repository. You should take a look at its path.
– Thomas Gros
Dec 15 '17 at 9:00












@ThomasGros We don't have any repository hosted in our machine.
– bimmer55
Dec 15 '17 at 9:03




@ThomasGros We don't have any repository hosted in our machine.
– bimmer55
Dec 15 '17 at 9:03












Did you try to install or use Rocksclusters ? If you did, you might have misconfigured something (I'm not familiar with it, I can't help you further with this). If you didn't you can disable this repository from yum.conf.
– Thomas Gros
Dec 15 '17 at 9:15





Did you try to install or use Rocksclusters ? If you did, you might have misconfigured something (I'm not familiar with it, I can't help you further with this). If you didn't you can disable this repository from yum.conf.
– Thomas Gros
Dec 15 '17 at 9:15











1 Answer
1






active

oldest

votes

















up vote
0
down vote













For the edited part :



You're using a depreciated version of CentOS. As seen in the readme found in CentOS 5 repo :




This directory (and version of CentOS) is depreciated.



CentOS-5 is now past EOL



You can get the last released version of centos 5.11 here:



http://vault.centos.org/5.11/



Please NOTE: this is not being maintained for security since moving
to Vault. It will have security issues, you should upgrade to a new
version instead.




You can either upgrade you system to a more recent version of CentOS (recommended for security updates etc..), or change your current repos urls from http://mirror.centos.org/centos/5/ to http://vault.centos.org/5.11/






share|improve this answer




















    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "106"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: false,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );








     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f411000%2frepository-error-with-yum%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote













    For the edited part :



    You're using a depreciated version of CentOS. As seen in the readme found in CentOS 5 repo :




    This directory (and version of CentOS) is depreciated.



    CentOS-5 is now past EOL



    You can get the last released version of centos 5.11 here:



    http://vault.centos.org/5.11/



    Please NOTE: this is not being maintained for security since moving
    to Vault. It will have security issues, you should upgrade to a new
    version instead.




    You can either upgrade you system to a more recent version of CentOS (recommended for security updates etc..), or change your current repos urls from http://mirror.centos.org/centos/5/ to http://vault.centos.org/5.11/






    share|improve this answer
























      up vote
      0
      down vote













      For the edited part :



      You're using a depreciated version of CentOS. As seen in the readme found in CentOS 5 repo :




      This directory (and version of CentOS) is depreciated.



      CentOS-5 is now past EOL



      You can get the last released version of centos 5.11 here:



      http://vault.centos.org/5.11/



      Please NOTE: this is not being maintained for security since moving
      to Vault. It will have security issues, you should upgrade to a new
      version instead.




      You can either upgrade you system to a more recent version of CentOS (recommended for security updates etc..), or change your current repos urls from http://mirror.centos.org/centos/5/ to http://vault.centos.org/5.11/






      share|improve this answer






















        up vote
        0
        down vote










        up vote
        0
        down vote









        For the edited part :



        You're using a depreciated version of CentOS. As seen in the readme found in CentOS 5 repo :




        This directory (and version of CentOS) is depreciated.



        CentOS-5 is now past EOL



        You can get the last released version of centos 5.11 here:



        http://vault.centos.org/5.11/



        Please NOTE: this is not being maintained for security since moving
        to Vault. It will have security issues, you should upgrade to a new
        version instead.




        You can either upgrade you system to a more recent version of CentOS (recommended for security updates etc..), or change your current repos urls from http://mirror.centos.org/centos/5/ to http://vault.centos.org/5.11/






        share|improve this answer












        For the edited part :



        You're using a depreciated version of CentOS. As seen in the readme found in CentOS 5 repo :




        This directory (and version of CentOS) is depreciated.



        CentOS-5 is now past EOL



        You can get the last released version of centos 5.11 here:



        http://vault.centos.org/5.11/



        Please NOTE: this is not being maintained for security since moving
        to Vault. It will have security issues, you should upgrade to a new
        version instead.




        You can either upgrade you system to a more recent version of CentOS (recommended for security updates etc..), or change your current repos urls from http://mirror.centos.org/centos/5/ to http://vault.centos.org/5.11/







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Dec 15 '17 at 9:26









        Thomas Gros

        3968




        3968






















             

            draft saved


            draft discarded


























             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f411000%2frepository-error-with-yum%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            How to check contact read email or not when send email to Individual?

            Bahrain

            Postfix configuration issue with fips on centos 7; mailgun relay