Is there a way to change repo mirrors?

Ответить
koesherbacon
Сообщения: 2
Зарегистрирован: 25 июл 2017, 07:13
Operating system: RosaLabs R9

Is there a way to change repo mirrors?

Сообщение koesherbacon » 25 июл 2017, 07:42

Hi Rosa Users and Devs,

First of all, I just installed R9 Plasma and so far it's awesome. I used to use Arch, but I got tired of how easy it was to totally destroy the system by accident. Great job!

Anyway, my question is about your repos. For some reason, whenever I am installing/upgrading packages using the GUI or CLI the download speed is rarely over 100 kb/s, and typically hovering right around 50 kb/s. I have the bandwidth to download at roughly 3 mb/s, so 40-100 kb/s is completely ridiculous. I know your servers are able to handle faster speeds since I was able to download the ISO in less than 20 mins at an average speed of 2.9 mb/s.

What I'd really like to know is if there a way to change the repo mirrors to another server. If there is a way to optimize the default mirrors would be helpful as well.

Here are the mirrors I'm currently using (shown as smartpm channels, but urpmi's are the exact same)

Код: Выделить всё

$ smart channel --show

[urpmisync-Main Updates]
type = urpmi
name = Main Updates
baseurl = http://mirror.rosalab.ru/rosa/rosa2016.1/repository/x86_64/media/main/updates
hdlurl = media_info/synthesis.hdlist.cz

[urpmisync-Non-free Updates]
type = urpmi
name = Non-free Updates
baseurl = http://mirror.rosalab.ru/rosa/rosa2016.1/repository/x86_64/media/non-free/updates
hdlurl = media_info/synthesis.hdlist.cz

[urpmisync-Main32 Updates]
type = urpmi
name = Main32 Updates
baseurl = http://mirror.rosalab.ru/rosa/rosa2016.1/repository/i586/media/main/updates
hdlurl = media_info/synthesis.hdlist.cz

[urpmisync-Non-free32 Updates]
type = urpmi
name = Non-free32 Updates
baseurl = http://mirror.rosalab.ru/rosa/rosa2016.1/repository/i586/media/non-free/updates
hdlurl = media_info/synthesis.hdlist.cz

[urpmisync-Main32 Testing]
type = urpmi
name = Main32 Testing
disabled = yes
baseurl = http://mirror.rosalab.ru/rosa/rosa2016.1/repository/i586/media/main/testing
hdlurl = media_info/synthesis.hdlist.cz

[urpmisync-Non-free Testing]
type = urpmi
name = Non-free Testing
disabled = yes
baseurl = http://mirror.rosalab.ru/rosa/rosa2016.1/repository/x86_64/media/non-free/testing
hdlurl = media_info/synthesis.hdlist.cz

[urpmisync-Non-free32 Testing]
type = urpmi
name = Non-free32 Testing
disabled = yes
baseurl = http://mirror.rosalab.ru/rosa/rosa2016.1/repository/i586/media/non-free/testing
hdlurl = media_info/synthesis.hdlist.cz

[urpmisync-Main]
type = urpmi
name = Main
baseurl = http://mirror.rosalab.ru/rosa/rosa2016.1/repository/x86_64/media/main/release
hdlurl = media_info/synthesis.hdlist.cz

[urpmisync-Restricted]
type = urpmi
name = Restricted
baseurl = http://mirror.rosalab.ru/rosa/rosa2016.1/repository/x86_64/media/restricted/release
hdlurl = media_info/synthesis.hdlist.cz

[urpmisync-Main32]
type = urpmi
name = Main32
baseurl = http://mirror.rosalab.ru/rosa/rosa2016.1/repository/i586/media/main/release
hdlurl = media_info/synthesis.hdlist.cz

[urpmisync-Restricted Updates]
type = urpmi
name = Restricted Updates
baseurl = http://mirror.rosalab.ru/rosa/rosa2016.1/repository/x86_64/media/restricted/updates
hdlurl = media_info/synthesis.hdlist.cz

