Bitcoin Forum
November 06, 2024, 12:22:58 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: [ Fixed ] Problem on Ubuntu  (Read 4784 times)
HardcoreSuperstar (OP)
Full Member
***
Offline Offline

Activity: 238
Merit: 100


★YoBit.Net★ 350+ Coins Exchange & Dice


View Profile
October 05, 2015, 08:27:30 PM
Last edit: October 09, 2015, 07:40:32 PM by HardcoreSuperstar
 #1

I'm trying to install BItcoin-qt by the terminal, on the latest version of Ubuntu, but it doesn't install.

I see this message:



The following packages have unmet dependencies:
 bitcoin-qt : Depends: libboost-chrono1.55.0 but it is not installable
              Depends: libboost-program-options1.55.0 but it is not installable
              Depends: libboost-thread1.55.0 but it is not installable
              Depends: libqrencode3 (>= 3.2.0) but it is not installable
E: Unable to correct problems, you have held broken packages.




How can I fix it?

achow101
Moderator
Legendary
*
Offline Offline

Activity: 3542
Merit: 6885


Just writing some code


View Profile WWW
October 05, 2015, 08:39:36 PM
 #2

Use the command
Code:
sudo apt-get -f install

coinpr0n
Hero Member
*****
Offline Offline

Activity: 910
Merit: 1000



View Profile
October 05, 2015, 09:48:20 PM
 #3

Do you only want to install from source code? There is an official Ubuntu PPA you might be able to study it to see what dependencies it installs.

HardcoreSuperstar (OP)
Full Member
***
Offline Offline

Activity: 238
Merit: 100


★YoBit.Net★ 350+ Coins Exchange & Dice


View Profile
October 06, 2015, 06:33:18 AM
 #4

Use the command
Code:
sudo apt-get -f install


I get the same message:


Code:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 bitcoin-qt : Depends: libboost-chrono1.55.0 but it is not installable
              Depends: libboost-program-options1.55.0 but it is not installable
              Depends: libboost-thread1.55.0 but it is not installable
E: Unable to correct problems, you have held broken packages.

Bitmix.in
Newbie
*
Offline Offline

Activity: 35
Merit: 0


View Profile WWW
October 06, 2015, 02:54:05 PM
 #5

Please, explain how you are trying to install it. Source code? PPA? .tgz? I'd say you have already added Ubuntu PPA and you have run apt-get install bitcoin-qt, is this correct?
You are installing on Ubuntu 15.04, right?

I'm going to replicate your issue on a virtual machine and I will let you know how I have solved it, but I will need to know where you are and how you got there.
HardcoreSuperstar (OP)
Full Member
***
Offline Offline

Activity: 238
Merit: 100


★YoBit.Net★ 350+ Coins Exchange & Dice


View Profile
October 06, 2015, 07:15:51 PM
 #6

Please, explain how you are trying to install it. Source code? PPA? .tgz? I'd say you have already added Ubuntu PPA and you have run apt-get install bitcoin-qt, is this correct?
You are installing on Ubuntu 15.04, right?

I'm going to replicate your issue on a virtual machine and I will let you know how I have solved it, but I will need to know where you are and how you got there.


Thank you very much for your help! If anyone solves this problem, I'm gonna send a tip to him.


Anyway, you guessed it right.

I've already added Ubuntu PPA using this command: 
Code:
 sudo apt-add-repository -y ppa:bitcoin/bitcoin 

Then I updated Ubuntu's software package lists, using the following command:
Code:
 sudo apt-get -qq update 

And finally I tried to install bitcoin-qt using the following command:
Code:
 sudo apt-get install -y bitcoin-qt 


Then I get the message I already wrote in the previous post and it cannot install the client.
I am installing the wallet on Ubuntu 15.04, 64-bit.

achow101
Moderator
Legendary
*
Offline Offline

Activity: 3542
Merit: 6885


Just writing some code


View Profile WWW
October 06, 2015, 07:28:03 PM
 #7

Try these commands:

Code:
sudo apt-get update
Code:
sudo apt-get upgrade

And then installing

You can also try
Code:
sudo apt-get autoclean

