새로운 kde 네온에 nodejs를 설치할 때 "E: 저장소 'http://deb.debian.org/debian bionic Release'에 릴리스 파일이 없습니다."

새로운 kde 네온에 nodejs를 설치할 때 "E: 저장소 'http://deb.debian.org/debian bionic Release'에 릴리스 파일이 없습니다."

이 명령을 실행합니다

sudo apt-get install curl software-properties-common
curl -sL https://deb.nodesource.com/setup_14.x | sudo bash -

kde 네온 및 오류 정보

## Installing the NodeSource Node.js 14.x repo...


## Populating apt-get cache...

+ apt-get update
Hit:1 http://by.archive.ubuntu.com/ubuntu bionic InRelease                             
Hit:2 http://by.archive.ubuntu.com/ubuntu bionic-updates InRelease                     
Hit:3 http://by.archive.ubuntu.com/ubuntu bionic-backports InRelease                   
Hit:4 http://security.ubuntu.com/ubuntu bionic-security InRelease                      
Hit:5 https://dl.yarnpkg.com/debian stable InRelease                                   
Ign:7 http://security.debian.org/debian-security bionic InRelease                      
Ign:8 http://deb.debian.org/debian bionic InRelease                                    
Get:9 http://archive.neon.kde.org/user bionic InRelease [153 kB]                       
Err:10 http://security.debian.org/debian-security bionic Release                       
  404  Not Found [IP: 151.101.112.204 80]
Hit:11 http://dl.google.com/linux/chrome/deb stable InRelease                          
Ign:12 http://deb.debian.org/debian bionic-updates InRelease                           
Err:13 http://deb.debian.org/debian bionic Release                                     
  404  Not Found [IP: 151.101.112.204 80]
Err:14 http://deb.debian.org/debian bionic-updates Release                             
  404  Not Found [IP: 151.101.112.204 80]
Hit:15 https://repo.skype.com/deb stable InRelease                              
Hit:6 https://packagecloud.io/slacktechnologies/slack/debian jessie InRelease          
Reading package lists... Done                                                          
E: The repository 'http://security.debian.org/debian-security 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://deb.debian.org/debian 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://deb.debian.org/debian 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.
Error executing command, exiting

답변1

또는 디렉터리 /etc/apt/sources.list의 파일에는 /etc/apt/sources.list.d/Ubuntu 버전 이름과 혼합된 Debian 패키지 소스가 포함되어 있습니다. 이러한 저장소는 존재하지 않습니다. 사용 중인 Ubuntu 버전에 적용 가능한 패키지 소스만 추가했는지 확인하세요.

달리기

grep -rl 'debian\.org/debian' /etc/apt/sources.list*

이러한 항목이 포함된 파일을 찾으십시오.

해당 파일을 편집하고 http://deb.debian.org/debian또는 http://security.debian.org/debian-security (예 sudo nano /etc/apt/sources.list: )이 포함된 모든 항목을 삭제하거나 해당 항목만 포함된 단일 파일인 경우 파일을 삭제합니다 /etc/apt/sources.list.d/.

그런 다음 실행

curl -sL https://deb.nodesource.com/setup_14.x | sudo bash -

또 바짝 따라붙었다

sudo apt-get install -y nodejs

설치하다 nodejs.

관련 정보