Skip to main content
Topic: Fixing Artix Updates Manjaro Style (for the Artix Devs) (Read 667 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

Re: Fixing Artix Updates Manjaro Style (for the Artix Devs)

Reply #15
https://wiki.archlinux.org/index.php/Powerpill
Never tried this and quite possibly it would need adapting for Artix repos, but it allows parallel package downloads on updates to max out your bandwidth - well potentially, if anyone can make it work, it would need some "config" to the conf file at a minimum from the look of it.

Re: Fixing Artix Updates Manjaro Style (for the Artix Devs)

Reply #16
I routinely use powerpill to keep my line saturated. It works without additional configuration for each and every repo listed in pacman.conf - and works well.

Re: Fixing Artix Updates Manjaro Style (for the Artix Devs)

Reply #17
Issues/Rationale:
1. Mirrors are very slow
2. Mirrors are not updated whatsoever
3. Mirrors are only partially updated (may break system)
4. No info anywhere which mirrors are up to date
5. No info anywhere what mirrors are up and running/working
6. Without 4 & 5 user doesn't know which mirror to use
7. Even if the user somehow knew which mirror to use, (s)he would have to manually adjust pacman config files (very cumbersome)
....

Why should the developers do everything?
Do it yourself:

Code: [Select]
sudo -i
cat > /usr/bin/update-artix
#!/bin/bash
rankmirrors -v -n 5 /etc/pacman.d/mirrorlist.pacnew | tee /etc/pacman.d/mirrorlist &&
reflector --score 5  --protocol https | tee /etc/pacman.d/mirrorlist-arch &&
pacman -Sc --noconfirm &&
pacman -Syu --noconfirm

STRG+D

Code: [Select]
chmod +x /usr/bin/update-artix
pacman -S reflector
exit

Quick Tip How to Use:
Code: [Select]
sudo update-artix

MfG
"Wer alles macht, macht nichts richtig"