I had an older version of Ubuntu installed. To upgrade I replaced /etc/sources.list with one from another machine running 10.04.
I then ran:
sudo apt-get update
sudo apt-get upgrade
The upgrade was successful and I am now running 10.04. I was also able to install packages. However today when installing any packages I am getting the following error:
E: Internal Error, Could not perform immediate configuration (2) on util-linux
Any ideas what could be wrong?

update-releasewasn't doing job. upgrade is no longer supported with jaunty some message was there something like this. you want me to rundist-upgradenow ? – Jigar Joshi May 30 '11 at 12:13