Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I wish there were a simple and easy way to P2P my pacman updates. I have several Arch machines/VMs that all need to download a gigabyte of updates at the same time.

This wastes not only my time and bandwidth, but adds extra load and bandwidth on the mirror. Why can't I have pacman sync with one of my other computers? Even if there's a different set of packages, the core OS is the same and can share packages with other machines.

I did look briefly into hosting a proper pacman mirror locally, but it seemed like way too much effort to save 10 minutes a month.



Arch Wiki to the rescue. https://wiki.archlinux.org/title/Package_proxy_cache#

Currently using the dkarhttpd route with rsync. Everything is stored in a custom directory so that older version can be retained. Pacoloco looks interesting.


Just update one then rsync the package cache across? Or mount it over NFS for a hands-off solution. Or hack something up with inotify.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: