# Fedora Archive mirror (pkg.shecan.ir)

> Mirror of archives.fedoraproject.org/pub/archive: end-of-life Fedora releases (/fedora/linux/releases/<n>/, /fedora/linux/updates/<n>/) and EPEL 7 (/epel/7/).

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

## Limitations

- Archived releases get no more updates; dnf still verifies the Fedora signatures.
- Supported Fedora releases are on mirror-fedora, EPEL 8 to 10 on mirror-epel.

## 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: persistent (user- or system-wide configuration)

Run, End-of-life Fedora (linux)

```sh
sudo sed -i -E 's/^metalink=/#metalink=/; s,^#?baseurl=https?://download\.(example|fedoraproject\.org)/pub/fedora/linux/,baseurl=https://mirror-fedora-archive.pkg.shecan.ir/fedora/linux/,' /etc/yum.repos.d/fedora*.repo
sudo sed -i 's/^enabled=1/enabled=0/' /etc/yum.repos.d/fedora-cisco-openh264.repo
sudo dnf makecache
```

Undo / restore the default, End-of-life Fedora (linux)

```sh
sudo sed -i -E 's/^#metalink=/metalink=/; s,^baseurl=https://mirror-fedora-archive\.pkg\.shecan\.ir/fedora/linux/,#baseurl=http://download.example/pub/fedora/linux/,' /etc/yum.repos.d/fedora*.repo
sudo sed -i 's/^enabled=0/enabled=1/' /etc/yum.repos.d/fedora-cisco-openh264.repo
```
