de1.apt-cache.privex.io
This is a package caching service - primary for APT repos (for debian-based distros), which is operated by Privex Inc. - a privacy-focused server hosting provider (VPS's + Dedicated) founded in Belize.
Our package cache service is intended to be used by Privex customers with servers in our EU regions, since we operate a Swedish, German, and Finnish cache server (SE/DE/FI).
While apt-cache.privex.io
is intended for use by Privex's customers, it's otherwise open to the public,
and anyone is free to use it, as long as they don't purposefully abuse it.
apt-cache.privex.io uses our self-hosted GeoDNS to ensure the domain returns the IPv4/IPv6 address of the geographically closest cache server, allowing for the fastest download speeds, lowest latency, and saving both Privex and the customer network bandwidth.
Traffic to/from our apt-cache server from servers in Privex's DE/FI/SE regions will generally go over the internal network, instead of via the internet - and we don't bill for intra-network traffic :) )
Capability | Value / Status | Example |
---|---|---|
IPv4 Support | YES | Run command curl -4 http://apt-cache.privex.io/ |
IPv6 Support | YES | Run command curl -6 http://apt-cache.privex.io/ |
Plain HTTP Support (No SSL) | YES | http://apt-cache.privex.io/ |
HTTPS Support (SSL) | YES | https://apt-cache.privex.io/ |
Use within sources.list entries | YES | deb https://apt-cache.privex.io/privex/ universal |
Use as HTTP proxy | YES | Add to apt config: Acquire::http::Proxy "http://apt-cache.privex.io:80" |
Use as SOCKS4/5 proxy | NO | |
HTTP(S) alias routes for repos (e.g. /ubuntu/) | YES | deb https://apt-cache.privex.io/ubuntu/ focal main |
HTTP(S) - directly access domain repos (e.g. /ftp.debian.org/) | YES | deb https://apt-cache.privex.io/ftp.debian.org/debian buster main |
HTTP(S) - directly access domain repos with HTTPS (e.g. /https/ftp.debian.org/) | NO | |
Bandwidth | 1gbps up + down (1,000 megabits per second) |
Distro / Org / Package | sources.list URL |
---|---|
Official Linux Distro System Packages | |
Ubuntu Linux | https://apt-cache.privex.io/ubuntu/ |
Ubuntu Linux (Security) | https://apt-cache.privex.io/ubuntu-security/ |
Ubuntu Ports (ARM + niche architectures) | https://apt-cache.privex.io/ubuntu-ports/ |
Debian Linux | https://apt-cache.privex.io/debian/ |
Debian Linux (Security Repo) | https://apt-cache.privex.io/debian-security/ |
Arch Linux | https://apt-cache.privex.io/archlinux/ |
Fedora Linux + EPEL + Scientific Linux | N/A (only via proxy) |
Gentoo Linux | https://apt-cache.privex.io/gentoo/ |
Third-Party Packages | |
Privex's APT Repo (custom builds + misc pkgs not in system repos) | https://apt-cache.privex.io/privex/ |
Docker for Linux | https://apt-cache.privex.io/docker/ |
Matrix.org Packages (inc. Synapse Server) | https://apt-cache.privex.io/matrix/ |
The Tor Project's (torproject.org) APT Package Repo (for downloading the Tor relay/exit server, or Tor Browser) | https://apt-cache.privex.io/torproject.org/ |
Launchpad PPA Packages | https://apt-cache.privex.io/ppa/ |
While it's possible to use our apt-cache service as a package proxy, we don't recommend doing so, since our cache servers operate in whitelist mode, which means they will only allow accessing domains / URLs which have been specifically whitelisted.
We use whitelisting to ensure our cache services are only used for package caching, and not as an open proxy which could potentially be abused.
Nevertheless, if you really want to use it as a proxy, or need to use it as a proxy
due to technical restrictions (e.g. being able to set an APT HTTP proxy en-masse, but not able to
easily re-write sources.list to use apt-cache.privex.io), then you may do so by running the command
below, or if you're comfortable with Linux, setting http://apt-cache.privex.io:80
as
a package proxy manually.
echo 'Acquire::http::Proxy "http://apt-cache.privex.io:80";' | sudo tee -a /etc/apt/apt.conf.d/99privexproxy
Along with using our defined aliases such as /ubuntu/
or /docker/
,
you can also cache a certain mirror directly, if it's whitelisted.
# Accessing http://ftp.debian.org/debian deb https://apt-cache.privex.io/ftp.debian.org/debian stable main contrib non-free
deb https://apt-cache.privex.io/ubuntu/ focal main multiverse restricted universe deb-src https://apt-cache.privex.io/ubuntu/ focal main multiverse restricted universe deb https://apt-cache.privex.io/ubuntu/ focal-backports main multiverse restricted universe deb-src https://apt-cache.privex.io/ubuntu/ focal-backports main multiverse restricted universe deb https://apt-cache.privex.io/ubuntu/ focal-security main multiverse restricted universe deb-src https://apt-cache.privex.io/ubuntu/ focal-security main multiverse restricted universe deb https://apt-cache.privex.io/ubuntu/ focal-updates main multiverse restricted universe deb-src https://apt-cache.privex.io/ubuntu/ focal-updates main multiverse restricted universe
deb https://apt-cache.privex.io/ubuntu/ bionic main multiverse restricted universe deb https://apt-cache.privex.io/ubuntu/ bionic-backports main multiverse restricted universe deb https://apt-cache.privex.io/ubuntu/ bionic-security main multiverse restricted universe deb https://apt-cache.privex.io/ubuntu/ bionic-updates main multiverse restricted universe
# NOTE: These are two separate examples # For Ubuntu 18.04 (Bionic) running on ARM HF deb [arch=armhf] http://apt-cache.privex.io/ubuntu-ports/ bionic main multiverse restricted universe # For Ubuntu 20.04 (Focal) running on ARM 64-bit deb [arch=arm64] http://apt-cache.privex.io/ubuntu-ports/ focal main multiverse restricted universe
deb https://apt-cache.privex.io/debian/ buster main contrib non-free deb-src https://apt-cache.privex.io/debian/ buster main contrib non-free deb https://apt-cache.privex.io/debian/ buster-backports main contrib non-free deb-src https://apt-cache.privex.io/debian/ buster-backports main contrib non-free deb https://apt-cache.privex.io/debian/ buster-updates main contrib non-free deb-src https://apt-cache.privex.io/debian/ buster-updates main contrib non-free deb https://apt-cache.privex.io/debian-security/ buster/updates main contrib non-free deb-src https://apt-cache.privex.io/debian-security/ buster/updates main contrib non-free
deb https://apt-cache.privex.io/debian/ jessie main contrib non-free
deb https://apt-cache.privex.io/privex/ universal deb-src https://apt-cache.privex.io/privex/ universal
# Docker for Ubuntu 20.04 deb https://apt-cache.privex.io/docker/ubuntu/ focal edge # Docker for Ubuntu 18.04 deb https://apt-cache.privex.io/docker/ubuntu/ bionic edge # Docker for Debian 10 deb https://apt-cache.privex.io/docker/debian/ buster edge
# Matrix.org Repo for Ubuntu 18.04 deb https://apt-cache.privex.io/matrix/ bionic main # Matrix.org Repo for Ubuntu 20.04 deb https://apt-cache.privex.io/matrix/ focal main # Matrix.org Repo for Debian 10 deb https://apt-cache.privex.io/matrix/ buster main
# Torproject Repos for Ubuntu 18.04 deb https://apt-cache.privex.io/torproject.org/ bionic main deb-src https://apt-cache.privex.io/torproject.org/ bionic main # Torproject Repos for Ubuntu 20.04 deb https://apt-cache.privex.io/torproject.org/ focal main deb-src https://apt-cache.privex.io/torproject.org/ focal main # Torproject Repos for Debian 10 (Buster) deb https://apt-cache.privex.io/torproject.org/ buster main deb-src https://apt-cache.privex.io/torproject.org/ buster main
# Example: Certbot PPA repo for Ubuntu 18.04 deb https://apt-cache.privex.io/ppa/certbot/certbot/ubuntu bionic main # Example: Certbot PPA repo for Ubuntu 20.04 deb https://apt-cache.privex.io/ppa/certbot/certbot/ubuntu focal main # Example: Maxmind GeoIP PPA for Ubuntu 20.04 deb https://apt-cache.privex.io/ppa/maxmind/ppa/ubuntu focal main # Example: Maxmind GeoIP PPA for Ubuntu 18.04 deb https://apt-cache.privex.io/ppa/maxmind/ppa/ubuntu bionic main