Errors while updating...

Asked by Fahdman

Hi everyone, thanks for reading this; I know there are several threads to answer this kind of question, I tried in vain.
So everytime I update my ubuntu 10.10, I get the following message:

===========================
An error occurred
The following details are provided:
===========================
W: GPG error: http://us.archive.ubuntu.com maverick-updates Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <email address hidden>
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://us.archive.ubuntu.com maverick-security Release: Unknown error executing gpgv

W: GPG error: http://ppa.launchpad.net maverick Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AA2BB78B7AE26941
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://ppa.launchpad.net maverick Release: The following signatures were invalid: NODATA 1 NODATA 2

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/maverick-security/Release.gpg rename failed, No such file or directory ( -> /var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_maverick-security_Release.gpg).

W: Failed to fetch http://ppa.launchpad.net/sevenmachines/flash/ubuntu/dists/maverick/Release

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/maverick-security/Release

W: Some index files failed to download, they have been ignored, or old ones used instead.

Thanks a lot for helping :)

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Solved by:
Fahdman
Solved:
Last query:
Last reply:
Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#1

Open a Terminal from the menu Applications → Accessories → Terminal and type or better copy and paste a row a time then press enter:
(if the system ask you a password give your user password, you will not see nothing when you type it, then press enter)

sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 40976EAF437D05B5
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com AA2BB78B7AE26941

Then type: (when the system ask you a password give your user password, you will not see nothing when you type it, then press enter)

sudo apt-get update
sudo apt-get dist-upgrade

to update your system.

Revision history for this message
Fahdman (fahdxray) said :
#2

Hey! thanks for your answer.

I think that it would have worked if I had a direct internet connexion, but it's not the case: i'm behind my school's proxy; so I get this:

fahd@lpaotp:~$ sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 40976EAF437D05B5
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --recv-keys --keyserver keyserver.ubuntu.com 40976EAF437D05B5
gpg: requesting key 437D05B5 from hkp server keyserver.ubuntu.com
?: keyserver.ubuntu.com: Connection timed out
gpgkeys: HTTP fetch error 7: couldn't connect: Connection timed out
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0

So, I tried to ping google.com from the terminal, it didn't work either:
fahd@lpaotp:~$ ping google.com
PING google.com (74.125.230.81) 56(84) bytes of data.
^C

then; i executed:
fahd@lpaotp:~$ apt-config dump
and the proxy used by apt is the right one:
Acquire "";
Acquire::http "";
Acquire::http::proxy "http://192.168.1.7:8080/";
Acquire::ftp "";
Acquire::ftp::proxy "ftp://192.168.1.7:8080/";
Acquire::https "";
Acquire::https::proxy "https://192.168.1.7:8080/";

the very same proxy used by firefox, who works flawlessly... so I thought my proxy blocks apt, but sudo apt-get update works...
so, I have no idea why i can't get the keys..

any help will be apreciated, thanks !

Revision history for this message
Fahdman (fahdxray) said :
#3

I finally executed the command outside my school, via a direct connexion and it worked perfectly

Thanks :)