The officially official Devuan Forum!

You are not logged in.

#1 2022-11-18 09:18:36

l3u
Member
Registered: 2022-07-10
Posts: 21  

Is it possible to exclude a mirror?

Hi all,

can I exclude a mirror from being used? I have the problem that apt always queries 2001:4ca0:4300::1:22, which leads to http://debian.bio.lmu.de/debian/pool/main/ being used. This mirror apparently has problems, as I often – not always – get errors about files not being found.

When I set the nameserver to e.g. 8.8.8.8 in /etc/resov.conf, another mirror is used, and installation of packages or updating works.

So: Can I exclude a specific mirror from being used?

Thanks for all help!

Offline

#2 2022-11-18 11:19:06

Altoid
Member
Registered: 2017-05-07
Posts: 1,107  

Re: Is it possible to exclude a mirror?

Hello:

l3u wrote:

can I exclude a mirror ...

What Devuan version are you running and what mirrors are you using?

Please post the output of uname -a and cat /etc/apt/sources.list.

Also, have a look at this page.
ie: the "Default configurations" list

Best,

O.

Offline

#3 2022-11-18 13:19:03

l3u
Member
Registered: 2022-07-10
Posts: 21  

Re: Is it possible to exclude a mirror?

It's Chimaera (the kernel version is not really relevant here, is it?).

Here's the sources.list:

deb http://deb.devuan.org/merged chimaera main contrib non-free
deb http://deb.devuan.org/merged chimaera-updates main contrib non-free
deb http://deb.devuan.org/devuan chimaera-proposed-updates main contrib non-free
deb http://deb.devuan.org/merged chimaera-security main contrib non-free
deb http://deb.devuan.org/merged chimaera-backports main contrib non-free

Last edited by l3u (2022-11-18 13:19:58)

Offline

#4 2022-11-18 17:01:44

Altoid
Member
Registered: 2017-05-07
Posts: 1,107  

Re: Is it possible to exclude a mirror?

Hello:

l3u wrote:

... Chimaera ...

Right.

l3u wrote:

... kernel version is not really relevant here, is it? ...

No.
But I like to see what the output says, just habit.

l3u wrote:
deb http://deb.devuan.org/merged chimaera main contrib non-free
deb http://deb.devuan.org/merged chimaera-updates main contrib non-free
deb http://deb.devuan.org/devuan chimaera-proposed-updates main contrib non-free
deb http://deb.devuan.org/merged chimaera-security main contrib non-free
deb http://deb.devuan.org/merged chimaera-backports main contrib non-free

Seems correct.
I would not use devuan chimaera-proposed-updates, because proposed.
Obviously, YMMV.

I think the explanation could be here.

Devuan has a network of package repository mirrors in place. The mirror network is accessible using the FQDN "deb.devuan.org" via http NOT https. Country Codes (CC) are currently unavailable but a specific mirror from the list can be accessed using the corresponding BaseURL.

The list is here.

There is/maybe some issue with FQDN "deb.devuan.org" and how/when it connects to debian.bio.lmu.de.

You could be able to solve the problem by following the suggestion above.
ie: ... a specific mirror from the list can be accessed ...

Best,

A.

Last edited by Altoid (2022-11-18 17:03:34)

Offline

#5 2022-11-18 17:56:33

l3u
Member
Registered: 2022-07-10
Posts: 21  

Re: Is it possible to exclude a mirror?

Well,

devuan chimaera-proposed-updates

is there because it's the default – I never touched this file.

However, I want quite the opposite of "... a specific mirror from the list can be accessed ..." – I don't want to connect only to one specific mirror, but exclude one specific mirror …

Offline

#6 2022-11-18 18:00:22

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 2,737  

Re: Is it possible to exclude a mirror?

Block the mirror in /etc/hosts, the round robin thingy will just find another path.


"Who's the idiot in charge?" — ralph.ronnquist

Offline

#7 2022-11-21 10:29:05

l3u
Member
Registered: 2022-07-10
Posts: 21  

Re: Is it possible to exclude a mirror?

This is a nice idea, I'll try that! Thanks :-)

Offline

Board footer