[
https://issues.apache.org/jira/browse/AMBARI-10677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14508465#comment-14508465
]
Sumit Mohanty commented on AMBARI-10677:
----------------------------------------
Some more details on the error:
Even if HDP.list or HDP-UTILS.list is explicitly specified apt-get tries to
update/verify other list files.
{code}
apt-get update -qq -o Dir::Etc::sourcelist=sources.list.d/HDP.list -o
APT::Get::List-Cleanup=0
W: Failed to fetch .../Release.gpg Could not resolve
'apt-mo.trafficmanagerrrr.net'
{code}
{{apt-mo.trafficmanagerrrr.net}} is an intentionally malformed url in a
different .list file.
> apt-get update command updates all list files even if it is expected to
> update only one
> ---------------------------------------------------------------------------------------
>
> Key: AMBARI-10677
> URL: https://issues.apache.org/jira/browse/AMBARI-10677
> Project: Ambari
> Issue Type: Bug
> Components: ambari-agent, stacks
> Affects Versions: 2.0.0
> Reporter: Sumit Mohanty
> Assignee: Sumit Mohanty
> Fix For: 2.1.0
>
> Attachments: AMBARI-10677.patch
>
>
> The command
> {code}
> apt-get update -qq -o Dir::Etc::sourcelist=sources.list.d/HDP.list -o
> APT::Get::List-Cleanup=0
> {code}
> updates/checks all list files even if it is expected to update only HDP.list.
> It is missing {{\-o Dir::Etc::sourceparts=\-}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)