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
howto:how_to_fix_yum_basic_auth_behind_a_proxy [2015/03/24 21:32] smarkhowto:how_to_fix_yum_basic_auth_behind_a_proxy [2015/03/24 21:33] (current) – [Resolution] smark
Line 61: Line 61:
 ===== 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.+1. 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:+2. Apply the patch as documented in the NEXUS URL:
  
-  - Copy the file {{:howto:urlgrabber.patch|}} to the /root/ directory.+2a. Copy the file {{:howto:urlgrabber.patch|}} to the /root/ directory.
  
-  - Back up the existing grabber.py file:+2b. Back up the existing grabber.py file:
  
  cp /usr/lib/python2.6/site-packages/urlgrabber/grabber.py /root/urlgrabber_backup/head_node/grabber.py  cp /usr/lib/python2.6/site-packages/urlgrabber/grabber.py /root/urlgrabber_backup/head_node/grabber.py
  
-  - Patch the file:+2c. Patch the file:
  
  patch /usr/lib/python2.6/site-packages/urlgrabber/grabber.py < /root/urlgrabber.patch  patch /usr/lib/python2.6/site-packages/urlgrabber/grabber.py < /root/urlgrabber.patch
  
-  - Each command should return an output similar to below:+2d. Each command should return an output similar to below:
  
  patching file /usr/lib/python2.6/site-packages/urlgrabber/grabber.py  patching file /usr/lib/python2.6/site-packages/urlgrabber/grabber.py
Line 83: Line 83:
  Hunk #5 succeeded at 1349 (offset -9 lines).  Hunk #5 succeeded at 1349 (offset -9 lines).
  
-  - Re-run the "yum check-update" command. It should complete successfully.+3. Re-run the "yum check-update" command. It should complete successfully.
howto/how_to_fix_yum_basic_auth_behind_a_proxy.1427232756.txt.gz · Last modified: 2015/03/24 21:32 by smark
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0