before installing.

The last solution which should work is to install those dependencies manually.
use:
Code:
sudo apt-get install libboost-chrono1.55.0 libboost-program-options1.55.0 libboost-thread1.55.0 libqrencode3

HardcoreSuperstar (OP)
Full Member
***
Offline Offline

Activity: 238
Merit: 100


★YoBit.Net★ 350+ Coins Exchange & Dice


View Profile
October 06, 2015, 07:36:39 PM
 #8


The last solution which should work is to install those dependencies manually.
use:
Code:
sudo apt-get install libboost-chrono1.55.0 libboost-program-options1.55.0 libboost-thread1.55.0 libqrencode3


I've just tried to install these dependencies, but this is what I get:

Code:
Package libboost-thread1.55.0 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package libboost-program-options1.55.0 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package libboost-chrono1.55.0 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libboost-chrono1.55.0' has no installation candidate
E: Package 'libboost-program-options1.55.0' has no installation candidate
E: Package 'libboost-thread1.55.0' has no installation candidate

UserVVIP
Sr. Member
****
Offline Offline

Activity: 294
Merit: 250


View Profile
October 06, 2015, 07:43:32 PM
 #9

Get a Mac.

UBUNTU SUCKS!
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3542
Merit: 6885


Just writing some code


View Profile WWW
October 06, 2015, 07:44:24 PM
 #10


The last solution which should work is to install those dependencies manually.
use:
Code:
sudo apt-get install libboost-chrono1.55.0 libboost-program-options1.55.0 libboost-thread1.55.0 libqrencode3


I've just tried to install these dependencies, but this is what I get:

Code:
Package libboost-thread1.55.0 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package libboost-program-options1.55.0 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package libboost-chrono1.55.0 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libboost-chrono1.55.0' has no installation candidate
E: Package 'libboost-program-options1.55.0' has no installation candidate
E: Package 'libboost-thread1.55.0' has no installation candidate

Try just
Code:
sudo apt-get install libboost-all-dev
then install bitcoinqt

HardcoreSuperstar (OP)
Full Member
***
Offline Offline

Activity: 238
Merit: 100


★YoBit.Net★ 350+ Coins Exchange & Dice


View Profile
October 06, 2015, 07:50:23 PM
 #11



Try just
Code:
sudo apt-get install libboost-all-dev



This is what I get after running this command:


Code:
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libboost-all-dev : Depends: libboost-dev but it is not installable
                    Depends: libboost-tools-dev but it is not going to be installed
                    Depends: libboost-atomic-dev but it is not going to be installed
                    Depends: libboost-chrono-dev but it is not going to be installed
                    Depends: libboost-context-dev but it is not going to be installed
                    Depends: libboost-coroutine-dev but it is not going to be installed
                    Depends: libboost-date-time-dev but it is not installable
                    Depends: libboost-exception-dev but it is not going to be installed
                    Depends: libboost-filesystem-dev but it is not installable
                    Depends: libboost-graph-dev but it is not going to be installed
                    Depends: libboost-graph-parallel-dev but it is not going to be installed
                    Depends: libboost-iostreams-dev but it is not installable
                    Depends: libboost-locale-dev but it is not going to be installed
                    Depends: libboost-log-dev but it is not installable
                    Depends: libboost-math-dev but it is not going to be installed
                    Depends: libboost-mpi-dev but it is not going to be installed
                    Depends: libboost-mpi-python-dev but it is not going to be installed
                    Depends: libboost-program-options-dev but it is not installable
                    Depends: libboost-python-dev but it is not installable
                    Depends: libboost-random-dev but it is not going to be installed
                    Depends: libboost-regex-dev but it is not installable
                    Depends: libboost-serialization-dev but it is not installable
                    Depends: libboost-signals-dev but it is not going to be installed
                    Depends: libboost-system-dev but it is not installable
                    Depends: libboost-test-dev but it is not installable
                    Depends: libboost-thread-dev but it is not installable
                    Depends: libboost-timer-dev but it is not going to be installed
                    Depends: libboost-wave-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

achow101
Moderator
Legendary
*
Offline Offline

Activity: 3542
Merit: 6885


