LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-25-2004, 06:18 AM   #1
dunric
Member
 
Registered: Jul 2004
Distribution: Void Linux, former Slackware
Posts: 498

Rep: Reputation: 100Reputation: 100
Unhappy apt-get through proxy - weird problem


I've set correctly connection for apt through proxy server (http_proxy variable or proxy setting in /etc/apt/apt.conf).

When I run
Code:
apt-get update
for the first time, all indexes are downloaded without problems:

Code:
root@darkstar:~ # apt-get update
Get:1 http://security.ubuntu.com warty-security/main Packages [3648B]
Get:2 http://security.ubuntu.com warty-security/main Release [102B]
Get:3 http://security.ubuntu.com warty-security/restricted Packages [20B]
Get:4 http://security.ubuntu.com warty-security/restricted Release [108B]
...
When I run
Code:
apt-get update
for the second time (after 10min) without I touch any settings, it stops incomprehensible with following errors:

Code:
 root@darkstar:~ # apt-get update
Err http://security.ubuntu.com warty-security/main Packages
  Connection failed
Err http://security.ubuntu.com warty-security/main Release
  Connection failed
Err http://security.ubuntu.com warty-security/restricted Packages
  Connection failed
Err http://security.ubuntu.com warty-security/restricted Release
  Connection failed
It begin work again after a very long period of time (next day). In the meantime
Code:
apt-get install
and
Code:
apt-get upgrade
still work without problems. Very strange



Why repeated indexes update fails ? What am I doing wrong ? What could be the reason it fails ?

Thanks in advance
 
Old 10-26-2004, 12:48 AM   #2
haimeltjnfg
Member
 
Registered: May 2004
Distribution: debian
Posts: 235

Rep: Reputation: 30
can you try to see if the problem still happens outside the proxy server?

if it does,
the ubuntu server probably limits how many times a day you can retrieve the package files.
 
  


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
How to set up proxy in Apt-Get's apt.conf? rykel Fedora 9 10-09-2013 04:24 AM
Weird problem with apt-get and e2fsprogs Boyer MEPIS 1 09-17-2005 09:56 PM
Weird circular apt install problem rosslaird Debian 2 01-14-2005 01:12 PM
Weird apt issue ? frochet Debian 1 12-31-2004 09:39 AM
apt-proxy and cron-apt - download once for the whole LAN Abject Debian 1 06-20-2004 02:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:53 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration