# AlmaLinux Vault mirror (pkg.shecan.ir)

> Mirror of vault.almalinux.org: every older AlmaLinux minor release (/<version>/BaseOS/<arch>/os/, AppStream, ...).

- Upstream: vault.almalinux.org
- Mirror URL: <https://mirror-almalinux-vault.pkg.shecan.ir/>
- Clients: dnf, yum
- Service status: <https://pkg.shecan.ir/status.json> (key `almalinux-vault`; up/down, refreshed every minute)
- Guide (Persian, HTML): <https://pkg.shecan.ir/mirrors/almalinux-vault/>
- JSON: <https://pkg.shecan.ir/api/v1/mirrors/almalinux-vault.json>

## Limitations

- The current releases are on mirror-almalinux; the vault is only for pinning an older minor release.

## Setup

Every block below is the exact text of the Persian guide. Unless marked otherwise it is run against the live mirror in a disposable container on every catalog change; "checked by hand" blocks cannot run in a container. Change a machine only with its owner's permission: back up existing configuration first, merge into existing files instead of overwriting them, and keep the "Undo" step at hand.

### dnf, yum: persistent (user- or system-wide configuration)

Configuration file (linux): `/etc/yum.repos.d/almalinux-vault.repo`

```ini
[almalinux-vault-baseos]
name=AlmaLinux 8.9 BaseOS (vault)
baseurl=https://mirror-almalinux-vault.pkg.shecan.ir/8.9/BaseOS/$basearch/os/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux

[almalinux-vault-appstream]
name=AlmaLinux 8.9 AppStream (vault)
baseurl=https://mirror-almalinux-vault.pkg.shecan.ir/8.9/AppStream/$basearch/os/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux
```

Undo / restore the default (linux)

```sh
sudo rm -f /etc/yum.repos.d/almalinux-vault.repo
sudo dnf clean all
```
