# Fix Hetzner Mirror Issues

[https://status.hetzner.com/incident/9ea719cc-5ef5-46cf-b286-a76c10da5492](https://status.hetzner.com/incident/9ea719cc-5ef5-46cf-b286-a76c10da5492)

> Due to a fault, there is currently limited/no availability for the Repositories: Debian, Ubuntu at the mirror ([mirror.hetzner.com](http://mirror.hetzner.com/) / [download.hetzner.com](http://download.hetzner.com/)).
### Backup the current sources list

```Bash
cp /etc/apt/sources.list /etc/apt/sources.list.bak
```
### Replace all instances of /ubuntu/ with /ubuntu-ports/

```Bash
sed -i 's|/ubuntu/|/ubuntu-ports/|g' /etc/apt/sources.list
```
### Verify changes

```Bash
grep -r 'ubuntu-ports' /etc/apt/sources.list
```
### Update the package lists

```Bash
apt update
```