Ubuntu関連のリポジトリを追加し、Debianで更新する効果をキャンセルします。

Ubuntu関連のリポジトリを追加し、Debianで更新する効果をキャンセルします。

長すぎます。

Debian でこのエラーを修正する方法

E: The repository 'https://deb.nodesource.com/node_current.x nodistro 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.

エラーが発生した場合

sudo add-apt-repository ppa:agornostal/ulauncher -y && sudo apt update

Ubuntu用に設計されたものは何ですか?

完全な物語

インストールしたいウレンチェDebian 11 システムで次のコマンドを探しています。Ubuntu(Debian)リンクされたページで次のコマンドを実行します。

sudo add-apt-repository universe -y && sudo add-apt-repository ppa:agornostal/ulauncher -y && sudo apt update && sudo apt install ulauncher

失敗した、それが目的だったからPPA(Ubuntu)経由でインストール、私はそれを読んでいません。なぜならUbuntu(Debian)上記は、これらのガイドラインが一般的であると信じていました(私は通常ArchLinuxユーザーなので、UbuntuやDebianにアイテムをインストールすることに慣れていません)。

エラーは簡単です

Error: 'universe' invalid

だから私は実行しようとしています

sudo add-apt-repository ppa:agornostal/ulauncher -y && sudo apt update && sudo apt install ulauncher

失敗した

E: The repository 'http://ppa.launchpad.net/agornostal/ulauncher/ubuntu noble 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 'https://deb.nodesource.com/node_current.x nodistro 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.

それから私は命令をもっと注意深く読んで、Debianではこのコマンドを実行する必要があることに気づきました。

sudo apt update && sudo apt install -y gnupg
gpg --keyserver keyserver.ubuntu.com --recv 0xfaf1020699503176
gpg --export 0xfaf1020699503176 | sudo tee /usr/share/keyrings/ulauncher-archive-keyring.gpg > /dev/null
echo "deb [signed-by=/usr/share/keyrings/ulauncher-archive-keyring.gpg] \
          http://ppa.launchpad.net/agornostal/ulauncher/ubuntu jammy main" \
          | sudo tee /etc/apt/sources.list.d/ulauncher-jammy.list
sudo apt update && sudo apt install ulauncher

それで試してみましたが、エラーはまだ上記と同じであるため、Ubuntuの最初の試みを何とか取り消す必要があることに気づきました。私はこれを試しました:

sudo add-apt-repository -r ppa:agornostal/ulauncher

したがって、Debian 固有のディレクティブの最初のコマンドは

sudo apt update && sudo apt install -y gnupg

それでもエラーがありますが、いくつかのエラーが少なくなります。

E: The repository 'https://deb.nodesource.com/node_current.x nodistro 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.

どうすれば解決できますか?

ベストアンサー1

〜のようにマーカス・ミュラーは言います。、残りのエラーはUlauncherのインストールとは無関係のようです。

このエラーを解決するには:

  • Node.jsリポジトリを維持し、そのキーを追加します。Node.jsディレクティブ:

    curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key |
    sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
    
  • またはリポジトリを削除します。

    rm /etc/apt/sources.list.d/nodesource.list
    

    (このファイルにリポジトリが定義されていると仮定)。

おすすめ記事