You are not logged in.

#1 2017-11-14 18:49

rafaelramos
Member
From: Brazil
Registered: 2016-07-19
Posts: 146

Mirror ftp.br.debian.org does not always connect

Good afternoon,

I'm doing tests with Scorpion 2.4 version.

One of the first things I do is edit the "sources.list" file and add the ftp.br.debian.org mirror, because the default address (ftp.debian.org) is too slow for my location.

sudo kwrite /etc/apt/sources.list
Include -> deb http://ftp.br.debian.org/debian/ jessie main contrib non-free
sudo apt-get update

But it happens that when I install Full Profile, or some other application via apt-get, packages are rarely downloaded by "ftp.br.debian.org", but by the default address "ftp.debian.org", and the installations they take too long for me!

Is there any way to bypass the default address and just force "ftp.br.debian.org"?

Last edited by rafaelramos (2017-11-14 18:50)

Offline

#2 2017-11-14 19:09

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,989

Re: Mirror ftp.br.debian.org does not always connect

You would need to edit /etc/apt/sources.list.d/20_debian.list but there is a warning from the devs not to edit this CRITICAL system file, but so long as you make the changes correctly it should be ok. Some future update might re-write this file though, but that would need confirmation from the devs.

Offline

#3 2017-11-21 22:16

rafaelramos
Member
From: Brazil
Registered: 2016-07-19
Posts: 146

Re: Mirror ftp.br.debian.org does not always connect

@q4osteam,

Is there a problem editing this file?

Offline

#4 2017-11-21 22:53

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,239
Website

Re: Mirror ftp.br.debian.org does not always connect

rafaelramos wrote:

Is there a problem editing this file?

If you exactly know what you are doing, no.

Offline

#5 2017-11-22 14:41

rafaelramos
Member
From: Brazil
Registered: 2016-07-19
Posts: 146

Re: Mirror ftp.br.debian.org does not always connect

In case I just want to add the ".br", change a line:

deb http://ftp.debian.org/debian/ stretch main contrib non-free

For:

deb http://ftp.br.debian.org/debian/ stretch main contrib non-free

Offline

#6 2017-11-22 14:58

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,239
Website

Re: Mirror ftp.br.debian.org does not always connect

Yes, depending on the mirror status, it should be ok.

Offline

Board footer

Powered by FluxBB