====== 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.
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.
===== 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//
Suites: -updates -backports -security
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
Replace '''' 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// main restricted universe multiverse
deb https://mirror.nplab.bth.se/ubuntu// -updates main restricted universe multiverse
deb https://mirror.nplab.bth.se/ubuntu// -backports main restricted universe multiverse
deb https://mirror.nplab.bth.se/ubuntu// -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/'' | [[https://mirror.nplab.bth.se/configs/ubuntu/focal.list|focal.list]] |
| jammy | 22.04 LTS | sources.list | ''https://mirror.nplab.bth.se/ubuntu/jammy/'' | [[https://mirror.nplab.bth.se/configs/ubuntu/jammy.list|jammy.list]] |
| noble | 24.04 LTS | deb822 | ''https://mirror.nplab.bth.se/ubuntu/noble/'' | [[https://mirror.nplab.bth.se/configs/ubuntu/noble.sources|noble.sources]] |
| resolute | 26.04 LTS | deb822 | ''https://mirror.nplab.bth.se/ubuntu/resolute/'' | [[https://mirror.nplab.bth.se/configs/ubuntu/resolute.sources|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).