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.

posta 2 anni fa218 visualizzazioni
1 Risposta
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

con risposta 2 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande