You are not logged in.

#1 2021-04-09 19:44:29

Tar3k Hasan
Member
Registered: 2021-03-19
Posts: 22

[Solved]Update and Mirror Issue

Hello,
Yesterday I tried to update my mirror list with reflector and got this issue

sudo reflector -c Bangladesh -c India -a 12 -p https -p http --sort rate --save /etc/pacman.d/mirrorlist
error: no mirrors found

My mirror list is:

# With:       reflector -f 30 -l 30 --number 10 --verbose --save /etc/pacman.d/mirrorlist
# When:       2020-12-14 20:59:26 UTC
# From:       https://www.archlinux.org/mirrors/status/json/
# Retrieved:  2020-12-14 20:56:35 UTC
# Last Check: 2020-12-14 19:56:41 UTC

## Bangladesh
Server = http://mirror.xeonbd.com/archlinux/$repo/os/$arch

## India
Server = http://mirror.cse.iitk.ac.in/archlinux/$repo/os/$arch
Server = http://mirrors.piconets.webwerks.in/archlinux-mirror/$repo/os/$arch
Server = https://mirrors.piconets.webwerks.in/archlinux-mirror/$repo/os/$arch


Server = https://mirror.f4st.host/archlinux/$repo/os/$arch
Server = http://mirror.f4st.host/archlinux/$repo/os/$arch
Server = http://mirror.pseudoform.org/$repo/os/$arch
Server = https://mirror.pseudoform.org/$repo/os/$arch
Server = rsync://mirror.pseudoform.org/packages/$repo/os/$arch
Server = http://arch.mirror.square-r00t.net/$repo/os/$arch
Server = https://arch.mirror.square-r00t.net/$repo/os/$arch
Server = rsync://arch.mirror.square-r00t.net/arch/$repo/os/$arch
Server = http://archlinux.uk.mirror.allworldit.com/archlinux/$repo/os/$arch
Server = http://archlinux.za.mirror.allworldit.com/archlinux/$repo/os/$arch

## Worldwide
#Server = http://mirrors.evowise.com/archlinux/$repo/os/$arch
#Server = http://mirror.rackspace.com/archlinux/$repo/os/$arch
#Server = https://mirror.rackspace.com/archlinux/$repo/os/$arch
etc. etc.

When I do:

sudo pacman -Syyu

The out put I get

