My ongoing experiences with Ubuntu, and later Mythbuntu, as a media center with MythTV. I'm also using the system for a virtual machine server, a mediawiki server and a general all around home infrastructure base.

Friday, August 14, 2009

apt-get failed to fetch errors...

I'm seeing the following errors running 'apt-get update'. Not sure why. /var/log/apt-cacher/error.log shows no errors.

% sudo apt-get update
...
Err http://us.archive.ubuntu.com jaunty/multiverse Translation-en_US
Error reading from server - read (104 Connection reset by peer)
...
Err http://us.archive.ubuntu.com jaunty-updates/universe Translation-en_US
Error reading from server - read (104 Connection reset by peer)
...
Hit http://us.archive.ubuntu.com jaunty-updates/multiverse Sources
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/jaunty/multiverse/i18n/Translation-en_US.bz2 Error reading from server - read (104 Connection reset by peer)

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/jaunty-updates/universe/i18n/Translation-en_US.bz2 Error reading from server - read (104 Connection reset by peer)

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

apt-get update missing GPG key

I was seeing the following error when running "Check" on the update-manager, or 'apt-get update':
GPG error: http://ppa.launchpad.net jaunty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 248DD1EEBC8EBFE8
Answer, kudos to Gentoo Blog:
% gpg --keyserver subkeys.pgp.net --recv 248DD1EEBC8EBFE8
gpg: requesting key BC8EBFE8 from hkp server subkeys.pgp.net
gpg: key BC8EBFE8: public key "Launchpad PPA for Network-manager" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
% gpg --export --armor 248DD1EEBC8EBFE8 | sudo apt-key add -
OK