Are you a spammer

Please note, that the first 3 posts you make, will need to be approved by a forum Administrator or Moderator before they are publicly viewable.
Each application to join this forum is checked at the Stop Forum Spam website. If the email or IP address appears there when checked, you will not be allowed to join this forum.
If you get past this check and post spam on this forum, your posts will be immediately deleted and your account inactivated.You will then be banned and your IP will be submitted to your ISP, notifying them of your spamming. So your spam links will only be seen for an hour or two at most. In other words, don't waste your time and ours.

This forum is for the use and enjoyment of the members and visitors looking to learn about and share information regarding the topics listed. It is not a free-for-all advertising venue. Your time would be better spent pursuing legitimate avenues of promoting your websites.

Need help with apt-cacher errors please(SOLVED)

Help & support for Ultimate Edition 2.2


Need help with apt-cacher errors please(SOLVED)

Postby pompeyrodney » Mon Aug 10, 2009 8:24 am

I have an apt-cacher server that feeds updates to four other client machines on my local network. It all works fine but each time I run update manager I receive the following two errors:
Code: Select all
Failed to fetch http://192.168.1.101:3142/gb/archive.ubuntu.com/ubuntu/dists/jaunty-updates/restricted/i18n/translations-en_Gb.bz2 Error reading from server (104 connection reset by peer)
Failed to fetch http://192.168.1.101:3142/security.ubuntu.com/ubuntu/dists/jaunty-security/release.gpg Error reading from server (104 connection reset by peer)

I should point out that the server is running Ultimate Edition 2.2, two clients are on jaunty 9.04 and two on Ultimate Edition 2.2. The errors are shown on the client machines. It would be much appreciated if someone could help me get to the bottom of this, thanks.
AMD Phenom X2 555 @ 3.5 GTX 460 Ultimate Edition 3.0 Gamers.
pompeyrodney
U.E. Graduate
U.E. Graduate
 
Posts: 58
Joined: Sun Jul 05, 2009 3:06 pm
Operating System: Ultimate Edition 3.2 64 BIT



Re: Need help with apt-cacher errors please

Postby Admin-Amir » Mon Aug 10, 2009 9:49 am

Hello pompeyrodney .

that is the FIX for your problem there with the keys for the update.
go to the home directory of the 2 systems with the problem.
make new doc that will cold errors.txt
past the errors that you have into the errors.txt like that:

Image

then run that command in the terminal to fix the keys issue just copy and past in terminal:


Code: Select all
for i in `cat errors.txt | grep PUBKEY | awk -F "PUBKEY" '{print $2}'` ; do gpg --keyserver keyserver.ubuntu.com --recv-keys $i ; gpg --export --armor $i | sudo apt-key add - ; done


hope it will solve your problem.
Admin-Amir
 



Re: Need help with apt-cacher errors please

Postby pompeyrodney » Mon Aug 10, 2009 10:12 am

Hi Amir
Thanks once again for your help. I created the errors.txt file in my home directory and then ran your command in a terminal. I am presumably getting something wrong as i am still getting this:
Code: Select all
W: Failed to fetch http://192.168.1.101:3142/gb.archive.ubuntu.com/ubuntu/dists/jaunty-updates/restricted/i18n/Translation-en_GB.bz2  Error reading from server - read (104 Connection reset by peer)

W: Failed to fetch http://192.168.1.101:3142/security.ubuntu.com/ubuntu/dists/jaunty-security/Release.gpg  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.


The terminal does not give me any feedback when I run your command and goes straight back to a julian@jaunty2:~$ prompt. The above code is all I put in the errors.txt file.
AMD Phenom X2 555 @ 3.5 GTX 460 Ultimate Edition 3.0 Gamers.
pompeyrodney
U.E. Graduate
U.E. Graduate
 
Posts: 58
Joined: Sun Jul 05, 2009 3:06 pm
Operating System: Ultimate Edition 3.2 64 BIT



Re: Need help with apt-cacher errors please

Postby Admin-Amir » Mon Aug 10, 2009 11:58 am

Hi pompeyrodney .

it looks like the repo is not FIX there.

see if you have the repo of ubuntu fix right with AutoKey PPA:
Code: Select all
sudo gedit /etc/apt/sources.list


Code: Select all
deb http://ppa.launchpad.net/cdekter/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/cdekter/ppa/ubuntu jaunty main


Code: Select all
sudo gedit /etc/apt/sources.list


Code: Select all
deb http://gb.archive.ubuntu.com/ubuntu/ jaunty main universe multiverse restricted
deb http://security.ubuntu.com/ubuntu/ jaunty-security universe main multiverse restricted
deb http://gb.archive.ubuntu.com/ubuntu/ jaunty-updates universe main multiverse restricted
deb http://gb.archive.ubuntu.com/ubuntu/ jaunty-backports universe main multiverse restricted
Admin-Amir
 



Re: Need help with apt-cacher errors please

Postby pompeyrodney » Tue Aug 11, 2009 6:30 am

Hi Amir
I have added those lines to my sources.list file and ran an apt-get update. This is what I now get :

Code: Select all
GPG error: http://ppa.launchpad.net jaunty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BCD80C6A6E3C0CE5


Presumably I just need the correct command to add this key now?
AMD Phenom X2 555 @ 3.5 GTX 460 Ultimate Edition 3.0 Gamers.
pompeyrodney
U.E. Graduate
U.E. Graduate
 
Posts: 58
Joined: Sun Jul 05, 2009 3:06 pm
Operating System: Ultimate Edition 3.2 64 BIT



Re: Need help with apt-cacher errors please

Postby Admin-Amir » Tue Aug 11, 2009 6:42 am

Hi pompeyrodney.

O.K so now just make the errors.txt in your home directory,
as I have explain to you on this post.
and open terminal and copy=>past the script,that will fix the issue for you with the key:

Code: Select all
for i in `cat errors.txt | grep PUBKEY | awk -F "PUBKEY" '{print $2}'` ; do gpg --keyserver keyserver.ubuntu.com --recv-keys $i ; gpg --export --armor $i | sudo apt-key add - ; done


good luck.
Admin-Amir
 



Re: Need help with apt-cacher errors please

Postby pompeyrodney » Tue Aug 11, 2009 8:03 am

Thanks Amir that has fixed the error now, many thanks.
AMD Phenom X2 555 @ 3.5 GTX 460 Ultimate Edition 3.0 Gamers.
pompeyrodney
U.E. Graduate
U.E. Graduate
 
Posts: 58
Joined: Sun Jul 05, 2009 3:06 pm
Operating System: Ultimate Edition 3.2 64 BIT



Re: Need help with apt-cacher errors please(SOLVED)

Postby Admin-Amir » Tue Aug 11, 2009 8:54 am

Hi pompeyrodney.

I'm happy that all FIX for you good work bro ;)
Admin-Amir
 


Return to Ultimate Edition 2.2

Who is online

Users browsing this forum: No registered users and 1 guest