:: Synchronizing package databases...
 core                                  131.4 KiB  3.21 MiB/s 00:00 [####################################] 100%
 extra                                1621.3 KiB  1977 KiB/s 00:01 [####################################] 100%
 community                               5.5 MiB  1899 KiB/s 00:03 [####################################] 100%
 multilib                              148.9 KiB  1489 KiB/s 00:00 [####################################] 100%
:: Starting full system upgrade...
 there is nothing to do

I'm doing this from today morning but nothing is updating(It's night here now). Should I wait more or is there any problem? And what is up with the reflector? I checked in the Pacman Mirror Generator an my country's Mirror is:

##
## Arch Linux repository mirrorlist
## Generated on 2021-04-09
##

## Bangladesh
#Server = http://mirror.xeonbd.com/archlinux/$repo/os/$arch

It's the same in my mirrorlist. If I put 20 in age section in reflector I get an Indian mirror which is super slow. Please help me out? I changed my mirror manually bc reflector is not working. I can download everything and the speed is good but didn't got any update for a whole day. Should I wait more?
Thank you smile

Last edited by Tar3k Hasan (2021-04-10 08:53:22)

Offline

#2 2021-04-10 00:08:00

Xyne
Moderator/TU
Registered: 2008-08-03
Posts: 6,628
Website

Re: [Solved]Update and Mirror Issue

Different mirrors have different update intervals. If you set the age criterion to 12 hours and none of your preferred mirrors have updated in the last 12 hours then they will be excluded from the list. It also makes no sense to request both the latest and the fastest 30 servers as you did in your second example. It will take the 30 most recently updated servers and then return all 30 of them because the fastest 30 of a set of 30 is all 30. If you only want 10 mirrors then just use "-l 30 -f 10".

If you already know which servers are fast for you then just use them. If not, set the age to something more reasonable like 24 hours and then filter by preferred country and take the fastest 5-10 and sort by speed (-f 10 --sort rate).


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#3 2021-04-10 00:44:13

Tar3k Hasan
Member
Registered: 2021-03-19
Posts: 22

Re: [Solved]Update and Mirror Issue

If I use any other servers like Indian or any global server I get like 100-300KBps. If I use Bangladeshi server I get upto 3MBps to 7MBps. That's why I use Only Bangladeshi server and can't use any global server. As you are saying Bangladeshi server didn't get any update since 12 hours. Maybe that's why I haven't got any updates. Let's see if I get any updates today.

Xyne wrote:

Different mirrors have different update intervals. If you set the age criterion to 12 hours and none of your preferred mirrors have updated in the last 12 hours then they will be excluded from the list. It also makes no sense to request both the latest and the fastest 30 servers as you did in your second example. It will take the 30 most recently updated servers and then return all 30 of them because the fastest 30 of a set of 30 is all 30. If you only want 10 mirrors then just use "-l 30 -f 10".

If you already know which servers are fast for you then just use them. If not, set the age to something more reasonable like 24 hours and then filter by preferred country and take the fastest 5-10 and sort by speed (-f 10 --sort rate).

Offline

#4 2021-04-10 01:36:01

Tar3k Hasan
Member
Registered: 2021-03-19
Posts: 22

Re: [Solved]Update and Mirror Issue

Tar3k Hasan wrote:

Hello,
Yesterday I tried to update my mirror list with reflector and got this issue

sudo reflector -c Bangladesh -c India -a 12 -p https -p http --sort rate --save /etc/pacman.d/mirrorlist
error: no mirrors found

My mirror list is:

# With:       reflector -f 30 -l 30 --number 10 --verbose --save /etc/pacman.d/mirrorlist
# When:       2020-12-14 20:59:26 UTC
# From:       https://www.archlinux.org/mirrors/status/json/
# Retrieved:  2020-12-14 20:56:35 UTC
# Last Check: 2020-12-14 19:56:41 UTC

## Bangladesh
Server = http://mirror.xeonbd.com/archlinux/$repo/os/$arch

## India
Server = http://mirror.cse.iitk.ac.in/archlinux/$repo/os/$arch
Server = http://mirrors.piconets.webwerks.in/archlinux-mirror/$repo/os/$arch
Server = https://mirrors.piconets.webwerks.in/archlinux-mirror/$repo/os/$arch


Server = https://mirror.f4st.host/archlinux/$repo/os/$arch
Server = http://mirror.f4st.host/archlinux/$repo/os/$arch
Server = http://mirror.pseudoform.org/$repo/os/$arch
Server = https://mirror.pseudoform.org/$repo/os/$arch
Server = rsync://mirror.pseudoform.org/packages/$repo/os/$arch
Server = http://arch.mirror.square-r00t.net/$repo/os/$arch
Server = https://arch.mirror.square-r00t.net/$repo/os/$arch
Server = rsync://arch.mirror.square-r00t.net/arch/$repo/os/$arch
Server = http://archlinux.uk.mirror.allworldit.com/archlinux/$repo/os/$arch
Server = http://archlinux.za.mirror.allworldit.com/archlinux/$repo/os/$arch

## Worldwide
#Server = http://mirrors.evowise.com/archlinux/$repo/os/$arch
#Server = http://mirror.rackspace.com/archlinux/$repo/os/$arch
#Server = https://mirror.rackspace.com/archlinux/$repo/os/$arch
etc. etc.

When I do:

sudo pacman -Syyu

The out put I get

:: Synchronizing package databases...
 core                                  131.4 KiB  3.21 MiB/s 00:00 [####################################] 100%
 extra                                1621.3 KiB  1977 KiB/s 00:01 [####################################] 100%
 community                               5.5 MiB  1899 KiB/s 00:03 [####################################] 100%
 multilib                              148.9 KiB  1489 KiB/s 00:00 [####################################] 100%
:: Starting full system upgrade...
 there is nothing to do

I'm doing this from today morning but nothing is updating(It's night here now). Should I wait more or is there any problem? And what is up with the reflector? I checked in the Pacman Mirror Generator an my country's Mirror is:

##
## Arch Linux repository mirrorlist
## Generated on 2021-04-09
##

## Bangladesh
#Server = http://mirror.xeonbd.com/archlinux/$repo/os/$arch

It's the same in my mirrorlist. If I put 20 in age section in reflector I get an Indian mirror which is super slow. Please help me out? I changed my mirror manually bc reflector is not working. I can download everything and the speed is good but didn't got any update for a whole day. Should I wait more?
Thank you smile

So the problem was with my country's server I mean mirror. I checked in https://archlinux.org/mirrors/status/#outofsync and the server I was using was in this out of sync list. My mirror was last updated on 5th of April so there was no new update.

lastsync                                           05-Apr-2021 09:41                  11
lastupdate                                         05-Apr-2021 08:57                  11

So I tried with

sudo reflector -f 10 -l 30 --number 10 --verbose --save /etc/pacman.d/mirrorlist

as you said. I it created a mirror list with 10 fasted mirrors and I got update after running pacman -Syyu.
Thank you for you help.

Last edited by Tar3k Hasan (2021-04-10 08:51:42)

Offline

Board footer

Powered by FluxBB