# Rocky Vault mirror (pkg.shecan.ir)

> Mirror of dl.rockylinux.org/vault/rocky: every older Rocky Linux minor release (/<version>/BaseOS/<arch>/os/, AppStream, ...).

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

## Limitations

- The current releases are on mirror-rocky; 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/rocky-vault.repo`

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

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

Undo / restore the default (linux)

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