Results 1 to 6 of 6

Thread: Yum is freezing getting error message ‘Loading mirror speeds from cached hostfile’

  1. #1
    Join Date
    Apr 2011
    Posts
    63

    Yum is freezing getting error message ‘Loading mirror speeds from cached hostfile’

    I have installed CentOS on the computer of mine. I am looking to install RubyGems on the computer of mine. So I have executed the below mentioned command on the terminal and it is prompting with the error message on the computer screen. I am totally clueless why this particular problem is occurring on the computer of mine. Any help on this particular matter would be highly appreciated. Thanks a lot in advance.

  2. #2
    Join Date
    Jun 2009
    Posts
    1,518

    Re: Yum is freezing getting error message ‘Loading mirror speeds from cached hostfile’

    Well there could be number of reasons which could the root cause of the problem so I am asking following questions which you should answer to fix the matter of yours. Let me know which version of the CentOS do you have installed on the computer? Can you tell me which version of the yum do you have installed on the computer? you have posted that you are getting an error message on the screen so post the entire error message which you are getting on the computer? Answer the above mentioned question as early as possible so that I can let you know about the possible solution to fix the problem of yours.

  3. #3
    Join Date
    Nov 2008
    Posts
    1,514

    Re: Yum is freezing getting error message ‘Loading mirror speeds from cached hostfile’

    I am suggesting following steps which you can use to diagnose the root cause of the problem.
    • Well you should execute the below mentioned command on the terminal.
    • Code:
      strace -f ls –l
    • it will trace the kernel system calls and –f would trace the sub process with fork/exec.
    • Also you can run the below mentioned command on the terminal and see whether it is working or not.
    • Code:
      Ltrace
    • It traces the C library function calls.
    • So try the same and let me know about the results.

  4. #4
    Join Date
    Mar 2009
    Posts
    1,360

    Re: Yum is freezing getting error message ‘Loading mirror speeds from cached hostfile’

    I was having the same problem which you have mentioned over here I am suggesting the following command which you can use to fix the matter of yours.
    Code:
    su -c 'rm -rf /var/lib/rpm/__db*'
    su -c 'rpm --rebuilddb'
    su -c 'yum check-update'
    after executing the above mentioned command you should reboot the computer of yours.

  5. #5
    Join Date
    Nov 2008
    Posts
    1,259

    Re: Yum is freezing getting error message ‘Loading mirror speeds from cached hostfile’

    I think you need to reinstall the yum on the computer of yours. Well you should reinstall the yum and see whether it is working or not. If it is not working then you need to upgrade the yum on the computer of yours. Well you should execute the below mentioned command on the terminal and see whether it is working or not.
    Code:
    yum upgrade
    Also share the experience of yours so that other users can learn from the same.

  6. #6
    Join Date
    Nov 2008
    Posts
    1,185

    Re: Yum is freezing getting error message ‘Loading mirror speeds from cached hostfile’

    I am not sure but the problem which you have mentioned over her is happening due to bug issue. So I recommend that you should contact the developer and file a bug issue. Well you should provide the information regarding the computer of yours and the problem which you are getting on the computer. The developer team would work around on the situation and fix the bug and they would release a patch on the computer of yours.

Similar Threads

  1. Replies: 10
    Last Post: 27-11-2011, 10:06 PM
  2. Replies: 5
    Last Post: 03-07-2011, 09:13 PM
  3. Replies: 5
    Last Post: 24-05-2011, 10:28 AM
  4. islands game freezing no error message
    By Intellecturator in forum Video Games
    Replies: 4
    Last Post: 22-02-2011, 07:35 AM
  5. Error Message "Error loading lame_enc.dll"
    By Ektaa in forum Operating Systems
    Replies: 6
    Last Post: 04-03-2009, 05:48 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,557,829.35766 seconds with 16 queries