Bitcoin Forum
May 02, 2024, 07:52:56 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Updating Bitcoin Core  (Read 297 times)
topkurs (OP)
Member
**
Offline Offline

Activity: 70
Merit: 10


View Profile
October 28, 2017, 03:56:37 PM
 #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 ?
1714636376
Hero Member
*
Offline Offline

Posts: 1714636376

View Profile Personal Message (Offline)

Ignore
1714636376
Reply with quote  #2

1714636376
Report to moderator
1714636376
Hero Member
*
Offline Offline

Posts: 1714636376

View Profile Personal Message (Offline)

Ignore
1714636376
Reply with quote  #2

1714636376
Report to moderator
There are several different types of Bitcoin clients. The most secure are full nodes like Bitcoin Core, but full nodes are more resource-heavy, and they must do a lengthy initial syncing process. As a result, lightweight clients with somewhat less security are commonly used.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714636376
Hero Member
*
Offline Offline

Posts: 1714636376

View Profile Personal Message (Offline)

Ignore
1714636376
Reply with quote  #2

1714636376
Report to moderator
LoyceV
Legendary
*
Offline Offline

Activity: 3304
Merit: 16583


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
October 28, 2017, 07: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

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!