Ошибка обновления Ubuntu и не может установить последнюю версию nodejs - PullRequest
0 голосов
/ 22 октября 2019

когда я обновляю свою Ubuntu, я получаю длинную строку сообщений об ошибках и предупреждений, а также некоторые из ppa не могут быть обновлены, как nodejs.

youngjinkim@vm-youngjinkim:~$ sudo apt-get update          
Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:2 http://kr.archive.ubuntu.com/ubuntu bionic InRelease                                                                                       
Hit:3 http://kr.archive.ubuntu.com/ubuntu bionic-updates InRelease                                                                               
Hit:4 http://kr.archive.ubuntu.com/ubuntu bionic-backports InRelease                                                                             
Ign:5 http://repos.azulsystems.com/ubuntu stable InRelease                                                                                       
Get:6 http://repos.azulsystems.com/ubuntu stable Release [8604 B]                                                                                     
Get:7 http://repos.azulsystems.com/ubuntu stable Release.gpg [819 B]                                                                                           
Ign:8 http://dl.google.com/linux/chrome/deb stable InRelease                                                                                                     
Hit:9 http://dl.google.com/linux/chrome/deb stable Release                                                                      
Hit:10 https://packages.microsoft.com/repos/vscode stable InRelease                                                             
Hit:11 http://ppa.launchpad.net/ansible/ansible/ubuntu bionic InRelease  
Ign:7 http://repos.azulsystems.com/ubuntu stable Release.gpg
Ign:13 http://ppa.launchpad.net/docky-core/stable/ubuntu bionic InRelease
Hit:14 http://ppa.launchpad.net/noobslab/icons/ubuntu bionic InRelease
Hit:15 http://ppa.launchpad.net/noobslab/themes/ubuntu bionic InRelease
Err:16 http://ppa.launchpad.net/docky-core/stable/ubuntu bionic Release
  404  Not Found [IP: 172.30.252.31 8080]
Reading package lists... Done
W: GPG error: http://repos.azulsystems.com/ubuntu stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B1998361219BD9C9
E: The repository 'http://repos.azulsystems.com/ubuntu stable Release' is not signed.
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: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/vscode.list:3
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/vscode.list:3
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/vscode.list:3
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/vscode.list:3
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/vscode.list:3
W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/vscode.list:3
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/vscode.list:3
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/vscode.list:3
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/vscode.list:3
E: The repository 'http://ppa.launchpad.net/docky-core/stable/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.
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/vscode.list:3
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/vscode.list:3
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/vscode.list:3
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/vscode.list:3
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/vscode.list:3
W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/vscode.list:3
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/vscode.list:3
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/vscode.list:3
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/vscode.list:3

Я хочу обновить политику кэширования nodejs, но когда я делаю этоОбновление, я получил это сообщение, а затем я проверил, что nodsjs ppa версия 8, поэтому я не могу установить последнюю версию nodejs.

и я распознаю W: warining, E: error, но что такое N ??

1 Ответ

0 голосов
/ 08 ноября 2019

Я решаю проблему с помощью

  • шаг 1: установка vim

    $ sudo apt-get install vim  
    
  • шаг 2: введите список источников ошибокНапример:

    $ sudo vim /etc/apt/sources.list
    
  • шаг 3: закомментируйте строку об ошибке, и проблема будет решена.
...