Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

apt downloading packages from ... some ... server ?

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
andy55
Posts: 84
Joined: 2012-08-20 12:59

apt downloading packages from ... some ... server ?

#1 Post by andy55 »

I have the following apt setup:

Code: Select all

$ cat /etc/apt/sources.list
deb [arch=amd64] http://ftp.fi.debian.org/debian/ testing main contrib non-free
deb [arch=amd64] http://ftp.fi.debian.org/debian/ testing-updates main contrib non-free
but when running apt update/upgrade it downloads some packages from another server:

Code: Select all

...
Get:4 http://ftp.fi.debian.org/debian testing/main amd64 libasan6 amd64 11.3.0-8 [2,050 kB]
Get:6 http://ftp.fi.debian.org/debian testing/main amd64 libgcc-11-dev amd64 11.3.0-8 [2,360 kB]
Get:5 http://chuangtzu.ftp.acc.umu.se/debian testing/main amd64 gcc-11 amd64 11.3.0-8 [18.2 MB]
Get:7 http://ftp.fi.debian.org/debian testing/main amd64 libtsan0 amd64 11.3.0-8 [2,018 kB]
...
Why the
chuangtzu.ftp.acc.umu.se
is being used ?

User avatar
4D696B65
Site admin
Site admin
Posts: 2696
Joined: 2009-06-28 06:09
Been thanked: 86 times

Re: apt downloading packages from ... some ... server ?

#2 Post by 4D696B65 »

Anything in /etc/apt/sources.list.d?

andy55
Posts: 84
Joined: 2012-08-20 12:59

Re: apt downloading packages from ... some ... server ?

#3 Post by andy55 »

Code: Select all

$ grep -r fi.debian.org /etc/apt/
/etc/apt/sources.list:deb [arch=amd64] http://ftp.fi.debian.org/debian/ testing main contrib non-free
/etc/apt/sources.list:deb [arch=amd64] http://ftp.fi.debian.org/debian/ testing-updates main contrib non-free
$ grep -r umu.se /etc/apt/
$

arochester
Emeritus
Emeritus
Posts: 2435
Joined: 2010-12-07 19:55
Has thanked: 14 times
Been thanked: 54 times

Re: apt downloading packages from ... some ... server ?

#4 Post by arochester »

It's a Mirror in Sweden. Their servers are named after Chinese philosophers. You are not being redirected to China.
https://linux.debian.user.narkive.com/N ... an-mirrors

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: apt downloading packages from ... some ... server ?

#5 Post by p.H »

HTTP redirect:

Code: Select all

wget http://ftp.fi.debian.org/debian/pool/main/g/gcc-11/gcc-11_11.3.0-8_amd64.deb

--2022-10-06 20:17:07--  http://ftp.fi.debian.org/debian/pool/main/g/gcc-11/gcc-11_11.3.0-8_amd64.deb
Resolving ftp.fi.debian.org (ftp.fi.debian.org)... 2001:6b0:19::163, 2001:6b0:19::173, 2001:6b0:19::165, ...
Connecting to ftp.fi.debian.org (ftp.fi.debian.org)|2001:6b0:19::163|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://chuangtzu.ftp.acc.umu.se/debian/pool/main/g/gcc-11/gcc-11_11.3.0-8_amd64.deb [following]

andy55
Posts: 84
Joined: 2012-08-20 12:59

Re: apt downloading packages from ... some ... server ?

#6 Post by andy55 »

I know it is Sweden.

But there are two problems here:
- if I specify in the apt server X I thought it is respected ?
- why package P1 it is being downloads from X and P2 from Y ? Is P2 missing on X ?

User avatar
donald
Debian Developer, Site Admin
Debian Developer, Site Admin
Posts: 1067
Joined: 2021-03-30 20:08
Has thanked: 188 times
Been thanked: 243 times

Re: apt downloading packages from ... some ... server ?

#7 Post by donald »

andy55 wrote: 2022-10-07 06:54 I know it is Sweden.

But there are two problems here:
- if I specify in the apt server X I thought it is respected ?
- why package P1 it is being downloads from X and P2 from Y ? Is P2 missing on X ?
http://ftp.fi.debian.org = http://mirror.accum.se = http://chuangtzu.ftp.acc.umu.se

The server network, ftp.acc.umu.se, you are downloading from is quite large with several front ends. Small files are served from the front end but larger files move the requests to the backend of the network where the larger packages are held for download. You never leave their network. That server front end also serves gnome and ubuntu to give you a scope of the size.
Typo perfectionish.


"The advice given above is all good, and just because a new message has appeared it does not mean that a problem has arisen, just that a new gremlin hiding in the hardware has been exposed." - FreewheelinFrank

andy55
Posts: 84
Joined: 2012-08-20 12:59

Re: apt downloading packages from ... some ... server ?

#8 Post by andy55 »

Thanks @donald - that makes sense.

Post Reply