
外付けハードドライブにUbuntuをインストールしています
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.1 LTS
Release: 22.04
Codename: jammy
sudo apt updateを実行しようとするとエラーが発生します
sudo apt update
Hit:1 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:2 http://de.archive.ubuntu.com/ubuntu jammy InRelease
Hit:3 http://deb.anydesk.com all InRelease
Ign:4 http://packages.ros.org/ros/ubuntu jammy InRelease
Err:5 http://packages.ros.org/ros/ubuntu jammy Release
404 Not Found [IP: 64.50.233.100 80]
Reading package lists... Done
E: The repository 'http://packages.ros.org/ros/ubuntu jammy 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.
W: http://deb.anydesk.com/dists/all/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
または、sudo apt-get update コマンドを使用した場合でも、
sudo apt-get update
Hit:1 http://deb.anydesk.com all InRelease
Hit:2 http://de.archive.ubuntu.com/ubuntu jammy InRelease
Hit:3 http://security.ubuntu.com/ubuntu jammy-security InRelease
Ign:4 http://packages.ros.org/ros/ubuntu jammy InRelease
Err:5 http://packages.ros.org/ros/ubuntu jammy Release
404 Not Found [IP: 140.211.166.134 80]
Reading package lists... Done
W: http://deb.anydesk.com/dists/all/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
E: The repository 'http://packages.ros.org/ros/ubuntu jammy 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.
私はまた、sudo apt update エラーしかし、それは絶望的に見える
コメントで提案された質問の回答も確認しました:
リポジトリ/PPA にリリース ファイルがない場合はどうすればよいですか?
コードを実行した
sudo add-apt-repository --remove ppa:mc3man/trusty-media
sudo apt-get update
しかし同じエラーが発生しました
それは私の --ヒット:1http://de.archive-- 問題でしょうか?
答え1
プログラム メニューに移動するか、キーボードから Windows キーを押して表示します。
ソフトウェアと更新プログラムを選択するか、メニューで検索して表示し、開きます。
これらのタブ「Ubuntu ソフトウェアと更新」で更新オプションがマークされていることを確認してください。同じプログラムの他のソフトウェア タブを確認することもできます。
パスワードを要求するボックスにチェックを入れたら、「閉じる」をクリックし、新しいウィンドウから「再読み込み」をクリックして、キャッシュの更新が完了するまで待ちます。その後、ターミナルで更新を試みます。