繁体   English   中英

在 ubuntu 20.04 上安装 nodejs v18 时出错

[英]Error while installing nodejs v18 on ubuntu 20.04

我该如何解决这个错误?

在此处输入图像描述

当我尝试使用这些命令安装 nodejs v18 时出现此错误

curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - &&\
sudo apt-get install -y nodejs

错误:

E: Repository 'http://ppa.launchpad.net/lutris-team/lutris/ubuntu focal InRelease' changed its 'Label' value from 'Lutris stable' to 'lutris'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.

我尝试删除以前的节点版本,但没有用。

执行此命令:

sudo apt-get update --allow-releaseinfo-change

有关详细信息,请参阅apt手册页:

         --allow-releaseinfo-change
           Allow the update command to continue downloading data from
           a repository which changed its information of the release 
           contained in the repository indicating e.g a new major 
           release. APT will fail at the update command for such 
           repositories until the change is confirmed to ensure the
           user is prepared for the change. See also apt-secure(8) 
           for details on the concept and configuration

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM