Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1537
  • Last Modified:

yum timeout error while downloading the package

I am getting timeout error while downloading the package from yum repository, please help to resolve this issue.

Dependencies Resolved

======================================================================================================================================================================================================
 Package                                 Arch                                   Version                                                              Repository                                  Size
======================================================================================================================================================================================================
Installing:
 tcpdump                                 x86_64                                 14:4.0.0-3.20090921gitdf3cb4.2.el6                                   local-base                                 336 k
Installing for dependencies:
 libpcap                                 x86_64                                 14:1.0.0-6.20091201git117cb5.el6                                     local-base                                 126 k

Transaction Summary
======================================================================================================================================================================================================
Install       2 Package(s)

Total download size: 461 k
Installed size: 1.1 M
Is this ok [y/N]: y
Downloading Packages:
http://centosrepo.abc.com/6/x86_64/libpcap-1.0.0-6.20091201git117cb5.el6.x86_64.rpm: [Errno 12] Timeout on http://centosrepo.abc.com/6/x86_64/libpcap-1.0.0-6.20091201git117cb5.el6.x86_64.rpm: (28, 'connect() timed out!')

There is no problem with the repository, I am able to browse the repo URL from browser.
0
sudhirgoogle
Asked:
sudhirgoogle
5 Solutions
 
rfportillaCommented:
I'm sorry if these are silly questions, but I don't know exactly what you have tried and haven't tried.  

When you say that you tried the repo from the browser, is this a browser on the same computer that you are running yum from?  Have you tried doing a curl or wget to that link?  If curl and/or wget work, then yum should work.  This is where I would start.  

Do other rpms from this repo work?

If it gets too complicated and you need to get it done, download the rpm directly and install it from a local copy.
0
 
ceo_techCommented:
Check your network connection,...
0
 
MazdajaiCommented:
Can you post your /etc/yum.repos.d/*.repo?

Try -
yum clean all
yum repolist

Open in new window

0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
sudhirgoogleAuthor Commented:
still it didn't work, the server was placed in DMZ network, so want to know what are all the ports used by yum client to communicate with yum repository server, so that i can ask network team to verify those ports are opened on firewall.
0
 
rfportillaCommented:
Is just Web ports.  80 and 443.
0
 
gheistCommented:
You can enter proxy settings in /etc/yum.conf if you were given ones.
0
 
MazdajaiCommented:
Add those to your yum.conf and post the result.

proxy_username=username
proxy_password=password
proxy=http://proxy.example.com:9090/

Open in new window

0
 
rfportillaCommented:
I'm assuming you are using an internal repo.  Is this correct? When you said you need to request open ports, so you mean to the intensely network? This makes sense to me if that is what it is.

Are you using wget out curl the way I mentioned above?
0
 
SandyCommented:
add "enabled=0" string to /etc/yum.repos.d/<repo>.repo

TY/SA
0
 
rfportillaCommented:
I meant wget or curl.  (not "out")
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now