Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm trying to update package's repository but APT gives me this error:

W: Errore GPG: http://it.archive.ubuntu.com precise Release: Le seguenti firme non erano valide: BADSIG XXXXXXXXXXXXXXXX Ubuntu Archive Automatic Signing Key
 <ftpmaster@ubuntu.com>

The Ubuntu Archive Automatic Signing Key is not valid. Can this problem make APT not to download important updates for my system? I'm using Ubuntu 12.04. Thank you!

share|improve this question
    
Trying to update package's repository to which repository? There may be a good reason for the error in that the repository you're trying to assign may contain malware. –  TeXnewbie Nov 1 '12 at 21:06
add comment

2 Answers 2

You can try to fix it using the following commands:

The easiest way:

sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com THE_KEY

Where "THE_KEY" is the repository key which you've masked with XXXXXXXXXXXX for some reason.

If that doesn't work, try this:

sudo apt-get install aptitude
sudo aptitude -o Acquire::http::No-Cache=True -o Acquire::BrokenProxy=true update
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

You can also use Y PPA Manager which has options to automatically import missing GPG keys and fix BADSIG errors.

share|improve this answer
add comment

In the absence of other details (see comment), I'm thinking that the answer to your question is that the problem you describe is unlikely to cause you to miss important updates.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.