# apt-cacher-ultra

apt-cacher-ultra is a self-hosted databases app. Caching proxy for Debian and Ubuntu package downloads (apt). It is open source and self-hosted, installable on Unraid.

Canonical page: https://ourlocalhost.com/app/7273/apt-cacher-ultra

## Description

Caching proxy for Debian and Ubuntu package downloads (apt). The first machine that installs a package fetches it from the internet; every other machine gets it from your server. A maintained replacement for apt-cacher-ng: same port 3142 and the same client settings, so existing clients keep working. Checks every file against the repository's signed index, and keeps serving cached packages when a mirror is slow or down. Clients: put Acquire::http::Proxy "http://SERVER-IP:3142"; into /etc/apt/apt.conf.d/01proxy. HTTPS repositories are not cached unless their sources line is changed to http://HTTPS///host/path. The config is written to /config/config.toml on the first start; edit it there and restart. The status page and Prometheus metrics are on port 6789.

## Platform availability

Available on 1 of 9 platforms: Unraid.

## Health score

57/100 (Fair), based on 3 of 4 factors.
- Maintained: 95 (last commit 33 days ago)
- Popular: 27 (21 GitHub stars)
- Easy to install: 20 (1 install platform, Docker image)

## Links

- Unraid: https://ca.unraid.net/apps/app_c773846e22fdb6b2
- GitHub: https://github.com/linsomniac/apt-cacher-ultra

## Common questions

### Can existing apt-cacher-ng clients point to apt-cacher-ultra without new client settings?

Yes, it is designed as a replacement for apt-cacher-ng with the same port 3142 and client settings, so existing clients keep working.

### Where do I edit the configuration after first start?

The config is written to /config/config.toml on first start; edit that file and restart the app after changing it.

### Where can I view the status page and Prometheus metrics?

The status page and Prometheus metrics are exposed on port 6789.

---
Source: Our Local Host (https://ourlocalhost.com/app/7273/apt-cacher-ultra), the self-hosted and open-source app directory.
