다른 국가로 이사 한 후 아무것도 업데이트하거나 설치할 수 없습니다.

Singrium

며칠 전에 PC에 Ubuntu를 설치했는데 모든 것이 잘 작동합니다.
다른 나라로 여행을 갔는데 아직 거기에 있습니다. 따라서 업데이트를 실행하거나 Ubuntu Software에서 무엇이든 설치하려고 할 때마다 인터넷이 잘 작동하고 PC를 사용하여 인터넷에 액세스 할 수 있지만 아무 것도 작동하지 않습니다 (지금이 줄을 작성하는 데 사용하고 있습니다).
현재 내가있는 국가의 서버 중 하나로 서버를 변경하려고했지만 작동하지 않았습니다. 그래서 우분투 메인 서버로 변경했지만 작동하지 않았습니다.
내 PC, 실행을 다시 시작 sudo apt autoclean하고 sudo apt clean, 아무것도 변경되지 않습니다.
업데이트 프로세스를 실행할 때마다 여전히 이러한 오류가 발생합니다.

sudo apt update
Ign:1 http://archive.canonical.com/ubuntu bionic InRelease
Err:2 http://archive.canonical.com/ubuntu bionic Release
  404  Not Found [IP: 91.189.92.191 80]
Ign:3 http://archive.ubuntu.com/ubuntu bionic InRelease
Ign:4 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Ign:5 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
Ign:6 http://archive.ubuntu.com/ubuntu bionic-security InRelease
Err:7 http://archive.ubuntu.com/ubuntu bionic Release
  404  Not Found [IP: 91.189.88.174 80]
Err:8 http://archive.ubuntu.com/ubuntu bionic-updates Release
  404  Not Found [IP: 91.189.88.174 80]
Err:9 http://archive.ubuntu.com/ubuntu bionic-backports Release
  404  Not Found [IP: 91.189.88.174 80]
Err:10 http://archive.ubuntu.com/ubuntu bionic-security Release
  404  Not Found [IP: 91.189.88.174 80]
Reading package lists... Done
E: The repository 'http://archive.canonical.com/ubuntu bionic Release' no longer has 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.
E: The repository 'http://archive.ubuntu.com/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.
E: The repository 'http://archive.ubuntu.com/ubuntu bionic-updates 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.
E: The repository 'http://archive.ubuntu.com/ubuntu bionic-backports 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.
E: The repository 'http://archive.ubuntu.com/ubuntu bionic-security 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.

누구든지 이것을 고치는 방법을 알고 있습니까?

편집 :
문제는 .NET 에 올바른 링크 없다는 것이 아닙니다/etc/apt/sources.list . 내 문제는 내가 업데이트를 실행하면 터미널에 표시되는 링크가 나는에있는 것과 유사하지 않은 것입니다 /etc/apt/sources.list내가 업데이트 또한시 /etc/apt/sources.listRaffa가 말했다, 나는 아직도 유사한 오류를 얻을.

sudo apt update 
Ign:1 http://archive.ubuntu.com/ubuntu bionic InRelease
Ign:2 http://security.ubuntu.com/ubuntu bionic-security InRelease
Ign:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Err:4 http://security.ubuntu.com/ubuntu bionic-security Release
  404  Not Found [IP: 91.189.91.14 80]
Err:5 http://archive.ubuntu.com/ubuntu bionic Release
  404  Not Found [IP: 91.189.88.31 80]
Err:6 http://archive.ubuntu.com/ubuntu bionic-updates Release
  404  Not Found [IP: 91.189.88.31 80]
Reading package lists... Done
E: The repository 'http://security.ubuntu.com/ubuntu bionic-security Release' no longer has 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.
E: The repository 'http://archive.ubuntu.com/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.
E: The repository 'http://archive.ubuntu.com/ubuntu bionic-updates 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.

Raffa가/etc/apt/sources.list 언급 한 링크가 포함되어 있지만

cat /etc/apt/sources.list
deb http://archive.ubuntu.com/ubuntu bionic main universe multiverse restricted
deb http://security.ubuntu.com/ubuntu/ bionic-security main multiverse universe restricted
deb http://archive.ubuntu.com/ubuntu bionic-updates main multiverse universe restricted
라파

어떤 이유로 APT는 Release지정된 저장소 목록에서 파일을 찾을 수 없습니다 .

이 문제를 해결하려면 다음을 제안합니다.

  • 인터넷 연결이 방화벽 뒤에 있는지, 어떤 식 으로든 제한되거나 프록시 뒤에 있는지 확인하고 그에 따라 시스템과 연결을 구성하거나 가능한 경우 다른 연결로 변경하십시오.

  • 다음 명령을 실행하여 APT 프록시 구성 파일이 있는지 확인하십시오.

