update fails due to bad signature
Attempting to use update manager to update this version of Ubuntu 10.04 LTS
- the Lucid Lynx . Message say signature are bad from Ubuntu repostories. Have this version of Ubuntu on 2 other PC (all 3 dual boot to Windows XP Pro or Ubuntu).
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- marcobra (Marco Braida)
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Thank you for taking the time to report this issue and helping to make Ubuntu better. Examining the information you have given us, this does not appear to be a bug report so we are closing it and converting it to a question in the support tracker. We appreciate the difficulties you are facing, but it would make more sense to raise problems you are having in the support tracker at https:/
Revision history for this message
|
#2 |
Please paste the full error message you are getting.
Revision history for this message
|
#3 |
Please open a terminal and type:
sudo apt-get update
give your user password when requested, you don't see nothing when you type it, then press enter.
Copy from terminal and paste errors rows here
Revision history for this message
|
#4 |
First screen shot is from update manager. Second on ran the next time I logged into Ubuntu. Regarding the 3 Pentium computer I have, only the one which normally boots to Windows XP has the update problem. The other 2 are getting and installing the updates.
--- On Thu, 8/5/10, Leo Arias <email address hidden> wrote:
From: Leo Arias <email address hidden>
Subject: Re: [Question #120099]: update fails due to bad signature
To: <email address hidden>
Date: Thursday, August 5, 2010, 1:06 PM
Your question #120099 on Ubuntu changed:
https:/
Status: Open => Needs information
Leo Arias requested for more information:
Please paste the full error message you are getting.
--
To answer this request for more information, you can either reply to
this email or enter your reply at the following page:
https:/
You received this question notification because you are a direct
subscriber of the question.
Revision history for this message
|
#5 |
Command response:
joharris@ubuntu:~$ sudo apt-get update
[sudo] password for joharris:
Get:1 http://
Ign http://
Hit http://
Ign http://
Get:2 http://
Ign http://
Get:3 http://
Ign http://
Err http://
Hit http://
Ign http://
Hit http://
Ign http://
Ign http://
Get:4 http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Fetched 380B in 1s (237B/s)
Reading package lists... Done
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used.GPG error: http://
W: GPG error: http://
W: Failed to fetch http://
W: Some index files failed to download, they have been ignored, or old ones used instead.
joharris@ubuntu:~$
--- On Fri, 8/6/10, marcobra (Marco Braida) <email address hidden> wrote:
From: marcobra (Marco Braida) <email address hidden>
Subject: Re: [Question #120099]: update fails due to bad signature
To: <email address hidden>
Date: Friday, August 6, 2010, 7:15 PM
Your question #120099 on update-manager in ubuntu changed:
https:/
marcobra (Marco Braida) requested for more information:
Please open a terminal and type:
sudo apt-get update
give your user password when requested, you don't see nothing when you
type it, then press enter.
Copy from terminal and paste errors rows here
--
To answer this request for more information, you can either reply to
this email or enter your reply at the following page:
https:/
You received this question notification because you are a direct
subscriber of the question.
Revision history for this message
|
#6 |
How to add gpg repository keys
To add your keys, please try this:
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.
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
|
#7 |
Ultimately this did not work:
joharris@ubuntu:~$ sudo apt-key adv --recv-keys --keyserver keyserver.
Executing: gpg --ignore-
gpg: requesting key 437D05B5 from hkp server keyserver.
gpg: key 437D05B5: "Ubuntu Archive Automatic Signing Key <email address hidden>" 17 new signatures
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg: new signatures: 17
joharris@ubuntu:~$ sudo apd-get update
sudo: apd-get: command not found
joharris@ubuntu:~$ sudo apt-get update
Get:1 http://
Ign http://
Get:2 http://
Ign http://
Hit http://
Ign http://
Get:3 http://
Err http://
Ign http://
Hit http://
Ign http://
Ign http://
Get:4 http://
Ign http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Fetched 380B in 1s (284B/s)
Reading package lists... Done
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used.GPG error: http://
W: GPG error: http://
W: Failed to fetch http://
W: Some index files failed to download, they have been ignored, or old ones used instead.
joharris@ubuntu:~$
--- On Sat, 8/7/10, marcobra (Marco Braida) <email address hidden> wrote:
From: marcobra (Marco Braida) <email address hidden>
Subject: Re: [Question #120099]: update fails due to bad signature
To: <email address hidden>
Date: Saturday, August 7, 2010, 1:18 PM
Your question #120099 on update-manager in ubuntu changed:
https:/
Status: Open => Answered
marcobra (Marco Braida) proposed the following answer:
How to add gpg repository keys
To add your keys, please try this:
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.
40976EAF437D05B5
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.
--
If this answers your question, please go to the following page to let us
know that it is solved:
https:/
If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https:/
You received this question notification because you are a direct
subscriber of the question.
Revision history for this message
|
#8 |
first: please don't reply via mail but visit your question link
https:/
with a browser
Then please try to select a different server from menu System→
Revision history for this message
|
#9 |
Tried System|
Revision history for this message
|
#10 |
Open a Terminal from the menu Applications-
Tip: right click with mouse on the terminal title caption and select the item "Always on Top" doing this you will force the terminal window to stay on top of the other windows and you will find very easy to copy single row from this web page into the terminal...
Something more about using the terminal https:/
Then type or better copy and paste a row a time then press enter:
(Tip: select the single row to copy then right click into the terminal and to quick paste click with middle button of mouse )
sudo cp -arf /var/lib/dpkg /var/lib/
sudo cp /var/lib/
sudo cp /var/lib/
sudo rm -rf /var/lib/
sudo rm -rf /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists
sudo mkdir /var/lib/
sudo aptitude clean
sudo aptitude autoclean
sudo apt-get update
sudo dpkg --clear-avail
sudo dpkg --configure -a
sudo aptitude install -f
sudo aptitude update
sudo aptitude dist-upgrade
give your user password when requested, you don't see nothing when you type it, then press enter.
Hope this helps
Revision history for this message
|
#11 |
Thanks for the help. I think you have solved the problem. Below is the terminal window response to the commands shown above. After all this ran, I ran Update Manager and got firefox updates to install.
Thanks again for your persistence!
joharris@ubuntu:~$ sudo cp -arf /var/lib/dpkg /var/lib/
[sudo] password for joharris:
joharris@ubuntu:~$ sudo cp /var/lib/
joharris@ubuntu:~$ sudo cp /var/lib/
joharris@ubuntu:~$ sudo rm -rf /var/lib/
joharris@ubuntu:~$ sudo rm -rf /var/lib/apt/lists
joharris@ubuntu:~$ sudo mkdir /var/lib/apt/lists
joharris@ubuntu:~$ sudo mkdir /var/lib/
joharris@ubuntu:~$ sudo aptitude clean
Reading package lists... Done
Building dependency tree
Reading state information... Done
Initializing package states... Done
Writing extended state information... Done
joharris@ubuntu:~$ sudo aptitude autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Freed 0B of disk space
joharris@ubuntu:~$ sudo apt-get update
Get:1 http://
Ign http://
Get:2 http://
Ign http://
Get:3 http://
Ign http://
Get:4 http://
Ign http://
Ign http://
Get:5 http://
Ign http://
Ign http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
Get:14 http://
Get:15 http://
Get:16 http://
Get:17 http://
Get:18 http://
Get:19 http://
Get:20 http://
Get:21 http://
Fetched 11.4MB in 1min 25s (133kB/s)
Reading package lists... Done
joharris@ubuntu:~$ sudo dpkg --clear-avail
joharris@ubuntu:~$ sudo dpkg --configure -a
joharris@ubuntu:~$ sudo aptitude install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following packages will be REMOVED:
linux-
0 packages upgraded, 0 newly installed, 2 to remove and 42 not upgraded.
Need to get 0B of archives. After unpacking 85.2MB will be freed.
Do you want to continue? [Y/n/?] y
Size changes will be shown.
The following packages will be REMOVED:
linux-
0 packages upgraded, 0 newly installed, 2 to remove and 42 not upgraded.
Need to get 0B of archives. After unpacking 85.2MB will be freed.
Do you want to continue? [Y/n/?] y
(Reading database ...
dpkg: warning: files list file for package `ttf-breip' missing, assuming package has no files currently installed.
(Reading database ... 187272 files and directories currently installed.)
Removing linux-headers-
Removing linux-headers-
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
joharris@ubuntu:~$
Revision history for this message
|
#12 |
daniel@
[sudo] password for daniel:
Ign cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111012) oneiric InRelease
Ign cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111012) oneiric/main TranslationIndex
Ign cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111012) oneiric/restricted TranslationIndex
Ign cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111012) oneiric/main Translation-en_US
Ign cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111012) oneiric/main Translation-en
Ign cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111012) oneiric/restricted Translation-en_US
Ign cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111012) oneiric/restricted Translation-en
Ign http://
Ign http://
Ign http://
Hit http://
Get:1 http://
Hit http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Get:2 http://
Hit http://
Get:3 http://
Ign http://
Ign http://
Hit http://
Get:4 http://
Hit http://
Hit http://
Get:5 http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Err http://
Hit http://
Hit http://
Ign http://
Hit http://
Hit http://
Hit http://
Get:6 http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Hit http://
Ign http://
Get:7 http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Hit http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Ign http://
Get:8 http://
Hit http://
Ign http://
Hit http://
Ign http://
Ign http://
Ign http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Fetched 5,339 B in 6s (781 B/s)
Reading package lists... Done
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://
W: GPG error: http://
W: Failed to fetch http://
W: Some index files failed to download. They have been ignored, or old ones used instead.
Revision history for this message
|
#13 |