1 Answer
- Newest
- Most votes
- Most comments
0
Hello.
Judging from the error contents, it appears that the name "amazonlinux.default.amazonaws.com" cannot be resolved.
It may be a good idea to review the VM's network settings, etc.
Relevant content
- asked 2 years ago
- asked 9 months ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 2 years ago
Thanks for the response. I actually have access to that url: http://amazonlinux.default.amazonaws.com/2/core/latest/x86_64/mirror.list, which returns a mirror.list with this url: https://cdn.amazonlinux.com/2/core/2.0/x86_64/073693aa0842a0f3e16526cb49af0137eeb4a56b5ff2be7040f1f066bf8b8069 which is the one I have no access to. (it returns 403) Take into account I'm running the VM, on-premise, not on AWS following the tutorial in the link I posted above. Is there a way I can have access to those repos from outside AWS?
I found a question with a similar situation to yours, but I can't seem to find a solution. https://stackoverflow.com/questions/58764259/amazon-linux-on-premise-yum-update-fails
I've tried searching, but there's not much information and I haven't been able to find a concrete solution.