Image Builder Golden AMI always requires updates

0

When building an AMI from Ubuntu 20.04, it does not matter how many times I run 'apt-get -y upgrade' in a component or Amazon's own linux-update (UpdateOS action), whenever I create an EC2 instance from this image and SSH into it there are always updates that need to be installed. I.e. the result of 'apt list --upgradable' always returns updates. I would expect 0 updates to be required directly after building a fresh AMI and launching an instance from it. What could I be doing wrong? Any advice much appreciated.

질문됨 2년 전218회 조회
1개 답변
0

The answer to this issue was related to 'The following packages have been kept back: ' which can be found in /var/log/cloud-init-output.log

답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