Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have Ubuntu 12.04 LTS installed in Amazon EC2 machine. Sometimes when I SSH into the machine I see a notice asking me to update some packages. Please see the screenshot image below

enter image description here

My Question

  1. How does updates notices appear on Amazon EC2?
  2. If these updates are new how are they shipped from Canonical to Amazon Server?
share|improve this question

1 Answer 1

up vote 2 down vote accepted

How does updates notices appear on Amazon EC2?

Your EC2 instance is just a machine like any others in this respect. Your package management updates the package lists from the repositories regularly by default on Ubuntu. When you log in to the system a script queries the package management for the amount of updates in the regular and security channels and displays it.

If these updates are new how are they shipped from Canonical to Amazon Server?

Canonical publishes the packages in the main repositories and also sets up mirrors to which your machine connects to in the default install. See the file /etc/apt/sources.list and files in /etc/apt/sources.list.d/ (if any).

Around the globe, many mirrors exist and Amazon is just one of them.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.