安装ES6 JS时出错-权限被拒绝

时间:2019-05-22 14:22:22

标签: javascript node.js command-line permissions

我创建了一个在JS ES6上进行训练的文件,但存在许多错误,无法安装Javascript。我没有在apt-secure(8)联机帮助页上解决该问题。写入〜节点时,命令行返回“ zsh:权限被拒绝”。

curl -sL https://deb.nodesource.com/setup_10.x |须藤-E bash-

在命令行上显示的内容:

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


## Populating apt-get cache...

+ apt-get update
Ign:1 http://fr.archive.ubuntu.com/ubuntu artful InRelease
Ign:2 http://security.ubuntu.com/ubuntu artful-security InRelease              
Ign:3 http://fr.archive.ubuntu.com/ubuntu artful-updates InRelease             
Err:4 http://security.ubuntu.com/ubuntu artful-security Release                
  404  Not Found [IP: 91.189.88.149 80]
Ign:5 http://fr.archive.ubuntu.com/ubuntu artful-backports InRelease           
Ign:6 http://dl.google.com/linux/chrome/deb stable InRelease                   
Ign:7 http://fr.archive.ubuntu.com/ubuntu artful-proposed InRelease            
Get:8 http://dl.google.com/linux/chrome/deb stable Release [943 B]             
Err:9 http://fr.archive.ubuntu.com/ubuntu artful Release                       
  404  Not Found [IP: 194.158.119.186 80]
Err:10 http://fr.archive.ubuntu.com/ubuntu artful-updates Release              
  404  Not Found [IP: 194.158.119.186 80]
Hit:11 https://dl.yarnpkg.com/debian stable InRelease                          
Get:12 http://dl.google.com/linux/chrome/deb stable Release.gpg [819 B]        
Err:13 http://fr.archive.ubuntu.com/ubuntu artful-backports Release            
  404  Not Found [IP: 194.158.119.186 80]
Get:14 https://deb.nodesource.com/node_8.x artful InRelease [4,622 B]          
Err:15 http://fr.archive.ubuntu.com/ubuntu artful-proposed Release             
  404  Not Found [IP: 194.158.119.186 80]
Hit:16 https://cli-assets.heroku.com/apt ./ InRelease                          
Hit:17 https://packages.microsoft.com/repos/vscode stable InRelease            
Hit:18 https://download.sublimetext.com apt/stable/ InRelease                  
Hit:19 https://packagecloud.io/slacktechnologies/slack/debian jessie InRelease 
Reading package lists... Done 
E: The repository 'http://security.ubuntu.com/ubuntu artful-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://fr.archive.ubuntu.com/ubuntu artful 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://fr.archive.ubuntu.com/ubuntu artful-updates 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://fr.archive.ubuntu.com/ubuntu artful-backports 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://fr.archive.ubuntu.com/ubuntu artful-proposed 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: Repository 'http://dl.google.com/linux/chrome/deb stable Release' changed its 'Origin' value from 'Google, Inc.' to 'Google LLC'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
Error executing command, exiting

0 个答案:

没有答案