LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-09-2012, 10:38 AM   #1
sam.m
LQ Newbie
 
Registered: Jul 2011
Location: New Jersey
Distribution: Linux - Red Hat, Suse, Fedora, Ubuntu, Debian, Cent OS, HP UX - 11.x
Posts: 17

Rep: Reputation: Disabled
Reposync fails when trying to download packages from Red Hat


I am RHEL 5 x86_64 server to download the "rhel-x86_64-server-5" repository from Red Hat using reposync and it keeps on failing with errors. I tried it multiple times and updated few packages and then fails again. I have pasted the error I got below. Please help.

Traceback (most recent call last):
File "/usr/bin/reposync", line 291, in ?
main()
File "/usr/bin/reposync", line 268, in main
path = repo.getPackage(pkg)
File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 853, in getPackage
cache=cache
File "/usr/lib/yum-plugins/rhnplugin.py", line 311, in _getFile
start, end, copy_local, checkfunc, text, reget, cache)
File "/usr/lib/yum-plugins/rhnplugin.py", line 404, in _noExceptionWrappingGet
timeout=self.timeout
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 936, in urlgrab
return self._retry(opts, retryfunc, url, filename)
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 854, in _retry
r = apply(func, (opts,) + args, {})
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 922, in retryfunc
fo = URLGrabberFileObject(url, filename, opts)
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 1010, in __init__
self._do_open()
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 1093, in _do_open
fo, hdr = self._make_request(req, opener)
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 1202, in _make_request
fo = opener.open(req)
File "/usr/lib64/python2.4/urllib2.py", line 358, in open
response = self._open(req, data)
File "/usr/lib64/python2.4/urllib2.py", line 376, in _open
'_open', req)
File "/usr/lib64/python2.4/urllib2.py", line 337, in _call_chain
result = func(*args)
File "/usr/lib64/python2.4/site-packages/M2Crypto/m2urllib2.py", line 82, in https_open
h.request(req.get_method(), req.get_selector(), req.data, headers)
File "/usr/lib64/python2.4/httplib.py", line 813, in request
if v[0] != 32 or not self.auto_open:
IndexError: tuple index out of range
 
Old 05-10-2012, 07:01 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
Do you have selinux enabled? .. I recently updated and found a couple of issues.
 
Old 05-14-2012, 11:29 AM   #3
sam.m
LQ Newbie
 
Registered: Jul 2011
Location: New Jersey
Distribution: Linux - Red Hat, Suse, Fedora, Ubuntu, Debian, Cent OS, HP UX - 11.x
Posts: 17

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by kbp View Post
Do you have selinux enabled? .. I recently updated and found a couple of issues.
No, I have disabled the SELinux feature on this machine.
 
Old 05-14-2012, 07:25 PM   #4
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
And the host is registered with RHN ?
 
Old 05-15-2012, 12:33 PM   #5
sam.m
LQ Newbie
 
Registered: Jul 2011
Location: New Jersey
Distribution: Linux - Red Hat, Suse, Fedora, Ubuntu, Debian, Cent OS, HP UX - 11.x
Posts: 17

Original Poster
Rep: Reputation: Disabled
Yes, it is registered with RHN
 
Old 05-15-2012, 07:45 PM   #6
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
Does a 'yum update' succeed? ..
 
Old 05-16-2012, 09:09 AM   #7
sam.m
LQ Newbie
 
Registered: Jul 2011
Location: New Jersey
Distribution: Linux - Red Hat, Suse, Fedora, Ubuntu, Debian, Cent OS, HP UX - 11.x
Posts: 17

Original Poster
Rep: Reputation: Disabled
yum updates fine
 
Old 05-16-2012, 10:02 AM   #8
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
Sorry, I'm out of ideas, have you opened a support ticket?
 
Old 05-22-2012, 10:18 AM   #9
sam.m
LQ Newbie
 
Registered: Jul 2011
Location: New Jersey
Distribution: Linux - Red Hat, Suse, Fedora, Ubuntu, Debian, Cent OS, HP UX - 11.x
Posts: 17

Original Poster
Rep: Reputation: Disabled
I have opened a case with redhat, they have no clue either. They suggested that there could be a problem with my proxy server, which I verified and found nothing wrong with it.
 
Old 05-22-2012, 10:20 AM   #10
sam.m
LQ Newbie
 
Registered: Jul 2011
Location: New Jersey
Distribution: Linux - Red Hat, Suse, Fedora, Ubuntu, Debian, Cent OS, HP UX - 11.x
Posts: 17

Original Poster
Rep: Reputation: Disabled
Thanks for help, appreciate you time....this is a very peculiar problem, I have done this before when I was maintaining depot servers but I never ran into these issues.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HOw do i handle packages in Red Hat 9.0 crash_override_me Red Hat 1 08-24-2005 02:32 PM
red hat 8 instillation packages? crypto2phreak Linux - Newbie 0 03-26-2004 01:22 AM
Red Hat 9 Packages helenvale Linux - Newbie 3 07-09-2003 08:21 PM
Red Hat download vs Red Hat retail groovin Linux - General 1 04-14-2003 11:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration