The toolset has been split off and is now here available.
Current status and any announcements, as well as a maintenance log, can be found here
Under the domain pacman.store are package mirrors provided via the IPFS-Network. If you choose this as your mirror, Pacman will download the files from a local http-proxy and the accessed files will be shared with the IPFS-Network.
If you run on multiple machines in your local network IPFS will exchange the files locally rather than downloading the same file multiple times from the internet.
The data is held and shared by a collaborative cluster, which is provided by volunteers.
Start the service with:
# systemctl enable --now ipfs
I recommend enabling the build-in router module gossipsub which accelerates the lookup of names, like "pacman.store" significantly:
# su ipfs -c /bin/bash -c "ipfs config Pubsub.Router gossipsub"
Note: If you don't use my AUR package go-ipfs-git, make sure to modify your service file to include
--enable-gc on the ipfs-daemon.
--enable-pubsub-experiment --enable-namesys-pubsubwill speedup name-lookups
--enable-gcruns the garbage collection automatically, otherwise IPFS will never clean up its storage
Ipfs uses by default up to 10 GB of disk space in /var/lib/ipfs. If you want to lower or increase this value, you can do this by:
# su ipfs -c /bin/bash -c "ipfs config Datastore.StorageMax '10GB'"
After changing the settings you need to restart the daemon with
# systemctl restart ipfs
It makes sense to set the parallel downloads to two and disable the download timeout, to avoid unnecessary aborts if ipfs needs initially a bit more time to find the right peers in the network (especially on high latency internet connections).
Add the following lines to your pacman config (misc config section):
DisableDownloadTimeout ParallelDownloads = 2
Install the Archlinux-IPFS-Mirrorlist file into
$ wget https://raw.githubusercontent.com/RubenKelevra/pacman.store/master/mirrorlists/mirrorlist.ipfs $ sudo chown root: mirrorlist.ipfs $ sudo mv mirrorlist.ipfs /etc/pacman.d/
Now add an include line (as first entry) for all regular archlinux repositories. They should look like this:
[core] Include = /etc/pacman.d/mirrorlist.ipfs Include = /etc/pacman.d/mirrorlist
Install the Chaotic-AUR-IPFS-Mirrorlist file into
$ wget https://raw.githubusercontent.com/RubenKelevra/pacman.store/master/mirrorlists/chaotic-mirrorlist.ipfs $ sudo chown root: chaotic-mirrorlist.ipfs $ sudo mv chaotic-mirrorlist.ipfs /etc/pacman.d/
Now add an include line (as first entry) for the Chaotic-Aur repository. It should look like this:
[chaotic-aur] Include = /etc/pacman.d/chaotic-mirrorlist.ipfs Include = /etc/pacman.d/chaotic-mirrorlist
Install the ALHP-IPFS-Mirrorlist file into
$ wget https://raw.githubusercontent.com/RubenKelevra/pacman.store/master/mirrorlists/alhp-mirrorlist.ipfs $ sudo chown root: alhp-mirrorlist.ipfs $ sudo mv alhp-mirrorlist.ipfs /etc/pacman.d/
Now add an include line (as first entry) for all AHLP repositories. They should look like this:
[core-x86-64-v3] Include = /etc/pacman.d/alhp-mirrorlist.ipfs Include = /etc/pacman.d/alhp-mirrorlist
First execute the ArchLinux installation instructions above.
After that install the Endeavouros-IPFS-Mirrorlist file into
$ wget https://github.com/RubenKelevra/pacman.store/blob/master/mirrorlists/endeavouros-mirrorlist.ipfs $ sudo chown root: endeavouros-mirrorlist.ipfs $ sudo mv endeavouros-mirrorlist.ipfs /etc/pacman.d/
Now add an include line (as first entry) for the EndeavourOS repository. It should look like this:
[endeavouros] SigLevel = PackageRequired Include = /etc/pacman.d/endeavouros-mirrorlist.ipfs Include = /etc/pacman.d/endeavouros-mirrorlist
Follow the ArchLinux installation instructions, but use the Manjaro-IPFS-Mirrorlist with URL
Follow the ArchLinux installation instructions, but use the Manjaro-ARM-IPFS-Mirrorlist with URL
||Guthrie, Oklahoma||Cox Communications Inc||AS22773||@teknomunk|
||Vilnius, Lithuania||UAB Interneto vizija||AS20080814||@RubenKelevra|
||~ Tokyo, Japan||AS7506||anonymous|
||Saarland, Germany||VSE NET GmbH||AS9063||@Luflosi|
If you want to join and contribute bandwidth and disk space, feel free to do so. The repo size is about 430 GB. Since the data is rotating quite quickly it's recommended to enable the Garbage Collector with
--enable-gc for your IPFS-Daemon.
The default storage size for IPFS needs to be altered in the config file.
If you're running your cluster follower on a computer with a static IP or a static domain name: Feel free to add it to the list of
peer_addresses in the JSON config files, found in collab-cluster-config. Then send a pull request.
Details on how to join the cluster are available on the collab cluster website.
tl;dr: You need a locally running IPFS node. Your IPFS StorageMax setting may need to be adjusted. You need ipfs-cluster-follow, then run:
ipfs-cluster-follow pkg.pacman.store run --init cluster.pkg.pacman.store
On low power machines use the following command:
ipfs-cluster-follow pkg.pacman.store run --init lowpower.cluster.pkg.pacman.store
ISO and bootstrap files are also stored on the cluster:
||cluster setup domain which holds the config file|
||regular archlinux mirror
(without '/os/x86_64/' subfolders in path)
||current ArchLinux ISO+bootstrap images|
||regular Endeavouros mirror|
||regular Manjaro mirror
||a full chaotic-aur mirror|
||a mirror of x86_64v2/v3 packages build with -O3 and LTO|