
외장 하드에 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 업데이트 오류하지만 절망적인 것 같아
댓글에 제안된 문제의 답변도 확인했습니다.
저장소/PPA에 릴리스 파일이 없으면 어떻게 해야 합니까?
그리고 코드를 실행했습니다
sudo add-apt-repository --remove ppa:mc3man/trusty-media
sudo apt-get update
하지만 같은 오류가 발생했습니다
내 --Hit:1이 아닐까요?http://de.archive-- 문제가 될까?
답변1
프로그램 메뉴로 이동하거나 키보드에서 창을 눌러 표시하세요.
소프트웨어 및 업데이트 프로그램을 선택하거나 메뉴에서 검색하여 나타나서 엽니다.
업데이트 옵션이 "Ubuntu 소프트웨어 및 업데이트" 탭에 표시되어 있는지 확인하십시오. 동일한 프로그램에서 다른 소프트웨어 탭을 살펴볼 수도 있습니다.
비밀번호를 묻는 상자를 표시한 후 닫기를 클릭하고 새 창에서 다시 로드를 클릭하고 캐시 업데이트가 완료될 때까지 기다린 후 터미널에서 업데이트를 시도합니다.