[urpmisync-Restricted32 Updates]
type = urpmi
name = Restricted32 Updates
baseurl = http://mirror.rosalab.ru/rosa/rosa2016.1/repository/i586/media/restricted/updates
hdlurl = media_info/synthesis.hdlist.cz

[rpm-sys]
type = rpm-sys
name = RPM System

[urpmisync-Contrib]
type = urpmi
name = Contrib
baseurl = http://mirror.rosalab.ru/rosa/rosa2016.1/repository/x86_64/media/contrib/release
hdlurl = media_info/synthesis.hdlist.cz

[urpmisync-Non-free]
type = urpmi
name = Non-free
baseurl = http://mirror.rosalab.ru/rosa/rosa2016.1/repository/x86_64/media/non-free/release
hdlurl = media_info/synthesis.hdlist.cz

[urpmisync-Non-free32]
type = urpmi
name = Non-free32
baseurl = http://mirror.rosalab.ru/rosa/rosa2016.1/repository/i586/media/non-free/release
hdlurl = media_info/synthesis.hdlist.cz

[urpmisync-Contrib Updates]
type = urpmi
name = Contrib Updates
baseurl = http://mirror.rosalab.ru/rosa/rosa2016.1/repository/x86_64/media/contrib/updates
hdlurl = media_info/synthesis.hdlist.cz

[urpmisync-Restricted32 Testing]
type = urpmi
name = Restricted32 Testing
disabled = yes
baseurl = http://mirror.rosalab.ru/rosa/rosa2016.1/repository/i586/media/restricted/testing
hdlurl = media_info/synthesis.hdlist.cz

[urpmisync-Main Testing]
type = urpmi
name = Main Testing
disabled = yes
baseurl = http://mirror.rosalab.ru/rosa/rosa2016.1/repository/x86_64/media/main/testing
hdlurl = media_info/synthesis.hdlist.cz

[urpmisync-Restricted Testing]
type = urpmi
name = Restricted Testing
disabled = yes
baseurl = http://mirror.rosalab.ru/rosa/rosa2016.1/repository/x86_64/media/restricted/testing
hdlurl = media_info/synthesis.hdlist.cz

[urpmisync-Contrib Testing]
type = urpmi
name = Contrib Testing
disabled = yes
baseurl = http://mirror.rosalab.ru/rosa/rosa2016.1/repository/x86_64/media/contrib/testing
hdlurl = media_info/synthesis.hdlist.cz

[urpmisync-Restricted32]
type = urpmi
name = Restricted32
baseurl = http://mirror.rosalab.ru/rosa/rosa2016.1/repository/i586/media/restricted/release
hdlurl = media_info/synthesis.hdlist.cz
Thanks a lot!

euspectre
Сообщения: 1111
Зарегистрирован: 21 дек 2012, 15:24
Operating system: Linux в разных вариантах

Re: Is there a way to change repo mirrors?

Сообщение euspectre » 24 авг 2017, 22:42

koesherbacon писал(а):What I'd really like to know is if there a way to change the repo mirrors to another server. If there is a way to optimize the default mirrors would be helpful as well.
Sorry for late reply.

I cannot say if the default mirrors can be optimized somehow but you can definitely try our other mirrors and see if they give you better download speed.

First, remove the currently used repositories:

Код: Выделить всё

urpmi.removemedia -a
Now you can add the repositories from another server. I'd suggest to try Yandex mirror first:

Код: Выделить всё

urpmi.addmedia --distrib http://mirror.yandex.ru/rosa/rosa2016.1/repository/x86_64/
All necessary repositories from that mirror will be added.

If that mirror is still too slow, you can remove the repositories again and try the ones from our abf-downloads servers instead. However, I cannot predict how fast downloads will be outside of Russia in that case. Still, might be worth trying.

Код: Выделить всё

urpmi.addmedia --distrib http://abf-downloads.rosalinux.ru/rosa2016.1/repository/x86_64/
Hope this helps.

Ответить

Вернуться в «Desktop»