Ubuntu and Linux in general does not have the best track record regarding upgrades unless using LTS versions. So the best solution might be to save your data externally and then doing a fresh install of 12.04.