풍경 동기화 미러 포켓

풍경 동기화 미러 포켓

그래서 Landscape를 시도해 보지만 도중에 여러 가지 문제가 있습니다. 제가 가장 시도하고 싶은 것은 내 Landscape 서버에 로컬 또는 메인 저장소를 만드는 것입니다. 따라서 모든 클라이언트가 검색하고 설치할 때 패키지는 인터넷이 아닌 랜드스케이프 서버를 통해 가져옵니다.

배포판을 만들었습니다.

# landscape-api create-distribution lala-ubuntu

또한 문서에 따라 실제 패키지를 보관할 시리즈와 포켓을 만들었습니다.

# landscape-api create-series --pockets release,updates --components main,extras,restricted --architectures i386,amd64,x86_64 --gpg-key secret-key --mirror-uri http://us.archive.ubuntu.com/ubuntu/ --mirror-series xenial xenial lala-ubuntu

그러나 동기화 미러 프로세스를 시작하면 문제가 발생합니다.

# landscape-api sync-mirror-pocket release xenial apl-ubuntu
# landscape-api sync-mirror-pocket updates xenial apl-ubuntu

나는 다음과 같은 것을 얻습니다 :

{u'activity_status': u'undelivered',  u'children': [{u'activity_status': u'undelivered',
                u'children': [],
                u'completion_time': None,
                u'creation_time': u'2016-12-28T13:52:00Z',
                u'id': 151,
                u'parent_id': 150,
                u'pocket_id': 9,
                u'pocket_name': u'release',
                u'progress': 0,
                u'result_code': None,
                u'result_text': None,
                u'schedule_after_time': None,
                u'schedule_before_time': None,

ID를 쿼리하면 다음과 같은 결과를 얻습니다.

u'result_text': u"Could not find 'main/binary-x86_64/Packages' within './lists/update-xenial_xenial_InRelease'\r\nThere have been errors!\r\n",   u'schedule_after_time': None,   u'schedule_before_time': None,   u'summary': u"Sync pocket 'release' of series 'xenial' in distribution 'apl-ubuntu'",

이에 대한 경험이 있거나 랜드스케이프 클라이언트를 위한 로컬 저장소를 성공적으로 생성한 사람이 있습니까? 어떤 도움이라도 매우 감사하겠습니다

내가 언급하고 있는 문서:https://landscape.canonical.com/static/doc/user-guide/ch09.html"저장소 관리"

답변1

x86_64 아키텍처를 지정하는 것 같지만 유효한 아키텍처 이름이 아닙니다. 대신 이렇게 하세요:

# landscape-api create-series --pockets release,updates --components main,extras,restricted --architectures i386,amd64 --gpg-key secret-key --mirror-uri http://us.archive.ubuntu.com/ubuntu/ --mirror-series xenial xenial lala-ubuntu

이것이 더 잘 작동할 것입니다. 또한 보안 업데이트(--포켓 릴리스, 보안, 업데이트)에 관심이 있는 경우 보안 포켓 추가를 고려하세요.

관련 정보