Author

Topic: Updating Bitcoin Core (Read 314 times)

legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
October 28, 2017, 02:43:51 PM
#2
Quote
# apt-cache show bitcoind
Package: bitcoind
Source: bitcoin
Version: 0.15.0.1~dfsg-1
Installed-Size: 5823

But real version is:
Quote
# bitcoin-cli getinfo
  'version' => 120100,
Could it be you now have 2 versions installed on different locations, with the oldest first in the default path?

Try:
Code:
bitcoin-cli --version
bitcoind --version

Or:
Code:
pwd bitcoin-cli
pwd bitcoind
member
Activity: 70
Merit: 10
October 28, 2017, 10:56:37 AM
#1
Hello, guys!
I have installed Bitcoind + RPC-JSON
version is 0.12.1

Now I want to update Bitcoind to up-to-date 0.15.0.1.

I have Debian 8.9 (jessie)
I have updated it through repositories, because don't want to delete-download and kill all previous configs.

First of all I have loaded /etc/apt/sources.list with unstable sources - https://packages.debian.org/sid/bitcoind. Because bitcoind is available only as sid(unstable):
Quote
# Unstable
deb http://ftp.debian.org/debian unstable main contrib non-free
deb-src http://ftp.debian.org/debian unstable main contrib non-free
Than installed
Quote
apt-get install bitcoind/unstable
Seems, everything is installed

But now I have strange situation. Bitcoind is seems 0.15.0.1
Quote
# apt-cache policy bitcoind
bitcoind:
  Installed: 0.15.0.1~dfsg-1
  Candidate: 0.15.0.1~dfsg-1
  Version table:
 *** 0.15.0.1~dfsg-1 0
        500 http://ftp.debian.org/debian/ unstable/main amd64 Packages
        100 /var/lib/dpkg/status
Quote
# apt-cache show bitcoind
Package: bitcoind
Source: bitcoin
Version: 0.15.0.1~dfsg-1
Installed-Size: 5823

But real version is:
Quote
# bitcoin-cli getinfo
  'version' => 120100,
  'protocolversion' => 70012,
  'walletversion' => 60000,
  'balance' =>***,
  'blocks' => 492091,
  'timeoffset' => 0,
  'connections' => 11,
  'proxy' => '',
  'difficulty' => 1452839779145.9189,
  'testnet' => false,
  'paytxfee' => 0,
  'relayfee' => 1.0000000000000001E-5,
  'errors' => 'Warning: unknown new rules activated (versionbit 1)',
)
Why is it so?
How to fix all this? How to update correctly to 0.15.0.1 ?
Jump to: