Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2019
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.13 KB | None | 0 0
  1. [root@277d850cf18d /]# yum search ssl
  2. Loaded plugins: ovl, product-id, search-disabled-repos, subscription-manager
  3. ftp://partners.redhat.com/1c5d859a/UBI-5032b19e400c3605214630e4ba65e14f/7/RHAH-UBI/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: partners.redhat.com; Unknown error"
  4. Trying other mirror.
  5.  
  6.  
  7. One of the configured repositories failed (latest-rhah-ubi-7.6 (RPMs) - Server (Dev Preview)),
  8. and yum doesn't have enough cached data to continue. At this point the only
  9. safe thing yum can do is fail. There are a few ways to work "fix" this:
  10.  
  11. 1. Contact the upstream for the repository and get them to fix the problem.
  12.  
  13. 2. Reconfigure the baseurl/etc. for the repository, to point to a working
  14. upstream. This is most often useful if you are using a newer
  15. distribution release than is supported by the repository (and the
  16. packages for the previous distribution release still work).
  17.  
  18. 3. Run the command with the repository temporarily disabled
  19. yum --disablerepo=latest-rhah-ubi-7.6 ...
  20.  
  21. 4. Disable the repository permanently, so yum won't use it by default. Yum
  22. will then just ignore the repository until you permanently enable it
  23. again or use --enablerepo for temporary usage:
  24.  
  25. yum-config-manager --disable latest-rhah-ubi-7.6
  26. or
  27. subscription-manager repos --disable=latest-rhah-ubi-7.6
  28.  
  29. 5. Configure the failing repository to be skipped, if it is unavailable.
  30. Note that yum will try to contact the repo. when it runs most commands,
  31. so will have to try and fail each time (and thus. yum will be be much
  32. slower). If it is a very temporary problem though, this is often a nice
  33. compromise:
  34.  
  35. yum-config-manager --save --setopt=latest-rhah-ubi-7.6.skip_if_unavailable=true
  36.  
  37. failure: repodata/repomd.xml from latest-rhah-ubi-7.6: [Errno 256] No more mirrors to try.
  38. ftp://partners.redhat.com/1c5d859a/UBI-5032b19e400c3605214630e4ba65e14f/7/RHAH-UBI/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: partners.redhat.com; Unknown error"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement