
Windows から Ubuntu 19.04 に切り替えました。ターミナルから何かをインストールしようとすると、次のようなエラーが表示されますinstalling from such repository can't be done securely hence it is disabled
。
mohit@mohit-desktop:~$ sudo apt update
[sudo] password for mohit:
Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease
Ign:2 http://ppa.launchpad.net/webupd8team/atom/ubuntu disco InRelease
Hit:3 http://dl.google.com/linux/chrome/deb stable Release
Err:5 http://ppa.launchpad.net/webupd8team/atom/ubuntu disco Release
404 Not Found [IP: 64:ff9b::5bbd:5f53 80]
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/webupd8team/atom/ubuntu disco 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.
mohit@mohit-desktop:~$
誰かが私にソフトウェアとアップデートでいくつかのことを行うように言って、いくつかのチェックボックスをオフにするように頼んだのですが、私はそれを覚えていないので、誰かもう一度私に教えてくれませんか...
答え1
追加したPPAリポジトリの1つに問題があるようです
おそらく、Ubuntuの非LTSバージョンはサポートされていない(または19.04はまだサポートされていない)でしょう。Ubuntuバージョンのリポジトリがあるかどうか確認するか、リポジトリを再度設定してみてください。ただし、次のことを実行することをお勧めします。
使用:
apt edit-sources
そして、エラーが発生したリポジトリをコメントアウト(先頭に#を付ける)すると、そのエラーは解消されるはずです。