我在Ubuntu v20 VPS系统上安装bitcoind有问题。我如何尝试用正式的教程来完成它:
“如果使用Ubuntu,就不需要从源代码编译bitcoind和比特币-cli。您可以简单地添加官方的比特币PPA。”
这是我的命令:
sudo apt-get install software-properties-common
sudo apt-add-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install bitcoind
当我试图添加存储库时,我得到了这个有趣的错误消息,当我继续输入时,系统似乎已经完成了,但实际上它并没有添加存储库!!
当我输入这个命令时,我得到了这样的消息:命令: sudo apt-add存储库ppa:比特币/比特币错误:
root@vultr:~# sudo添加存储库ppa:比特币/比特币未维护。这里的OS-库链接包有一系列问题。
请直接从bitcoincore.org下载(并验证上述文件的签名)。
如果您想要自动更新,请查看官方维护的snap包- https://github.com/bitcoin-core/packaging/tree/master/snap更多信息:https://launchpad.net/~bitcoin/+archive/ubuntu/bitcoin按回车继续或Ctrl取消添加它。
然后,当我按Enter继续时,我将得到以下消息:
Ign:1 http://ppa.launchpad.net/bitcoin/bitcoin/ubuntu focal InRelease
Err:2 http://ppa.launchpad.net/bitcoin/bitcoin/ubuntu focal Release
404 Not Found [IP: 91.189.95.83 80]
Hit:3 http://archive.ubuntu.com/ubuntu focal InRelease
Get:4 http://archive.ubuntu.com/ubuntu focal-updates InRelease [107 kB]
Get:5 http://archive.ubuntu.com/ubuntu focal-backports InRelease [98.3 kB]
Get:6 http://security.ubuntu.com/ubuntu focal-security InRelease [107 kB]
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/bitcoin/bitcoin/ubuntu focal 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时,就会得到更新。
当更新完成后,我尝试推命令: sudo apt-get install bitcoind。
我得到了一条错误信息:
root@vultr:~# sudo apt-get install bitcoind
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package bitcoind
root@vultr:~#
请指出我的解决方案,或告诉我哪里是我的错误,这是我见过的最大的问题,直到现在。我对ubuntu和vps不太在行,这对我来说是不可能的,非常感谢!
发布于 2020-06-12 19:00:18
我去了bitcoin.org网站,找到了tar.gz上一枚比特币的链接。
对于我的例子,我这样做:输入ubuntu
wget https://bitcoin.org/bin/bitcoin-core-0.20.0/bitcoin-0.20.0-x86_64-linux-gnu.tar.gz
然后我打开我的tar.gz
tar -xvf比特币-0.20.0-x86_64-linux-gnu.tar.gz
然后转到比特币文件夹,将文件移动到/usr/local/bin
然后我简单地用
bitcoind -daemon
若要在后台运行它:)
希望这会有所帮助:)
https://stackoverflow.com/questions/61991931
复制相似问题