cd landscape-server
source ./dev/setup-api
landscape-api create-repository-profile repo_prof
landscape-api associate-repository-profile repo_prof --all-computers
approve the activity in the UI
Check the logs
2017-04-10 21:24:50,962 ERROR [MainThread] ('Error occured running message handler %s with args %r %r.', 'landscape.manager.aptsources.AptSources._handle_repositories.<locals>.<lambda>()', (), {})
Additionally there will be an empty /etc/apt/sources.list.d/landscape-repo_prof.list instead of one with a comment and/or sources.
Steps: landscape- client -c root-client.conf > /tmp/client.log
sudo ./scripts/
cd landscape-server repository- profile repo_prof repository- profile repo_prof --all-computers
source ./dev/setup-api
landscape-api create-
landscape-api associate-
approve the activity in the UI
Check the logs manager. aptsources. AptSources. _handle_ repositories. <locals> .<lambda> ()', (), {})
2017-04-10 21:24:50,962 ERROR [MainThread] ('Error occured running message handler %s with args %r %r.', 'landscape.
Additionally there will be an empty /etc/apt/ sources. list.d/ landscape- repo_prof. list instead of one with a comment and/or sources.