# Pop!_OS mirror (pkg.shecan.ir)

> Mirror of apt.pop-os.org /release/ (Pop!_OS and COSMIC packages) and /proprietary/ (NVIDIA drivers and other proprietary packages) for apt on Pop!_OS 24.04. apt.pop-os.org/ubuntu is a copy of the Ubuntu archive; it is pointed at mirror-ubuntu.

- Upstream: apt.pop-os.org
- Mirror URLs: <https://mirror-popos.pkg.shecan.ir/release/>, <https://mirror-popos.pkg.shecan.ir/proprietary/>
- Clients: apt
- Service status: <https://pkg.shecan.ir/status.json> (key `popos`; up/down, refreshed every minute)
- Guide (Persian, HTML): <https://pkg.shecan.ir/mirrors/popos/>
- JSON: <https://pkg.shecan.ir/api/v1/mirrors/popos.json>

## Limitations

- apt still verifies the System76 signature (pop-keyring is installed on every Pop!_OS system).
- Pop!_OS 22.04 gets its own packages from the system76/pop PPA; use the PPA mirror for it.

## 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.

### apt: persistent (user- or system-wide configuration)

Run, Pop!_OS 24.04 (linux) (checked by hand)

```sh
sudo cp -a /etc/apt/sources.list.d /etc/apt/sources.list.d.bak
sudo sed -i -E 's#https?://apt\.pop-os\.org/ubuntu/?#https://mirror-ubuntu.pkg.shecan.ir/ubuntu#; s#https?://apt\.pop-os\.org/(release|proprietary)/?#https://mirror-popos.pkg.shecan.ir/\1#' /etc/apt/sources.list.d/*.sources
sudo apt update
```

Undo / restore the default, Pop!_OS 24.04 (linux)

```sh
sudo rm -rf /etc/apt/sources.list.d
sudo mv /etc/apt/sources.list.d.bak /etc/apt/sources.list.d
```
