
Node 10을 Node 12로 업그레이드하려고 할 때 Google에서 해결할 수 없는 문제가 발생했습니다. 내가 실행한 명령에 관계없이 항상 다음을 방지하는 두 가지 오류 중 하나가 발생합니다 sudo apt-get update
.
1)다음을 실행할 때 나타납니다 sudo rm -rf /var/lib/apt/lists/* && sudo rm -rf /etc/apt/sources.list.d/*
.
Reading package lists... Done
E: The repository 'https://kong.bintray.com/kong-deb eoan 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.
1.1)스택 트래블에서 발견한 사실은 다음과 같습니다 sudo rm -rf /var/lib/apt/lists/*
.
Err:10 https://kong.bintray.com/kong-deb eoan Release
404 Not Found [IP: 52.41.180.114 443]
2)을 실행하면 sudo apt-get update
다음이 표시됩니다.
pi@pop-os:~$ sudo apt-get update
Hit:1 http://us.archive.ubuntu.com/ubuntu eoan InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu eoan-security InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu eoan-updates InRelease
Hit:4 https://download.docker.com/linux/ubuntu eoan InRelease
Hit:5 http://us.archive.ubuntu.com/ubuntu eoan-backports InRelease
Hit:6 http://apt.pop-os.org/proprietary eoan InRelease
Ign:7 https://kong.bintray.com/kong-deb eoan InRelease
Err:8 https://kong.bintray.com/kong-deb eoan Release
404 Not Found [IP: 54.191.3.105 443]
Reading package lists... Done
E: The repository 'https://kong.bintray.com/kong-deb eoan 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.
여기서 무슨 일이 일어나고 있으며 Kong을 제거하거나 수정하려면 어떻게 해야 합니까 sudo apt-get update
?
추가 정보:
- 저는 Ubuntu 19.10을 직접 기반으로 한 Pop~_OS 19.10을 실행하고 있습니다.
- 나는 PPA가 없으며 불행하게도 명령 을 실행한 솔루션과 유사한 질문이
ppa
작동하지 않습니다.
답변1
디렉토리를 지워도 /etc/apt/sources.list.d/
도움이 되지 않으면 파일을 검사해야 합니다 /etc/apt/sources.list
. 아마도 잘못된 저장소가 거기에 나열되어 있을 것입니다.
다음과 같은지 확인하세요.
$ cat /etc/apt/sources.list
deb http://us.archive.ubuntu.com/ubuntu/ eoan main restricted
deb http://us.archive.ubuntu.com/ubuntu/ eoan-updates main restricted
deb http://us.archive.ubuntu.com/ubuntu/ eoan universe
deb http://us.archive.ubuntu.com/ubuntu/ eoan-updates universe
deb http://us.archive.ubuntu.com/ubuntu/ eoan multiverse
deb http://us.archive.ubuntu.com/ubuntu/ eoan-updates multiverse
deb http://archive.canonical.com/ubuntu eoan partner
deb http://security.ubuntu.com/ubuntu eoan-security main restricted
deb http://security.ubuntu.com/ubuntu eoan-security universe
deb http://security.ubuntu.com/ubuntu eoan-security multiverse
다음 명령을 사용하여 결함이 있는 저장소가 목록에 있는지 확인할 수 있습니다.
$ grep kong /etc/apt/sources.list
여러 파일에서 이를 찾아야 하는 경우 다음 명령을 사용하십시오.
$ grep kong /etc/apt/*
$ grep kong /etc/apt/*/*
두 번째 명령은 다음을 찾습니다.콩apt
폴더의 하위 디렉토리 에 있습니다 .