Advertisement
apfel2kuchen

Untitled

May 29th, 2015
360
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.86 KB | None | 0 0
  1. [root@localhost yum.repos.d]# yum install rsyslog
  2. Loaded plugins: langpacks, product-id, subscription-manager
  3. This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
  4. http://rpms.adiscon.com/v8-stable/epel-7Server/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: rpms.adiscon.com; Unknown error"
  5. Trying other mirror.
  6.  
  7.  
  8. One of the configured repositories failed (Adiscon CentOS-7Server - local packages for x86_64),
  9. and yum doesn't have enough cached data to continue. At this point the only
  10. safe thing yum can do is fail. There are a few ways to work "fix" this:
  11.  
  12. 1. Contact the upstream for the repository and get them to fix the problem.
  13.  
  14. 2. Reconfigure the baseurl/etc. for the repository, to point to a working
  15. upstream. This is most often useful if you are using a newer
  16. distribution release than is supported by the repository (and the
  17. packages for the previous distribution release still work).
  18.  
  19. 3. Disable the repository, so yum won't use it by default. Yum will then
  20. just ignore the repository until you permanently enable it again or use
  21. --enablerepo for temporary usage:
  22.  
  23. yum-config-manager --disable rsyslog_v8
  24.  
  25. 4. Configure the failing repository to be skipped, if it is unavailable.
  26. Note that yum will try to contact the repo. when it runs most commands,
  27. so will have to try and fail each time (and thus. yum will be be much
  28. slower). If it is a very temporary problem though, this is often a nice
  29. compromise:
  30.  
  31. yum-config-manager --save --setopt=rsyslog_v8.skip_if_unavailable=true
  32.  
  33. failure: repodata/repomd.xml from rsyslog_v8: [Errno 256] No more mirrors to try.
  34. http://rpms.adiscon.com/v8-stable/epel-7Server/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: rpms.adiscon.com; Unknown error"
  35. [root@localhost yum.repos.d]# yum update
  36. Loaded plugins: langpacks, product-id, subscription-manager
  37. This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
  38. http://rpms.adiscon.com/v8-stable/epel-7Server/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: rpms.adiscon.com; Unknown error"
  39. Trying other mirror.
  40.  
  41.  
  42. One of the configured repositories failed (Adiscon CentOS-7Server - local packages for x86_64),
  43. and yum doesn't have enough cached data to continue. At this point the only
  44. safe thing yum can do is fail. There are a few ways to work "fix" this:
  45.  
  46. 1. Contact the upstream for the repository and get them to fix the problem.
  47.  
  48. 2. Reconfigure the baseurl/etc. for the repository, to point to a working
  49. upstream. This is most often useful if you are using a newer
  50. distribution release than is supported by the repository (and the
  51. packages for the previous distribution release still work).
  52.  
  53. 3. Disable the repository, so yum won't use it by default. Yum will then
  54. just ignore the repository until you permanently enable it again or use
  55. --enablerepo for temporary usage:
  56.  
  57. yum-config-manager --disable rsyslog_v8
  58.  
  59. 4. Configure the failing repository to be skipped, if it is unavailable.
  60. Note that yum will try to contact the repo. when it runs most commands,
  61. so will have to try and fail each time (and thus. yum will be be much
  62. slower). If it is a very temporary problem though, this is often a nice
  63. compromise:
  64.  
  65. yum-config-manager --save --setopt=rsyslog_v8.skip_if_unavailable=true
  66.  
  67. failure: repodata/repomd.xml from rsyslog_v8: [Errno 256] No more mirrors to try.
  68. http://rpms.adiscon.com/v8-stable/epel-7Server/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: rpms.adiscon.com; Unknown error"
  69. [root@localhost yum.repos.d]# vi rsyslog.repo
  70. [root@localhost yum.repos.d]# clear
  71. 
  72. [root@localhost yum.repos.d]# yum install rsyslog
  73. Loaded plugins: langpacks, product-id, subscription-manager
  74. This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
  75. http://rpms.adiscon.com/v8-stable/epel-7Server/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: rpms.adiscon.com; Unknown error"
  76. Trying other mirror.
  77.  
  78.  
  79. One of the configured repositories failed (Adiscon CentOS-7Server - local packages for x86_64),
  80. and yum doesn't have enough cached data to continue. At this point the only
  81. safe thing yum can do is fail. There are a few ways to work "fix" this:
  82.  
  83. 1. Contact the upstream for the repository and get them to fix the problem.
  84.  
  85. 2. Reconfigure the baseurl/etc. for the repository, to point to a working
  86. upstream. This is most often useful if you are using a newer
  87. distribution release than is supported by the repository (and the
  88. packages for the previous distribution release still work).
  89.  
  90. 3. Disable the repository, so yum won't use it by default. Yum will then
  91. just ignore the repository until you permanently enable it again or use
  92. --enablerepo for temporary usage:
  93.  
  94. yum-config-manager --disable rsyslog_v8
  95.  
  96. 4. Configure the failing repository to be skipped, if it is unavailable.
  97. Note that yum will try to contact the repo. when it runs most commands,
  98. so will have to try and fail each time (and thus. yum will be be much
  99. slower). If it is a very temporary problem though, this is often a nice
  100. compromise:
  101.  
  102. yum-config-manager --save --setopt=rsyslog_v8.skip_if_unavailable=true
  103.  
  104. failure: repodata/repomd.xml from rsyslog_v8: [Errno 256] No more mirrors to try.
  105. http://rpms.adiscon.com/v8-stable/epel-7Server/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: rpms.adiscon.com; Unknown error"
  106. [root@localhost yum.repos.d]#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement