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

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南