Your machine sounds very old and quite possibly it will have a hard time running 12.04.

That said changing the sources.list is quite simple.
Here's a command I've used several times and works...