The latest version of apache web server is 2.2.19 but when i try to install apache with
apt-get install apache2
it installs 2.2.12 which is several years old. Why is this+
The package installed by a specific version of Ubuntu is one that was stable at the time of the release of that version of the OS. Security fixes are then backported, but other changes are left out to maintain compatibility.
You're running Ubuntu 9.10, which used Apache 2.2.12. 9.10 is no longer supported; consider an upgrade.