
lightsailなイメージでapt update
しようとしたところ、レポジトリエラーになる現象が。
$ sudo apt update
Ign:1 http://ap-northeast-1.ec2.archive.ubuntu.com/ubuntu xenial InRelease
Ign:2 http://ap-northeast-1.ec2.archive.ubuntu.com/ubuntu xenial-updates InRelease
Ign:3 http://ap-northeast-1.ec2.archive.ubuntu.com/ubuntu xenial-backports InRelease
Err:4 http://ap-northeast-1.ec2.archive.ubuntu.com/ubuntu xenial Release
404 Not Found [IP: 54.168.13.207 80]
Err:5 http://ap-northeast-1.ec2.archive.ubuntu.com/ubuntu xenial-updates Release
404 Not Found [IP: 54.168.13.207 80]
Err:6 http://ap-northeast-1.ec2.archive.ubuntu.com/ubuntu xenial-backports Release
404 Not Found [IP: 54.168.13.207 80]
Hit:7 http://security.ubuntu.com/ubuntu xenial-security InRelease
Reading package lists... Done
E: The repository 'http://ap-northeast-1.ec2.archive.ubuntu.com/ubuntu xenial Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://ap-northeast-1.ec2.archive.ubuntu.com/ubuntu xenial-updates Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://ap-northeast-1.ec2.archive.ubuntu.com/ubuntu xenial-backports Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
なんじゃらほいということで調べてみることにしました。