Just writing some code


View Profile WWW
October 06, 2015, 07:55:39 PM
 #12

try doing install with aptitude instead of apt-get. Just replace all of the apt-gets with aptitude in the commands.

HardcoreSuperstar (OP)
Full Member
***
Offline Offline

Activity: 238
Merit: 100


★YoBit.Net★ 350+ Coins Exchange & Dice


View Profile
October 06, 2015, 08:02:32 PM
 #13

try doing install with aptitude instead of apt-get. Just replace all of the apt-gets with aptitude in the commands.


When I try to install aptitude this is what it says:

Code:
Package aptitude is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

achow101
Moderator
Legendary
*
Offline Offline

Activity: 3542
Merit: 6885


Just writing some code


View Profile WWW
October 06, 2015, 08:06:18 PM
 #14

did you try update, upgrade, and autoclean that I suggested above?

Also try removing everything again. uninstall bitcoin-qt and libboost, just to make sure they are gone.

HardcoreSuperstar (OP)
Full Member
***
Offline Offline

Activity: 238
Merit: 100


★YoBit.Net★ 350+ Coins Exchange & Dice


View Profile
October 06, 2015, 08:18:17 PM
 #15

did you try update, upgrade, and autoclean that I suggested above?

Also try removing everything again. uninstall bitcoin-qt and libboost, just to make sure they are gone.


Yes, I did update, upgrade and autoclean.
I also  tried to re-install bitcoin-qt again, but  it's not working.  Angry

achow101
Moderator
Legendary
*
Offline Offline

Activity: 3542
Merit: 6885


Just writing some code


View Profile WWW
October 06, 2015, 08:21:11 PM
 #16

try doing
Code:
sudo apt-get clean

If that doesn't work try also doing
Code:
sudo apt-get -f install
sudo dpkg --configure -a
sudo apt-get -f install
(yes run the same command twice)

HardcoreSuperstar (OP)
Full Member
***
Offline Offline

Activity: 238
Merit: 100


★YoBit.Net★ 350+ Coins Exchange & Dice


View Profile
October 06, 2015, 08:32:10 PM
 #17

try doing
Code:
sudo apt-get clean

If that doesn't work try also doing
Code:
sudo apt-get -f install
sudo dpkg --configure -a
sudo apt-get -f install
(yes run the same command twice)


Thank you knight, but it still doesn't work.
The same message is displayed.

achow101
Moderator
Legendary
*
Offline Offline

Activity: 3542
Merit: 6885


Just writing some code


View Profile WWW
October 06, 2015, 08:38:07 PM
 #18

Thank you knight, but it still doesn't work.
The same message is displayed.
Ok...
 
Try
Code:
sudo apt-get -u dist-upgrade
And post the output of the running the command.

tspacepilot
Legendary
*
Offline Offline

Activity: 1456
Merit: 1081


I may write code in exchange for bitcoins.


View Profile
October 06, 2015, 08:39:18 PM
 #19

I haven't used Ubuntu in a while but debian is my normal OS, which is similar.  Anyway, it'd be helpful if you could cut-n-paste the entire terminal sessions to either a pastebin or to this forum when requesting these kinds of help.  Oftentimes, someone who's very familiar with how the system works will see a specific detail if you post the sessions rather than just saying "it's the same message".  In any case, I'd consider ditching that PPA and just building from source.  On debian I'd get the source version of that bitcoin package and then do builddep to install dependencies.  After that you just make && make install.

Let us see some sessions, please!
Bitmix.in
Newbie
*
Offline Offline

Activity: 35
Merit: 0


View Profile WWW
October 06, 2015, 09:36:52 PM
Last edit: October 06, 2015, 10:24:28 PM by Bitmix.in
 #20

In any case, I'd consider ditching that PPA and just building from source.  On debian I'd get the source version of that bitcoin package and then do builddep to install dependencies.  After that you just make && make install.

+1

It's not hard to compile bitcoin-qt from source. Anyway, he/she will need to have the dependencies installed as well.

Is that a clean Ubuntu installation? Have you already installed other packages in there?
Pages: [1] 2 »  All
  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!