Guest User

Untitled

a guest
Dec 12th, 2017
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.50 KB | None | 0 0
  1. Could not retrieve mirrorlist http://repo.us-east-2.amazonaws.com/latest/main/mirror.list error was
  2. 12: Timeout on http://repo.us-east-2.amazonaws.com/latest/main/mirror.list: (28, 'Connection timed out after 5001 milliseconds')
  3.  
  4.  
  5. One of the configured repositories failed (Unknown),
  6. and yum doesn't have enough cached data to continue. At this point the only
  7. safe thing yum can do is fail. There are a few ways to work "fix" this:
  8.  
  9. 1. Contact the upstream for the repository and get them to fix the problem.
  10.  
  11. 2. Reconfigure the baseurl/etc. for the repository, to point to a working
  12. upstream. This is most often useful if you are using a newer
  13. distribution release than is supported by the repository (and the
  14. packages for the previous distribution release still work).
  15.  
  16. 3. Disable the repository, so yum won't use it by default. Yum will then
  17. just ignore the repository until you permanently enable it again or use
  18. --enablerepo for temporary usage:
  19.  
  20. yum-config-manager --disable <repoid>
  21.  
  22. 4. Configure the failing repository to be skipped, if it is unavailable.
  23. Note that yum will try to contact the repo. when it runs most commands,
  24. so will have to try and fail each time (and thus. yum will be be much
  25. slower). If it is a very temporary problem though, this is often a nice
  26. compromise:
  27.  
  28. yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true
  29.  
  30. Cannot find a valid baseurl for repo: amzn-main/latest
Add Comment
Please, Sign In to add comment