<p>See my answer <a href="https://bitcoin.stackexchange.com/a/24691/5757">here</a>.  Short version: if you upgrade your system OpenSSL libraries, it is not necessary to upgrade to Bitcoin Core 0.9.1.</p>

<p>(If someone will upvote the other answer, we can close this question as a duplicate of the other one.)</p>

CC BY-SA 3.0
2014-04-18T12:28:11.373Z
2014-04-18T12:28:11.373Z
2017-04-13T12:47:33.743Z
Nate Eldredge
<p>Don't use the Ubuntu PPA for bitcoin as <strong>it is outdated</strong>.</p>

<p>Instead, downlaod the generic Linux tarball. Don't worry, you don't have to compile anything, it contains binaries as well.</p>

<p>Download link: <a href="https://bitcoin.org/en/download" rel="nofollow">https://bitcoin.org/en/download</a></p>

<p>Unpack, and copy the binaries from bin/64 folder to /usr/local/bin</p>

<p>You can just copy&amp;paste this into your terminal:</p>

<pre><code>wget https://bitcoin.org/bin/0.9.1/bitcoin-0.9.1-linux.tar.gz
tar xvzf bitcoin-0.9.1-linux.tar.gz
cd bitcoin-0.9.1-linux/bin/64
sudo cp bitcoind bitcoin-cli bitcoin-qt /usr/local/bin
</code></pre>

CC BY-SA 3.0
2014-04-18T12:32:40.113Z
Have you actually tried this on Ubuntu 12.04?  I suspect it will not work, since Bitcoin Core 0.9.1 adds a dependency on OpenSSL 1.0.1g, which Ubuntu does not ship.  (They use an earlier version, but Heartbleed has been patched.)  See my answer.  So the result will probably just be a bitcoind that does not run.
Nate Eldredge
CC BY-SA 3.0
2014-04-18T12:34:01.103Z
For heartbleed, updating bitcoind is not the point; rather, you have to update your system OpenSSL libraries.  The Ubuntu PPA does supply Bitcoin Core 0.9.0, which is identical to 0.9.1 except for the OpenSSL dependency (which is wrong in this case anyway), so I wouldn't characterize it as "outdated".
Nate Eldredge
CC BY-SA 3.0
2014-04-18T12:38:01.480Z
Oh, I take it back; those binaries appear to have a statically linked OpenSSL.  But if you upgraded from source, you'd have a problem.
Nate Eldredge
CC BY-SA 3.0
2014-04-18T15:21:54.667Z
I've been watching the PPA for a while and it has always been at least one version behind (even a few days after 0.9 was released). So yes, it is permanently outdated and I don't recommend using it.
knaperek
CC BY-SA 3.0
2014-04-18T15:34:04.457Z
I tried what you suggested and ended up with "EXCEPTION: 13leveldb_error". I guess Nate Eldredge is right: It does nor work under Ubuntu 12.04!!!
Hubert Schölnast
CC BY-SA 3.0
2014-04-18T18:07:45.263Z
Don't have Ubuntu machine right now, but it's working on Debian Wheezy. You can try to run binaries with .static suffix instead. If that doesn't help, you'll need to install specific versions of libs to your system, or build it from source by yourself. P.S.: you can also try to upgrade Ubuntu to freshly released 14.04.
knaperek
CC BY-SA 3.0
2014-04-18T11:31:39.720Z
2014-04-18T11:38:45.427Z
2014-04-18T11:38:45.427Z
knaperek
<p>I am running bitcoind 9.0 on a server (without GUI) with Ubuntu 12.04 (Precise Pangolin)</p>

<p>When I enter in my shell</p>

<pre><code>bitcoind getinfo
</code></pre>

<p>I get</p>

<pre><code>{
    "version" : 90000,
    "protocolversion" : 70002,
    "walletversion" : 10500,
    ...
    "errors" : "URGENT: Upgrade required: see https://www.bitcoin.org/heartbleed"
}
</code></pre>

<p>When I go to <a href="https://www.bitcoin.org/heartbleed" rel="nofollow">https://www.bitcoin.org/heartbleed</a> I find a link to the download-page: <a href="https://bitcoin.org/en/download" rel="nofollow">https://bitcoin.org/en/download</a>. On this page is a link for Ubuntu:   </p>

<p><a href="https://launchpad.net/~bitcoin/+archive/bitcoin" rel="nofollow">https://launchpad.net/~bitcoin/+archive/bitcoin</a></p>

<p>There I can read, that I must add this lines to /etc/apt/sources.list</p>

<pre><code>deb http://ppa.launchpad.net/bitcoin/bitcoin/ubuntu precise main 
deb-src http://ppa.launchpad.net/bitcoin/bitcoin/ubuntu precise main
</code></pre>

