Fix Hetzner Mirror Issues
πŸ•“

Fix Hetzner Mirror Issues

Tags
Ubuntu
Published
March 1, 2025
Last Updated
Last updated March 1, 2025
Due to a fault, there is currently limited/no availability for the Repositories: Debian, Ubuntu at the mirror (mirror.hetzner.com / download.hetzner.com).

Backup the current sources list

cp /etc/apt/sources.list /etc/apt/sources.list.bak

Replace all instances of /ubuntu/ with /ubuntu-ports/

sed -i 's|/ubuntu/|/ubuntu-ports/|g' /etc/apt/sources.list

Verify changes

grep -r 'ubuntu-ports' /etc/apt/sources.list

Update the package lists

apt update