Fixing weird apt-get errors in ubuntu
Sun, 2010-05-09 10:10 | Franco
This bit of code seems to solve the problem when it occurs:
sudo su
apt-get clean
cd /var/lib/apt
mv lists lists.old
mkdir -p lists/partial
apt-get clean
apt-get updateor
sudo aptitude -o Acquire::http::No-Cache=True -o Acquire::BrokenProxy=true updateor this sub your last 8 digits of the key fort the key part below
gpg --keyserver keyserver.ubuntu.com --recv-keys 437D05B5 && gpg --export --armor 437D05B5 | sudo apt-key add -
sudo apt-get updatePopular content