前提・実現したいこと
railsでwebサイトを製作中のものです。Ubuntu 20.04にRedisをインストールしてセキュリティを保護する方法を参考にredisをインストールしようとしたところ、記事一文目のsudo apt update
でエラーがで困っています。
発生している問題・エラーメッセージ
ubuntu
$ sudo apt update Hit:1 http://apt.postgresql.org/pub/repos/apt focal-pgdg InRelease Hit:2 https://download.docker.com/linux/ubuntu focal InRelease Hit:3 http://archive.ubuntu.com/ubuntu focal InRelease Hit:4 https://cli-assets.heroku.com/apt ./ InRelease Hit:5 http://security.ubuntu.com/ubuntu focal-security InRelease Hit:6 http://archive.ubuntu.com/ubuntu focal-updates InRelease Hit:7 http://archive.ubuntu.com/ubuntu focal-backports InRelease Get:8 https://packagecloud.io/arkane-systems/wsl-translinux/ubuntu focal InRelease [23.3 kB] Err:8 https://packagecloud.io/arkane-systems/wsl-translinux/ubuntu focal InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 275C8016FF22AFF7 Reading package lists... Done W: GPG error: https://packagecloud.io/arkane-systems/wsl-translinux/ubuntu focal InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 275C8016FF22AFF7 E: The repository 'https://packagecloud.io/arkane-systems/wsl-translinux/ubuntu focal InRelease' 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.
試したこと
Ubuntuにて「apt update」にエラーが出るときの対処を参考に共通鍵を所得しようと試みましたが見つからないと言われました。"https://packagecloud.io/arkane-systems/wsl-translinux/ubuntu"にweb上でアクセスしてみましたがページはありませんでした。
ubuntu
$ curl -sS https://packagecloud.io/arkane-systems/wsl-translinux/pubkey.gpg | sudo apt-key add - gpg: no valid OpenPGP data found.
エラーが出るパッケージを削除しようとしましたがurlからどのパッケージか判断できず、どのパッケージを消せばいいかわかりません。。。
補足情報(FW/ツールのバージョンなど)
環境
ubuntu20.04(wsl2)
エラーがでるパッケージは一月ほど前WSL2でsystemdを使えるようにした話を参考に入れました。しかしうまく行かなかったので削除して問題ないと思っています。
まだ回答がついていません
会員登録して回答してみよう