LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices



Reply
 
Search this Thread
Old 06-06-2006, 12:43 PM   #1
perryub
Member
 
Registered: Apr 2004
Location: Ontario, Canada
Distribution: Ubuntu Hoary
Posts: 45

Rep: Reputation: 15
Trying to access repositories from behind proxy


Hi,

When using my laptop at work I can't access any of the repositories to upgrade/install software. The error message synaptic gives me is:

http://us.archive.ubuntu.com/ubuntu/...s/Release.gpg: Could not connect to us.archive.ubuntu.com:80 (85.133.25.7). - connect (111 Connection refused) [IP: 85.133.25.7 80]
http://us.archive.ubuntu.com/ubuntu/...y/Release.gpg: Could not connect to us.archive.ubuntu.com:80 (85.133.25.7). - connect (111 Connection refused) [IP: 85.133.25.7 80]
http://us.archive.ubuntu.com/ubuntu/...s/Release.gpg: Could not connect to us.archive.ubuntu.com:80 (85.133.25.7). - connect (111 Connection refused) [IP: 85.133.25.7 80]
http://security.ubuntu.com/ubuntu/di...y/Release.gpg: Could not connect to security.ubuntu.com:80 (82.211.81.138). - connect (111 Connection refused)
http://security.ubuntu.com/ubuntu/di...6/Packages.gz: Could not connect to security.ubuntu.com:80 (82.211.81.138). - connect (111 Connection refused)
http://security.ubuntu.com/ubuntu/di...6/Packages.gz: Could not connect to security.ubuntu.com:80 (82.211.81.138). - connect (111 Connection refused)
http://security.ubuntu.com/ubuntu/di...6/Packages.gz: Could not connect to security.ubuntu.com:80 (82.211.81.138). - connect (111 Connection refused)
http://us.archive.ubuntu.com/ubuntu/...6/Packages.gz: Could not connect to us.archive.ubuntu.com:80 (85.133.25.7). - connect (111 Connection refused) [IP: 85.133.25.7 80]
http://us.archive.ubuntu.com/ubuntu/...6/Packages.gz: Could not connect to us.archive.ubuntu.com:80 (85.133.25.7). - connect (111 Connection refused) [IP: 85.133.25.7 80]
http://us.archive.ubuntu.com/ubuntu/...6/Packages.gz: Could not connect to us.archive.ubuntu.com:80 (85.133.25.7). - connect (111 Connection refused) [IP: 85.133.25.7 80]
http://us.archive.ubuntu.com/ubuntu/...6/Packages.gz: Could not connect to us.archive.ubuntu.com:80 (85.133.25.7). - connect (111 Connection refused) [IP: 85.133.25.7 80]
http://us.archive.ubuntu.com/ubuntu/...6/Packages.gz: Could not connect to us.archive.ubuntu.com:80 (85.133.25.7). - connect (111 Connection refused) [IP: 85.133.25.7 80]
http://us.archive.ubuntu.com/ubuntu/...6/Packages.gz: Could not connect to us.archive.ubuntu.com:80 (85.133.25.7). - connect (111 Connection refused) [IP: 85.133.25.7 80]
http://us.archive.ubuntu.com/ubuntu/...6/Packages.gz: Could not connect to us.archive.ubuntu.com:80 (85.133.25.7). - connect (111 Connection refused) [IP: 85.133.25.7 80]
http://us.archive.ubuntu.com/ubuntu/...6/Packages.gz: Could not connect to us.archive.ubuntu.com:80 (85.133.25.7). - connect (111 Connection refused) [IP: 85.133.25.7 80]
http://us.archive.ubuntu.com/ubuntu/...6/Packages.gz: Could not connect to us.archive.ubuntu.com:80 (85.133.25.7). - connect (111 Connection refused) [IP: 85.133.25.7 80]
http://us.archive.ubuntu.com/ubuntu/...6/Packages.gz: Could not connect to us.archive.ubuntu.com:80 (85.133.25.7). - connect (111 Connection refused) [IP: 85.133.25.7 80]
http://us.archive.ubuntu.com/ubuntu/...6/Packages.gz: Could not connect to us.archive.ubuntu.com:80 (85.133.25.7). - connect (111 Connection refused) [IP: 85.133.25.7 80]

Any way to get around this? Also, I don't know if it is related, but when in KDE knewsticker will access RSS feeds just fine, but in Gnome, feeds don't work at all - not weather applets, liferea or anything else.

Thanks,

Perry
 
Old 06-06-2006, 12:49 PM   #2
perryub
Member
 
Registered: Apr 2004
Location: Ontario, Canada
Distribution: Ubuntu Hoary
Posts: 45

Original Poster
Rep: Reputation: 15
Not to bump or anything, but I just tried accessing RSS feeds & synaptic from KDE. It doesn't work there either. It used to.

Perry
 
Old 06-07-2006, 11:26 AM   #3
kakk
Member
 
Registered: Aug 2005
Location: Estonia
Distribution: Ubuntu, Mandriva
Posts: 30

Rep: Reputation: 15
well, for the apt repositories, open the file /etc/apt/apt.conf and add the lines

Acquire
{
http
{
Proxy "http://yourproxyserverortnumber";
};
};

more details man apt.conf and examples in the file /usr/share/doc/apt/examples/configure-index.gz most probably
 
Old 06-07-2006, 03:43 PM   #4
perryub
Member
 
Registered: Apr 2004
Location: Ontario, Canada
Distribution: Ubuntu Hoary
Posts: 45

Original Poster
Rep: Reputation: 15
Proxy server was configured in synaptic. Settings are correct, some repositories seem to work, however depending on synaptic's mood, i get:


http://us.archive.ubuntu.com/ubuntu/...6/Packages.gz: Sub-process bzip2 returned an error code (2)

followed by:

W: Couldn't stat source package list http://us.archive.ubuntu.com breezy/universe Packages (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_breezy_universe_binary-i386_Packages) - stat (2 No such file or directory)

Thanks

Perry
 
Old 06-09-2006, 03:39 PM   #5
perryub
Member
 
Registered: Apr 2004
Location: Ontario, Canada
Distribution: Ubuntu Hoary
Posts: 45

Original Poster
Rep: Reputation: 15
Interesting....

changing everything from "breezy" to "dapper" in sources.list solves the problem...and upgrades the system as well...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't access Breezy repositories Virp00 Ubuntu 11 06-16-2014 09:40 AM
Adding repositories behind a proxy guitarboy1016 Ubuntu 5 12-01-2005 04:13 AM
access internet without proxy linetnew Linux - Networking 5 10-05-2005 10:40 PM
Access Proxy from DHCP ....... dillip Linux - Newbie 1 05-27-2005 03:44 PM
M$ Proxy with access permissions StuartGrant Linux - Newbie 4 05-31-2001 10:48 AM


All times are GMT -5. The time now is 04:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration