Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
howto:how_to_fix_yum_basic_auth_behind_a_proxy [2015/03/24 21:28] smarkhowto:how_to_fix_yum_basic_auth_behind_a_proxy [2015/03/24 21:33] – [Resolution] smark
Line 60: Line 60:
  
 ===== Resolution ===== ===== Resolution =====
-Modify /etc/yum.repos.d/rhel6-some-repo-x.y.repo to conform to yum's recommended standard of baseurl/username/password for both contained repositories. + 
-Apply the patch as documented in the NEXUS URL. +  - Modify /etc/yum.repos.d/rhel6-some-repo-x.y.repo to conform to yum's recommended standard of baseurl/username/password for both contained repositories. 
- Copy the file urlgrabber.patch to the /root/ directory. +  Apply the patch as documented in the NEXUS URL: 
- Back up the existing grabber.py file: +  Copy the file {{:howto:urlgrabber.patch|}} to the /root/ directory. 
- cp /usr/lib/python2.6/site-packages/urlgrabber/grabber.py /root/urlgrabber_backup/head_node/grabber.py +  Back up the existing grabber.py file: 
- Patch the file: + cp /usr/lib/python2.6/site-packages/urlgrabber/grabber.py /root/urlgrabber_backup/head_node/grabber.py 
- patch /usr/lib/python2.6/site-packages/urlgrabber/grabber.py < /root/urlgrabber.patch +  Patch the file: 
- Each command should return an output similar to below: + patch /usr/lib/python2.6/site-packages/urlgrabber/grabber.py < /root/urlgrabber.patch 
- patching file /usr/lib/python2.6/site-packages/urlgrabber/grabber.py +  Each command should return an output similar to below: 
- Hunk #2 succeeded at 426 (offset -5 lines). + patching file /usr/lib/python2.6/site-packages/urlgrabber/grabber.py 
- Hunk #3 succeeded at 828 (offset -6 lines). + Hunk #2 succeeded at 426 (offset -5 lines). 
- Hunk #4 succeeded at 1253 (offset -9 lines). + Hunk #3 succeeded at 828 (offset -6 lines). 
- Hunk #5 succeeded at 1349 (offset -9 lines). + Hunk #4 succeeded at 1253 (offset -9 lines). 
-Re-run the "yum check-update" command. It should complete successfully.+ Hunk #5 succeeded at 1349 (offset -9 lines). 
 +  Re-run the "yum check-update" command. It should complete successfully.
howto/how_to_fix_yum_basic_auth_behind_a_proxy.txt · Last modified: 2015/03/24 21:33 by smark
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0