User Tools

Site Tools


mirrors:ubuntu

Ubuntu — Mirror Configuration

The local mirror covers Ubuntu 20.04 (Focal), 22.04 (Jammy), 24.04 (Noble), and 26.04 (Resolute Raccoon) for amd64. Security updates, backports, and all components (main, restricted, universe, multiverse) are included.

<WRAP important> Unlike the upstream Ubuntu archive, the local mirror organises releases into separate directories (e.g. /ubuntu/jammy/) rather than a single flat tree. Use the per-release URLs below, not the upstream path structure. </WRAP>

Ubuntu 24.04+ (Noble, Resolute)

These releases default to deb822 format. Replace /etc/apt/sources.list.d/ubuntu.sources:

Types: deb
URIs: https://mirror.nplab.bth.se/ubuntu/<release>/
Suites: <release> <release>-updates <release>-backports <release>-security
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg

Replace <release> with noble or resolute.

Ubuntu 20.04 / 22.04 (Focal, Jammy)

These releases use the classic sources.list format.

Replace /etc/apt/sources.list:

deb https://mirror.nplab.bth.se/ubuntu/<release>/ <release> main restricted universe multiverse
deb https://mirror.nplab.bth.se/ubuntu/<release>/ <release>-updates main restricted universe multiverse
deb https://mirror.nplab.bth.se/ubuntu/<release>/ <release>-backports main restricted universe multiverse
deb https://mirror.nplab.bth.se/ubuntu/<release>/ <release>-security main restricted universe multiverse

Release Reference

Codename Version Format Local URL Config File
focal 20.04 LTS sources.list https://mirror.nplab.bth.se/ubuntu/focal/ focal.list
jammy 22.04 LTS sources.list https://mirror.nplab.bth.se/ubuntu/jammy/ jammy.list
noble 24.04 LTS deb822 https://mirror.nplab.bth.se/ubuntu/noble/ noble.sources
resolute 26.04 LTS deb822 https://mirror.nplab.bth.se/ubuntu/resolute/ resolute.sources

Download and apply (run as root):

Focal / Jammy:

curl -o /etc/apt/sources.list https://mirror.nplab.bth.se/configs/ubuntu/jammy.list
apt-get update

Noble / Resolute:

curl -o /etc/apt/sources.list.d/ubuntu.sources https://mirror.nplab.bth.se/configs/ubuntu/noble.sources
apt-get update

Notes

  • The security suite is folded into the same mirror URI (unlike Debian, no separate /security/ subdirectory needed).
mirrors/ubuntu.txt · Last modified: by pal