0

I am trying to fix openssl heartbleed bug on my server. I read that I can update the openssl version with the following command:

sudo apt-get install openssl libssl1.0.0

But when i try to run this command i get error like this:

libssl-dev : Depends: libssl1.0.0 (= 1.0.1-4ubuntu5.10) but 1.0.1-4ubuntu5.17 is to be installed
redis-server : Depends: redis-tools (= 2:2.8.9-1chl1~precise1) but 2:2.8.12-1chl1~precise1 is to be installed

and it asks me to run 'apt-get -f install'. When i try to run this command it tries to remove the redis-server. I cannot remove redis-server as my web app needs it. This is the error i get:

The following packages will be REMOVED:
redis-server
The following held packages will be changed:
redis-server

Is there any way to fix the heartbleed without removing the redis-server. I tried to hold the package using:

sudo apt-mark hold redis-tools redis-server

It holds the package but when I try to run sudo apt-get -f install to fix the openssl issue it still tries to remove the redis-server with same message as above.

Please help. Is there a way to fix heartbleed without removing redis-server and without recompiling the openssl.

  • 1
    What version of Ubuntu is this? And why did you hold redis-server? – Michael Hampton Sep 29 '14 at 20:12
  • Also, Is there some reason why you aren't doing apt-get dist-upgrade to just update all your software? – Zoredache Sep 29 '14 at 20:14
  • @MichaelHampton it is Ubuntu 12.04.3 LTS, i hold it so that it doesn't get removed when updating. I hope that's what its for. But it still tries to remove redis-server when updating. – maths Sep 29 '14 at 20:15
  • No, why did you hold redis-server before this issue ever arose? You should remove the hold and try again. – Michael Hampton Sep 29 '14 at 20:16
  • Where did you get redis from? There doesn't appear to be a 12.04 version of redis that includes a package named redis-tools. I would guess whatever unofficial repo you are using isn't being properly maintained or something and is incompatible with an updated version of ssl. Find a new source for redis. – Zoredache Sep 29 '14 at 20:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.