shtoom пишет:Похоже такой финт ушамималожизнеспособен. Все же gdebi предпочтительнее будет. Не забудьте вернуть к исходному состоянию sources.list
Я переустановил ОС
Консоль:
Ubuntu 18.04.2 LTS \n \l
Консоль:
sudo apt-get install build-essential
sudo apt-get install libtool autotools-dev autoconf
sudo apt-get install libssl-dev
sudo apt-get install libboost-all-dev
sudo add-apt-repository ppa:bitcoin/bitcoin
Консоль:
add-apt-repository ppa:bitcoin/bitcoin
Консоль:
add-apt-repository ppa:bitcoin/bitcoin
NOT MAINTAINED. The OS-library linking packages here had a series of issues.
PLEASE DOWNLOAD DIRECTLY FROM bitcoincore.org (and verify the signatures of said files).
IF YOU WANT AUTO-UPDATES, please see the officially-maintained snap package -
github.com/bitcoin-core/packaging/tree/master/snap
More info: launchpad.net/~bitcoin/+archive/ubuntu/bitcoin
Press [ENTER] to continue or Ctrl-c to cancel adding it.
Hit:1 nl.archive.ubuntu.com/ubuntu bionic InRelease
Get:2 ppa.launchpad.net/bitcoin/bitcoin/ubuntu bionic InRelease [15.4 kB]
Hit:3 nl.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:4 nl.archive.ubuntu.com/ubuntu bionic-backports InRelease
Get:5 security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:6 ppa.launchpad.net/bitcoin/bitcoin/ubuntu bionic/main i386 Packages [2108 B]
Get:7 ppa.launchpad.net/bitcoin/bitcoin/ubuntu bionic/main amd64 Packages [2096 B]
Get:8 ppa.launchpad.net/bitcoin/bitcoin/ubuntu bionic/main Translation-en [1256 B]
Fetched 110 kB in 1s (113 kB/s)
Reading package lists... Done
Консоль:
sudo apt-get update
sudo apt-get install bitcoind
После выполнения последней команды
Консоль:
apt-get install bitcoind
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package bitcoind
sourse.list
#
# deb cdrom:[Ubuntu-Server 18.04.2 LTS _Bionic Beaver_ - Release amd64 (20190210)]/ bionic main restricted
# See help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb nl.archive.ubuntu.com/ubuntu/ bionic main restricted
# deb-src nl.archive.ubuntu.com/ubuntu/ bionic main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb nl.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
# deb-src nl.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb nl.archive.ubuntu.com/ubuntu/ bionic universe
# deb-src nl.archive.ubuntu.com/ubuntu/ bionic universe
deb nl.archive.ubuntu.com/ubuntu/ bionic-updates universe
# deb-src nl.archive.ubuntu.com/ubuntu/ bionic-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb nl.archive.ubuntu.com/ubuntu/ bionic multiverse
# deb-src nl.archive.ubuntu.com/ubuntu/ bionic multiverse
deb nl.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
# deb-src nl.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb nl.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
# deb-src nl.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb archive.canonical.com/ubuntu bionic partner
# deb-src archive.canonical.com/ubuntu bionic partner
deb security.ubuntu.com/ubuntu bionic-security main restricted
# deb-src security.ubuntu.com/ubuntu bionic-security main restricted
deb security.ubuntu.com/ubuntu bionic-security universe
# deb-src security.ubuntu.com/ubuntu bionic-security universe
deb security.ubuntu.com/ubuntu bionic-security multiverse
# deb-src security.ubuntu.com/ubuntu bionic-security multiverse
Более ничего не устанавливалось на данную OS. https:// и http:// удалил в данном посте, т.к. форум разрешает всего 2 ссылки.
*** Добавлено: 11.05.2020 20:21:18 ***
Консоль:
apt install snapd
snap install bitcoin-core
Произвожу установку с помощью snap. В данный момент происходит синхронизация блоков.
*** Добавлено: 11.05.2020 21:27:22 ***
Всего было выкачено 30Гб блоков, но их на самом деле больше 300Гб
В по пути
Консоль:
:/snap/bin# ls
Консоль:
bitcoin-core.cli bitcoin-core.daemon bitcoin-core.qt
три папки
Я могу узнать версию и вызвать помощь при помощи команд
bitcoin-core.cli --help
и bitcoin-core.cli --version
Консоль:
Bitcoin Core RPC client version v0.19.1
Но при вывозе команды -getinfo получаю ошибку
Консоль:
error: Could not connect to the server 127.0.0.1:8332
Make sure the bitcoind server is running and that you are connecting to the correct RPC port
Снова же вопросы, как мне изменить порт, т.к. я не знаю где находится файл конфигурации в данный момент.
Как перенести узел в /bitcoin
*** Добавлено: 11.05.2020 21:44:13 ***
Устанавливаю по другому
Консоль:
Последний вывод в терминале
Консоль:
make[2]: Leaving directory '/root/bitcoin/src'
make[1]: Leaving directory '/root/bitcoin/src'
Making all in doc/man
make[1]: Entering directory '/root/bitcoin/doc/man'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/root/bitcoin/doc/man'
make[1]: Entering directory '/root/bitcoin'
make[1]: Nothing to be done for 'all-am'.
make[1]: Leaving directory '/root/bitcoin'
root@SC134-S01:~/bitcoin# bitcoind --version
bitcoind: command not found
перехожу в папку /root/bitcoin
Консоль:
CONTRIBUTING.md Makefile README.md autom4te.cache config.log configure.ac doc libtool test
COPYING Makefile.am aclocal.m4 build-aux config.status contrib libbitcoinconsensus.pc share
INSTALL.md Makefile.in autogen.sh build_msvc configure depends libbitcoinconsensus.pc.in src
При вызове команды bitcoind -daemon получаю ошибку.
bitcoind: command not found
Подскажите, пожалуйста, что я делаю не так, уже и чистая ОС как видите... Очень нужна Ваша помощь.