Find the answer to your Linux question:
Results 1 to 5 of 5
Hello everyone. I have problem in installing program using yum. When I type for example : yum install vlc it will produce : [root@garry ~]yum install vlc Could not retrieve ...
  1. #1
    Just Joined! garry_3peace's Avatar
    Join Date
    Oct 2008
    Posts
    67

    [SOLVED] Can't yum install in CentOS

    Hello everyone.

    I have problem in installing program using yum. When I type for example : yum install vlc

    it will produce :
    [root@garry ~]yum install vlc
    Could not retrieve mirrorlist http://mirrorlist.centos.org/?releas...h=i386&repo=os error was
    [Errno 4] IOError: <urlopen error (113, 'No route to host')>
    Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again.
    I am install the CentOS on the VirtualBox. While my computer have proxy, but I have no problem in accessing internet. It can resolve mirrorlist.centos.org. Any idea?

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    There is an extensive discussion about yum and proxies on this thread. There are also several solutions that will help resolve your problem.

  3. #3
    Just Joined! garry_3peace's Avatar
    Join Date
    Oct 2008
    Posts
    67
    Thank's for the link. But I thought it is not concern to proxy. Since I am using CentOS on Virtualbox. While the one who need proxy is the host computer... Must I set the proxy in the Virtualbox?

  4. #4
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    I tend to stay clear of virtual machines, so I can't be much help. You could try setting the proxy on the virtual machine and see if that helps.

  5. #5
    Just Joined! garry_3peace's Avatar
    Join Date
    Oct 2008
    Posts
    67
    Hm my fault... At first I thought I don't set the proxy because after I set it, it doesn't effect. But later I just realize, I even don't have a proper network configuration
    After configure the network and I am able to download file from internet. I try again to use yum... but this time it said Connection refuse. So this time I set the proxy...

    export http_proxy="http://xxxxxx"
    export ftp_proxy="http://xxxxxx"

    And this time yum is working now I don't understand why yum insist to use proxy while I can download without any problem with wget (without proxy).
    Thank you very much for the link daark.child

Posting Permissions

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