<p>I already had entered this lines some weeks before (to be able to install version 0.9)</p>

<p>But when I enter</p>

<pre><code>bitcoind stop
apt-get update
apt-get upgrade
bitcoind 
bitcoind getinfo
</code></pre>

<p>I get exactly the same message:</p>

<pre><code>"version" : 90000,
...
"errors" : "URGENT: Upgrade required: see https://www.bitcoin.org/heartbleed"
</code></pre>

<p><strong>What must I do to get a version of bitcoind that is not vulnerable to heartbleed?</strong></p>

<ubuntu>
Heartbleed: When will bitcoind 0.9.1 be released for Ubuntu 12.04?
Hubert Schölnast
# Heartbleed: When will bitcoind 0.9.1 be released for Ubuntu 12.04?

(Asked by: username_0 on 2014-04-18)

I am running bitcoind 9.0 on a server (without GUI) with Ubuntu 12.04 (Precise Pangolin)
When I enter in my shell
bitcoind getinfo

I get
{
    "version" : 90000,
    "protocolversion" : 70002,
    "walletversion" : 10500,
    ...
    "errors" : "URGENT: Upgrade required: see https://www.bitcoin.org/heartbleed"
}

When I go to https://www.bitcoin.org/heartbleed I find a link to the download-page: https://bitcoin.org/en/download. On this page is a link for Ubuntu:   
https://launchpad.net/~bitcoin/+archive/bitcoin
There I can read, that I must add this lines to /etc/apt/sources.list
deb http://ppa.launchpad.net/bitcoin/bitcoin/ubuntu precise main 
deb-src http://ppa.launchpad.net/bitcoin/bitcoin/ubuntu precise main

I already had entered this lines some weeks before (to be able to install version 0.9)
But when I enter
bitcoind stop
apt-get update
apt-get upgrade
bitcoind 
bitcoind getinfo

I get exactly the same message:
"version" : 90000,
...
"errors" : "URGENT: Upgrade required: see https://www.bitcoin.org/heartbleed"

What must I do to get a version of bitcoind that is not vulnerable to heartbleed?

**Tags:** ubuntu


---

## 2 answers

### Answer by username_1 on 2014-04-18. Score: 1

See my answer [here](https://bitcoin.stackexchange.com/a/24691/5757). Short version: if you upgrade your system OpenSSL libraries, it is not necessary to upgrade to Bitcoin Core 0.9.1.

(If someone will upvote the other answer, we can close this question as a duplicate of the other one.)


---

### Answer by username_2 on 2014-04-18. Score: 0

Don't use the Ubuntu PPA for bitcoin as it is outdated.
Instead, downlaod the generic Linux tarball. Don't worry, you don't have to compile anything, it contains binaries as well.
Download link: https://bitcoin.org/en/download
Unpack, and copy the binaries from bin/64 folder to /usr/local/bin
You can just copy&paste this into your terminal:
wget https://bitcoin.org/bin/0.9.1/bitcoin-0.9.1-linux.tar.gz
tar xvzf bitcoin-0.9.1-linux.tar.gz
cd bitcoin-0.9.1-linux/bin/64
sudo cp bitcoind bitcoin-cli bitcoin-qt /usr/local/bin

> **Comments:**
> **username_1**: Have you actually tried this on Ubuntu 12.04?  I suspect it will not work, since Bitcoin Core 0.9.1 adds a dependency on OpenSSL 1.0.1g, which Ubuntu does not ship.  (They use an earlier version, but Heartbleed has been patched.)  See my answer.  So the result will probably just be a bitcoind that does not run.  
> **username_1**: For heartbleed, updating bitcoind is not the point; rather, you have to update your system OpenSSL libraries.  The Ubuntu PPA does supply Bitcoin Core 0.9.0, which is identical to 0.9.1 except for the OpenSSL dependency (which is wrong in this case anyway), so I wouldn't characterize it as "outdated".  
> **username_1**: Oh, I take it back; those binaries appear to have a statically linked OpenSSL.  But if you upgraded from source, you'd have a problem.  
> **username_2**: I've been watching the PPA for a while and it has always been at least one version behind (even a few days after 0.9 was released). So yes, it is permanently outdated and I don't recommend using it.  
> **username_0**: I tried what you suggested and ended up with "EXCEPTION: 13leveldb_error". I guess username_1 is right: It does nor work under Ubuntu 12.04!!!  
> **username_2**: Don't have Ubuntu machine right now, but it's working on Debian Wheezy. You can try to run binaries with .static suffix instead. If that doesn't help, you'll need to install specific versions of libs to your system, or build it from source by yourself. P.S.: you can also try to upgrade Ubuntu to freshly released 14.04.  

---

