Ubuntu 20.04의 sudo apt 업데이트

Ubuntu 20.04의 sudo apt 업데이트

외장 하드에 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.

오류1

또는 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.

오류2

또한 지침을 확인했습니다.sudo apt 업데이트 오류하지만 절망적인 것 같아

댓글에 제안된 문제의 답변도 확인했습니다.

저장소/PPA에 릴리스 파일이 없으면 어떻게 해야 합니까?

그리고 코드를 실행했습니다

sudo add-apt-repository --remove ppa:mc3man/trusty-media

sudo apt-get update

하지만 같은 오류가 발생했습니다

내 --Hit:1이 아닐까요?http://de.archive-- 문제가 될까?

답변1

  1. 프로그램 메뉴로 이동하거나 키보드에서 창을 눌러 표시하세요.

  2. 소프트웨어 및 업데이트 프로그램을 선택하거나 메뉴에서 검색하여 나타나서 엽니다.

  3. 업데이트 옵션이 "Ubuntu 소프트웨어 및 업데이트" 탭에 표시되어 있는지 확인하십시오. 동일한 프로그램에서 다른 소프트웨어 탭을 살펴볼 수도 있습니다.

  4. 비밀번호를 묻는 상자를 표시한 후 닫기를 클릭하고 새 창에서 다시 로드를 클릭하고 캐시 업데이트가 완료될 때까지 기다린 후 터미널에서 업데이트를 시도합니다.

관련 정보