Ubuntu 18.04でsudo apt update && sudo apt update -yでエラーが発生する

Ubuntu 18.04でsudo apt update && sudo apt update -yでエラーが発生する

sudo apt update && sudo apt update -y を実行すると、次のエラーが発生します。

Hit:1 http://ppa.launchpad.net/diesch/testing/ubuntu bionic InRelease
Ign:2 http://ppa.launchpad.net/gnome-terminator/ppa/ubuntu bionic InRelease   
Hit:3 https://packages.microsoft.com/ubuntu/20.04/prod focal InRelease        
Err:4 http://ppa.launchpad.net/gnome-terminator/ppa/ubuntu bionic Release
  404  Not Found [IP: 91.189.95.83 80]
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/gnome-terminator/ppa/ubuntu bionic 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.

ベストアンサー1

http://ppa.launchpad.net/gnome-terminator/ppa/ubuntuUbuntu(Bionic Beaver)バージョンが利用できないため、リポジトリが利用できないことを示します。 Ubuntuのバージョンをアップグレードするか、このリポジトリを削除できます。
アップグレードすることにした場合は、次の手順に従ってください。これ。現在のバージョンを保持してリポジトリを削除するには、次の手順を実行します。

  1. リポジトリを参照する行を見つけて、次を/etc/apt実行します。
grep "http://ppa.launchpad.net/gnome-terminator/ppa/ubuntu" /etc/apt  -R
  1. お気に入りのテキストエディタ(vim、nano、subl、geditなど)を使用します。削除するそのライン。
  2. 再びジャンプsudo apt update

これは可能です。

おすすめ記事