Re: howto avoid "apt-get update" going guru?

2016-07-05 Thread Jimmy Johnson

On 07/05/2016 12:55 AM, Harald Dunkel wrote:

Hi folks,

this morning I found "apt-get update" getting stuck due to an
unresponsive host:

# cat /etc/apt/sources.list
deb http://ftp.debian.org/debian sid main contrib non-free
deb-src http://ftp.debian.org/debian sid main contrib non-free

# apt-get update
Err:1 http://ftp.debian.org/debian sid InRelease
   Could not connect to klecker-ftp.debian.org:80 (130.89.148.12), connection 
timed out [IP: 2001:6b0:e:2018::173 80]
Reading package lists... Done
W: Failed to fetch http://ftp.debian.org/debian/dists/sid/InRelease  Could not 
connect to klecker-ftp.debian.org:80 (130.89.148.12), connection timed out [IP: 
2001:6b0:e:2018::173 80]
W: Some index files failed to download. They have been ignored, or old ones 
used instead.


I didn't mention klecker-ftp anywhere in my config files.
Its not on the round-robin list for ftp.debian.org either:

# host ftp.debian.org
ftp.debian.org has address 130.239.18.173
ftp.debian.org has address 130.239.18.165
ftp.debian.org has IPv6 address 2001:6b0:e:2018::165
ftp.debian.org has IPv6 address 2001:6b0:e:2018::173
ftp.debian.org mail is handled by 0 .


What would you suggest to avoid this kind of problem?


Every helpful comment is highly appreciated.
Regards
Harri


In testing/sid, it's a new apt. Try and using '#apt update' and no 
longer use apt-get.

--
Jimmy Johnson

Ubuntu 16.04 LTS - AMD64 - EXT4 at sda22
Registered Linux User #380263



Re: howto avoid "apt-get update" going guru?

2016-07-05 Thread Mark Fletcher
On Tue, 5 Jul 2016 at 17:02, Harald Dunkel  wrote:

> Hi folks,
>
> this morning I found "apt-get update" getting stuck due to an
> unresponsive host:
>
> # cat /etc/apt/sources.list
> deb http://ftp.debian.org/debian sid main contrib non-free
> deb-src http://ftp.debian.org/debian sid main contrib non-free
>
> # apt-get update
> Err:1 http://ftp.debian.org/debian sid InRelease
>   Could not connect to klecker-ftp.debian.org:80 (130.89.148.12),
> connection timed out [IP: 2001:6b0:e:2018::173 80]
> Reading package lists... Done
> W: Failed to fetch http://ftp.debian.org/debian/dists/sid/InRelease
> Could not connect to klecker-ftp.debian.org:80 (130.89.148.12),
> connection timed out [IP: 2001:6b0:e:2018::173 80]
> W: Some index files failed to download. They have been ignored, or old
> ones used instead.
>
>
> I didn't mention klecker-ftp anywhere in my config files.
> Its not on the round-robin list for ftp.debian.org either:
>
> # host ftp.debian.org
> ftp.debian.org has address 130.239.18.173
> ftp.debian.org has address 130.239.18.165
> ftp.debian.org has IPv6 address 2001:6b0:e:2018::165
> ftp.debian.org has IPv6 address 2001:6b0:e:2018::173
> ftp.debian.org mail is handled by 0 .
>
>
> What would you suggest to avoid this kind of problem?
>
>
> Every helpful comment is highly appreciated.
> Regards
> Harri
>
> I wonder if ftp.debian.org is redirecting you to a machine that isn't
available. If so, that should be temporary. You could try a country
specific mirror in the meantime.

Mark


howto avoid "apt-get update" going guru?

2016-07-05 Thread Harald Dunkel
Hi folks,

this morning I found "apt-get update" getting stuck due to an
unresponsive host:

# cat /etc/apt/sources.list
deb http://ftp.debian.org/debian sid main contrib non-free
deb-src http://ftp.debian.org/debian sid main contrib non-free

# apt-get update
Err:1 http://ftp.debian.org/debian sid InRelease
  Could not connect to klecker-ftp.debian.org:80 (130.89.148.12), connection 
timed out [IP: 2001:6b0:e:2018::173 80]
Reading package lists... Done
W: Failed to fetch http://ftp.debian.org/debian/dists/sid/InRelease  Could not 
connect to klecker-ftp.debian.org:80 (130.89.148.12), connection timed out [IP: 
2001:6b0:e:2018::173 80]
W: Some index files failed to download. They have been ignored, or old ones 
used instead.


I didn't mention klecker-ftp anywhere in my config files.
Its not on the round-robin list for ftp.debian.org either:

# host ftp.debian.org
ftp.debian.org has address 130.239.18.173
ftp.debian.org has address 130.239.18.165
ftp.debian.org has IPv6 address 2001:6b0:e:2018::165
ftp.debian.org has IPv6 address 2001:6b0:e:2018::173
ftp.debian.org mail is handled by 0 .


What would you suggest to avoid this kind of problem?


Every helpful comment is highly appreciated.
Regards
Harri