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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