簡體   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