@brconejeros
You didn't provide any detail about which repository you were attempting to download from or the hostname you were using.
If you're attempting to download the binaries for Ambari from Cloudera's repositories you should closely read this announcement: Transition to private repositories for CDH, HDP and HDF
One alternative would be to download and/or install Ambari 2.7.0.x from Apache's site.
Bill Brooks, Community Moderator
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.