Ubuntu started shipping Postgresql 8.4 with Karmic (10.04). Postgresql 8.3 is not available in the Karmic or later repositories.
If you need 8.3 for an application, you can easily install it by using the following steps:
At the command line:
echo "deb http://us.archive.ubuntu.com/ubuntu/ karmic main universe multiverse" >>/etc/apt/sources.list apt-get update apt-get install postgresql-8.3 sed -i '/karmic/s/^/#/g' /etc/apt/sources.list
What this does is as follows:
- Add a line to the /etc/apt/sources.list pointing to the karmic (9.10) repository. Important that it is the last line
- Update apt
- Install postgresql 8.3
- Finally, comment out that line which was added.
When this is done, Postgresql 8.3 is installed and running. It is possible to have both 8.3 and 8.4 running at the same time, the paths for each configuration files and database files are unique to each.