Server Updates – How Do Software Updates Work?

aptserverupdates

I would like to know how software updates work for my Ubuntu Server 10.10.

I have been recommended to use apt-get install for installing new software and apt-get update for updating software for a Ubuntu Server in production use. Because these packages are tested for Ubuntu in contrast to download source code and compile the software on the box.

But on my Ubuntu Server 10.10, I don't get the latest stable version of PostgreSQL (9) or the latest stable version of Nginx (8) using apt-get install. So how is this working, will these software be updated when I later run apt-get update or do I have to later run apt-get install again, or do I have to wait for the next release of Ubuntu to get them?

And are patches and security updates managed in the same way? Or can they be updated automatically? If there is such a setting, how do I check what my system is using?

Best Answer

Ubuntu has a policy where (usually) only small security fixes to programs will be updated in the Ubuntu repositories (that you access through apt-get).

This is to ensure maximum stability in production enivronments - this is particularly important on servers. This means you won't see version updates to software such as PostgreSQL and Nginx until Ubuntu Server 11.04 is released.

You can find out information on the Ubuntu wiki about Stable Releases Updates.