0

I tried to do an apt update, but I get these errors. Originally I put in the old-release source list. I'm not sure if that messed anything up. How can this be resolved?

enter image description here

Patoshi パトシ
  • 2,993
  • 15
  • 32
  • 44

1 Answers1

0

Ubuntu 18.04 LTS Bionic Beaver is not an old-releases. It is supported release.

So you have to replace the repo-lines by archive back.

Doing this programmatically is possible by executing:

sudo sed -i "s|old-releases.ubuntu.com/ubuntu bionic|archive.ubuntu.com/ubuntu bionic|g" /etc/apt/sources.list

And then run sudo apt-get update as usual.

N0rbert
  • 99,918