Trying to update && upgrade but getting that error. I'm not sure how it happened but should I just manually add the DNS record for ports.ubuntu.com? I'm using pi-hole. I'm worried this is a MITM attack or some hacker trying to push malware. Does anyone have experience with this?

all 2 comments

sorted by: hot top controversial new old
[–] 9 points 6 months ago

i read somewhere they had some ddos attacks so you may just wait a few days and try again
https://techcrunch.com/2026/05/01/ubuntu-services-hit-by-outages-after-ddos-attack/

  • source
  • [–] 2 points 6 months ago* (last edited 6 months ago)

    i just used a third-party mirror. found one that was better and faster than ubuntu's own ever has been for me:
    https://launchpad.net/ubuntu/+archivemirrors

    in case launchpad isn't accessible:
    https://web.archive.org/web/20260425125013/https://launchpad.net/ubuntu/+archivemirrors

    for 'ports', see here as well, which directs you to this mirror:
    https://launchpad.net/ubuntu/+mirror/ftp.tu-chemnitz.de-archive

    https://ftp.tu-chemnitz.de/pub/linux/ubuntu-ports/

  • source