ls /etc/apt/apt.conf.d/*proxy*

명령이 결과를 반환하면 이러한 파일을 /etc/apt/apt.conf.d/디렉터리 밖으로 이동 하거나 삭제합니다.

  • 터미널에서 다음 명령을 실행하여 저장소 목록을 원래 Ubuntu Bionic Beaver 목록으로 되돌립니다.
sudo nano /etc/apt/sources.list

파일 편집기가 열립니다. 그 안에있는 모든 줄을 삭제하고 파일 편집기에서 다음을 복사하여 붙여 넣습니다.

deb http://archive.ubuntu.com/ubuntu bionic main universe multiverse restricted
deb http://security.ubuntu.com/ubuntu/ bionic-security main multiverse universe restricted
deb http://archive.ubuntu.com/ubuntu bionic-updates main multiverse universe restricted

그런 다음 Ctrl+ X를 눌러 파일을 저장하고 닫은 Y다음Enter

파일을 올바르게 저장했는지 확인하려면 터미널에서 다음 명령을 실행하십시오.

cat /etc/apt/sources.list

출력은 정확히 다음과 같아야합니다.

deb http://archive.ubuntu.com/ubuntu bionic main universe multiverse restricted
deb http://security.ubuntu.com/ubuntu/ bionic-security main multiverse universe restricted
deb http://archive.ubuntu.com/ubuntu bionic-updates main multiverse universe restricted

Ubuntu 리포지토리에는 정의 된 형식이 있습니다. 예를 들어 deb http://archive.ubuntu.com/ubuntu bionic main.

설명:

deb: 이러한 저장소에는 바이너리 또는 사전 컴파일 된 패키지가 포함되어 있습니다. 이러한 저장소는 대부분의 사용자에게 필요합니다.

http://archive.ubuntu.com/ubuntu: URI (Uniform Resource Identifier),이 경우 인터넷상의 위치.

bionic: Ubuntu 설치의 릴리스 이름입니다.

main& restricted... etc : 섹션 이름 또는 구성 요소입니다. 공백으로 구분 된 여러 섹션 이름이있을 수 있습니다.


그 후 터미널에서 다음 명령을 실행하여 저장소 목록을 업데이트하십시오.

sudo apt update

이제 패키지를 설치하고 시스템을 다시 업데이트 할 수 있습니다.


주의:

여전히 오류가 발생하면 먼저 /etc/apt/sources.list.d/터미널에서 다음 명령을 실행하여 홈 디렉토리에 백업 하십시오.

mkdir ~/old_sources_list_d && sudo cp -r /etc/apt/sources.list.d/* ~/old_sources_list_d/

그 후 /etc/apt/sources.list.d/터미널에서 다음 명령을 실행하여 기존의 모든 PPA 및 저장소 목록을 지우십시오 .

sudo rm /etc/apt/sources.list.d/*

그런 다음 터미널에서 다음 명령을 다시 실행하여 저장소 목록을 업데이트하십시오.

sudo apt update

이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.

침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제

에서 수정
0

몇 마디 만하겠습니다

0리뷰
로그인참여 후 검토

관련 기사

분류에서Dev

다른 국가로 이사 한 후 아무것도 업데이트하거나 설치할 수 없습니다.

분류에서Dev

다른 국가로 이사 한 후 아무것도 업데이트하거나 설치할 수 없습니다.

분류에서Dev

lxde를 제거한 후 아무것도 업데이트 할 수 없습니다. 오류가 나타납니다.

분류에서Dev

아무것도 업데이트하거나 설치할 수 없습니다.

분류에서Dev

Ubuntu 12.04.3을 설치 한 후 "Welcome To Grub!"이라는 메시지가 나타납니다. 하지만 입력하거나 아무것도 할 수 없습니다.

분류에서Dev

잘못된 명령 후 아무것도 설정하거나 업데이트 할 수 없습니다.

분류에서Dev

잘못된 명령 후 아무것도 설정하거나 업데이트 할 수 없습니다.

분류에서Dev

Debian을 설치 한 후 업데이트 할 수 없습니다.

분류에서Dev

업데이트 후 Flash Player를 업데이트하거나 다시 설치할 수 없습니다.

분류에서Dev

업데이트 후 Flash Player를 업데이트하거나 다시 설치할 수 없습니다.

분류에서Dev

.deb를 설치하려고했는데 이제 아무것도 업데이트하거나 설치할 수 없습니다.

분류에서Dev

USB에 Ubuntu를 설치 한 후 아무것도 할 수 없습니다.

분류에서Dev

Ubuntu 14.04에서 Ubuntu 16.04로 업그레이드 한 후 시스템 설정에 액세스하거나 소프트웨어를 설치할 수 없습니다.

분류에서Dev

apt-get을 어떻게 수정합니까? 아무것도 설치하거나 업데이트 할 수 없습니다.

분류에서Dev

우분투를 설치 한 후에도 다른 운영 체제를 업데이트 할 수 있습니까?

분류에서Dev

거의 아무것도 설치할 수 없습니다 ... 불안정한 winbind

분류에서Dev

우분투 14.10에서 아무것도 설치하지 않고 업데이트 할 수 없습니다.

분류에서Dev

homebrew에서 설치 한 후 ffmpeg가 작동하도록 할 수 없습니다.

분류에서Dev

Ubuntu 15.10 및 gnome-session-flashback을 포맷하고 설치 한 후 바탕 화면 아이콘을 보거나 아무것도 바탕 화면으로 끌 수 없습니다.

분류에서Dev

nvidia 드라이버를 설치 한 후 컴퓨터가 잠기고 tty에 도달 할 수 없습니다.

분류에서Dev

postgres를 설치 한 후에는 구성 파일이 없습니다. 하나 추가 할 수 있습니까?

분류에서Dev

postgres를 설치 한 후에는 구성 파일이 없습니다. 하나 추가 할 수 있습니까?

분류에서Dev

PHP에서 cURL 이후에 아무것도 에코 할 수 없습니다.

분류에서Dev

업데이트 후에도 apt-get 또는 apt에서 아무것도 다운로드 할 수 없습니까?

분류에서Dev

debconf가 손상되어 더 이상 아무것도 설치할 수 없습니다.

분류에서Dev

NodeJS 용 mongojs 모듈을 로컬로 업데이트하거나 설치할 수 없습니다.

분류에서Dev

Windows 10을 새로 설치 한 후 레거시 모드가 아니면 부팅 할 수 없습니다.

분류에서Dev

소프트웨어를 업데이트 할 수없고, 아무것도 설치할 수 없으며, 업그레이드 할 수 없습니다.

분류에서Dev

sendmail을 설치하거나 Ubuntu를 업데이트 할 수 없습니다.

Related 관련 기사

  1. 1

    다른 국가로 이사 한 후 아무것도 업데이트하거나 설치할 수 없습니다.

  2. 2

    다른 국가로 이사 한 후 아무것도 업데이트하거나 설치할 수 없습니다.

  3. 3

    lxde를 제거한 후 아무것도 업데이트 할 수 없습니다. 오류가 나타납니다.

  4. 4

    아무것도 업데이트하거나 설치할 수 없습니다.

  5. 5

    Ubuntu 12.04.3을 설치 한 후 "Welcome To Grub!"이라는 메시지가 나타납니다. 하지만 입력하거나 아무것도 할 수 없습니다.

  6. 6

    잘못된 명령 후 아무것도 설정하거나 업데이트 할 수 없습니다.

  7. 7

    잘못된 명령 후 아무것도 설정하거나 업데이트 할 수 없습니다.

  8. 8

    Debian을 설치 한 후 업데이트 할 수 없습니다.

  9. 9

    업데이트 후 Flash Player를 업데이트하거나 다시 설치할 수 없습니다.

  10. 10

    업데이트 후 Flash Player를 업데이트하거나 다시 설치할 수 없습니다.

  11. 11

    .deb를 설치하려고했는데 이제 아무것도 업데이트하거나 설치할 수 없습니다.

  12. 12

    USB에 Ubuntu를 설치 한 후 아무것도 할 수 없습니다.

  13. 13

    Ubuntu 14.04에서 Ubuntu 16.04로 업그레이드 한 후 시스템 설정에 액세스하거나 소프트웨어를 설치할 수 없습니다.

  14. 14

    apt-get을 어떻게 수정합니까? 아무것도 설치하거나 업데이트 할 수 없습니다.

  15. 15

    우분투를 설치 한 후에도 다른 운영 체제를 업데이트 할 수 있습니까?

  16. 16

    거의 아무것도 설치할 수 없습니다 ... 불안정한 winbind

  17. 17

    우분투 14.10에서 아무것도 설치하지 않고 업데이트 할 수 없습니다.

  18. 18

    homebrew에서 설치 한 후 ffmpeg가 작동하도록 할 수 없습니다.

  19. 19

    Ubuntu 15.10 및 gnome-session-flashback을 포맷하고 설치 한 후 바탕 화면 아이콘을 보거나 아무것도 바탕 화면으로 끌 수 없습니다.

  20. 20

    nvidia 드라이버를 설치 한 후 컴퓨터가 잠기고 tty에 도달 할 수 없습니다.

  21. 21

    postgres를 설치 한 후에는 구성 파일이 없습니다. 하나 추가 할 수 있습니까?

  22. 22

    postgres를 설치 한 후에는 구성 파일이 없습니다. 하나 추가 할 수 있습니까?

  23. 23

    PHP에서 cURL 이후에 아무것도 에코 할 수 없습니다.

  24. 24

    업데이트 후에도 apt-get 또는 apt에서 아무것도 다운로드 할 수 없습니까?

  25. 25

    debconf가 손상되어 더 이상 아무것도 설치할 수 없습니다.

  26. 26

    NodeJS 용 mongojs 모듈을 로컬로 업데이트하거나 설치할 수 없습니다.

  27. 27

    Windows 10을 새로 설치 한 후 레거시 모드가 아니면 부팅 할 수 없습니다.

  28. 28

    소프트웨어를 업데이트 할 수없고, 아무것도 설치할 수 없으며, 업그레이드 할 수 없습니다.

  29. 29

    sendmail을 설치하거나 Ubuntu를 업데이트 할 수 없습니다.

뜨겁다태그

보관