Installing from apt-get fails often, apt-get update gives error, etc What should ido?
UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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,
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.