web-dev-qa-db-ja.com

インストール中にgpgキーがタイムアウトするエラーGNU Ubuntu 18.04のOctave

次のコマンドを使用してOctaveをインストールしようとしました。

  1. Sudo add-apt-repository ppa:octave/stable

  2. Sudo apt update

  3. Sudo apt-get install octave

しかし、最初のコマンドを実行した後、次のエラーが発生します。

The latest version of GNU Octave built for all supported Ubuntu releases. GNU Octave is normally distributed with Ubuntu, this PPA is for you if you have a need to use a newer version of Octave than what you can already get from your installed version of Ubuntu.

Simply follow the instructions below to add this PPA to your system and install the octave package. If it's not that easy or you encounter any errors, contact the team and let us know.

Much credit goes to the Debian Octave Group who maintain the official Debian packages that this work is derived from. Without their efforts to bring Octave packaging to such a high level of quality in Debian and Debian derivatives, this PPA would not be here.
 More info: https://launchpad.net/~octave/+archive/ubuntu/stable
Press [ENTER] to continue or Ctrl-c to cancel adding it.

Error: retrieving gpg key timed out.

私はUbuntu 18.04を使用しています。この問題の解決を手伝ってください。

1
Genius

Octaveをインストールするには、インターネット上のほとんどすべての場所で、上記の3つのステップをお勧めします。

しかし このソフトウェアのPPA はUbuntuの古いバージョン(16.04 LTSおよび14.04 LTS)用です。また、明示的に追加する必要はありません。

ターミナルで次のコマンドを直接実行します。

Sudo apt install octave

正常に動作するはずです。お役に立てれば :)

1
Genius