Updates Slow, Saving Mirrors?!

I noticed my updates were going slow, in kb while my internet spead is in MB.
I read the forum, and found Updates very slow
So I issued the command

reflector-simple

It came back with a message
failed to find country code
I pressed quit, then a window with country names came up where I selected several countries (included the first option “worldwide”
A window “Rating Mirrors” came up and did the rating, then I clicked the “Save to… mirror list” and entered my root password.

Just to be sure, I rebooted, issued the command again

reflector-simple

I’m back to square one… saving list of mirrors again!
I wonder why it is not saving list of mirrors?
What to do to have my updates fast?
Thank you.

You could try rate-mirrors.

Thank you @manuel
Done. But still updates in kb mostly, I wonder why? What to do to get it in MB?

[limo@asus ~]$ rate-mirrors
bash: rate-mirrors: command not found
[limo@asus ~]$ yay -S rate-mirrors
[sudo] password for limo: 
resolving dependencies...
looking for conflicting packages...

Package (1)               New Version  Net Change  Download Size

endeavouros/rate-mirrors  0.14.0-1       7.92 MiB       2.62 MiB

Total Download Size:   2.62 MiB
Total Installed Size:  7.92 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 rate-mirrors-0.14.0-1-x86_64            2.6 MiB  1666 KiB/s 00:02 [------------------------------------] 100%
(1/1) checking keys in keyring                                     [------------------------------------] 100%
(1/1) checking package integrity                                   [------------------------------------] 100%
(1/1) loading package files                                        [------------------------------------] 100%
(1/1) checking for file conflicts                                  [------------------------------------] 100%
:: Running pre-transaction hooks...
(1/1) Performing snapper pre snapshots for the following configurations...
==> root: 4212
:: Processing package changes...
(1/1) installing rate-mirrors                                      [------------------------------------] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Performing snapper post snapshots for the following configurations...
==> root: 4213
[limo@asus ~]$ yay -Syyu
:: Synchronizing package databases...
 endeavouros                            30.7 KiB  71.4 KiB/s 00:00 [------------------------------------] 100%
 core                                  154.8 KiB   228 KiB/s 00:01 [------------------------------------] 100%
 extra                                1737.0 KiB  1368 KiB/s 00:01 [------------------------------------] 100%
 community                               7.2 MiB  2.30 MiB/s 00:03 [------------------------------------] 100%
 multilib                              164.4 KiB   228 KiB/s 00:01 [------------------------------------] 100%
:: Starting full system upgrade...

Rate your mirrors first.

For Arch:

rate-mirrors arch | sudo tee /etc/pacman.d/mirrorlist

For EnOS:

rate-mirrors endeavouros | sudo tee /etc/pacman.d/endeavouros-mirrorlist

Then:

sudo pacman -Syyu

3 Likes

Thanks a lot @pebcak
This seems to work.
I got a few with MB

[limo@asus ~]$ sudo pacman -Syyu
:: Synchronizing package databases...
 endeavouros                            30.7 KiB  73.1 KiB/s 00:00 [------------------------------------] 100%
 core                                  154.8 KiB   254 KiB/s 00:01 [------------------------------------] 100%
 extra                                1737.0 KiB  1121 KiB/s 00:02 [------------------------------------] 100%
 community                               7.2 MiB  1649 KiB/s 00:04 [------------------------------------] 100%
 multilib                              164.4 KiB   173 KiB/s 00:01 [------------------------------------] 100%
:: Starting full system upgrade...
 there is nothing to do
[limo@asus ~]$ 

I will try again when there are updates.
Thank you.

1 Like

Note that those database files are mostly very small. A better test is when downloading large packages like linux or firefox.

1 Like

Yes… I guess so. Normally the first bites are slow.
(though I not a lit bit difference recently).
Hopefully I will feel the difference with the next Linux update.

UPDATE:
WOW!
Much better speed after doing what @pebcak suggested.
As you @manuel said… I just had a Chromium browser update which went much faster and I could get MB speed!

: Proceed with installation? [Y/n] 
:: Retrieving packages...
 eos-update-notifier-23-1-any           24.6 KiB  66.4 KiB/s 00:00 [------------------------------------] 100%
 boost-libs-1.81.0-3-x86_64              2.2 MiB   440 KiB/s 00:05 [------------------------------------] 100%
 chromium-110.0.5481.77-2-x86_64        88.3 MiB  2.55 MiB/s 00:35 [------------------------------------] 100%
 Total (3/3)                            90.5 MiB  2.61 MiB/s 00:35 [------------------------------------] 100%

If only somebody made a thread for basic maintenance stuff. . . Hmmmm

What kind of complete idiot would do that? :wink:

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.