apt-get update fails on GPG error for new precise server installation
I recently created a new Precise server. When I apt-get update, I encounter the following error after reading package lists:
W: GPG error: http://
I tried the following to no avail:
sudo apt-get clean
cd /var/lib/apt
sudo mv lists lists.old
sudo mkdir -p lists/partial
sudo apt-get clean
sudo apt-get update
I also tried the following to no avail:
apt-key adv --recv-keys --keyserver keyserver.
I encountered the same problem with another server installation (these are set up as VirtualBox guests) where I updated from Oneiric to Precise. I eventually abandoned that effort with the thought that setting up a totally new server surely wouldn't encounter such problems.
I apt-get update, get the GPG error, try one of the above solutions, update again and get the error again. Then I go to Google and look for other ideas. Nothing fixes the problem. What else should I be trying?
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Randy McLaughlin
- Solved:
- Last query:
- Last reply: