LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (http://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Installing from apt-get fails often, apt-get update gives error, etc What should ido? (http://www.linuxquestions.org/questions/ubuntu-63/installing-from-apt-get-fails-often-apt-get-update-gives-error-etc-what-should-ido-794575/)

mitchell7man 03-10-2010 10:10 PM

Installing from apt-get fails often, apt-get update gives error, etc What should ido?
 
apt-get update gives this error after fetching and "reading package lists..."


Code:

W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used.GPG error: http://security.ubuntu.com karmic-security Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>

W: GPG error: http://us.archive.ubuntu.com karmic Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
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 karmic-updates Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/karmic-security/Release 

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/karmic-updates/Release 

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

On install of MythTv from apt-get it downloads serveral things then after a while
Code:

Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/g/gnome-keyring/gnome-keyring_2.28.1-0ubuntu1_i386.deb  Hash Sum mismatch
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/g/gksu/gksu_2.0.2-2ubuntu1_i386.deb  Hash Sum mismatch
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/t/ttf-liberation/ttf-liberation_1.05.1.20090721-0ubuntu1_all.deb  Hash Sum mismatch
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/libx/libxmu/libxmu6_1.0.4-2_i386.deb  Hash Sum mismatch
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/universe/w/wmctrl/wmctrl_1.07-6_i386.deb  Hash Sum mismatch
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/multiverse/m/mythtv/mythtv-frontend_0.22.0+fixes22594-0ubuntu1_i386.deb  Hash Sum mismatch
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/universe/a/a52dec/liba52-0.7.4_0.7.4-11ubuntu1_i386.deb  Hash Sum mismatch
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/f/ffmpeg/libavutil49_0.5+svn20090706-2ubuntu2_i386.deb  Hash Sum mismatch
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/libg/libgsm/libgsm1_1.0.13-1_i386.deb  Hash Sum mismatch
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/libo/liboil/liboil0.3_0.3.16-1ubuntu1_i386.deb  Hash Sum mismatch
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/s/schroedinger/libschroedinger-1.0-0_1.0.8-2_i386.deb  Hash Sum mismatch
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/s/speex/libspeex1_1.2~rc1-1_i386.deb  Hash Sum mismatch
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/s/samba/libsmbclient_3.4.0-3ubuntu5.1_i386.deb  404  Not Found [IP: 91.189.88.45 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/g/gtk+2.0/libgail18_2.18.3-1ubuntu2_i386.deb  404  Not Found [IP: 91.189.88.45 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/g/gtk+2.0/libgail-common_2.18.3-1ubuntu2_i386.deb  404  Not Found [IP: 91.189.88.45 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/g/gtk+2.0/libgtk2.0-bin_2.18.3-1ubuntu2_all.deb  404  Not Found [IP: 91.189.88.45 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

What's wrong with my repos, or what is wrong? How do I fix this? Thanks,

tommcd 03-11-2010 09:38 AM

First, try getting the updates a bit later. Or run:
Code:

sudo apt-get update
again, and then try to get the updates, and see if the GPG key problem goes away. See this bug report from Launchpad:
https://bugs.launchpad.net/ubuntu/+s...ger/+bug/24061
That bug report is a bit old though, so it may be no longer be valid. In any case, running
"sudo apt-get update" again will not hurt anything.
If that does not fix it, then see this in order to fix the GPG key BADSIG error:
http://www.ubuntugeek.com/how-to-fix...or-badsig.html
Hope this helps.

mitchell7man 03-12-2010 04:15 AM

interestingly enough I just pulled a fresh .list file to replace the one I was using, after an apt-get update everything worked great.

Thanks,
MJ

chr15t0 02-27-2012 03:55 AM

This is easily solved by replacing your apt sources list with just a single entry - as explained here: http://www.spiration.co.uk/post/1458...404-Not-Found-[IP:-91.189.88.45-80]

christo


All times are GMT -5. The time now is 05:48 PM.