[resolved] Install masternode on Debian 10


#1

Hello,

I am trying to install a masternode on Debian 10.

uname -a

#1 SMP Debian 4.19.118-2 (2020-04-29) x86_64 GNU/Linux

I execute instal.sh script but i have few errors inside (withtout stop script) :

gpg: keybox '/tmp/tmpq4j9ei23/pubring.gpg' created
gpg: /tmp/tmpq4j9ei23/trustdb.gpg: trustdb created
gpg: key FECD1DF9B71983CB: public key "Launchpad PPA for Smart Cash" imported
gpg: Total number processed: 1
gpg:               imported: 1
gpg: no valid OpenPGP data found.
Ign:1 http://ppa.launchpad.net/smartcash/ppa/ubuntu groovy InRelease
Hit:2 http://security.debian.org buster/updates InRelease                               
Err:3 http://ppa.launchpad.net/smartcash/ppa/ubuntu groovy Release                      
  404  Not Found [IP: 91.189.95.83 80]
Hit:4 http://deb.debian.org/debian buster InRelease                                     
Hit:5 http://deb.debian.org/debian buster-updates InRelease
Hit:6 http://deb.debian.org/debian buster-backports InRelease
Reading package lists... Done                
E: The repository 'http://ppa.launchpad.net/smartcash/ppa/ubuntu groovy Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
rm: cannot remove 'smartnode': No such file or directory

So i try to install package smartcashd by with : aptitude install smartcashd and i have the following errors :

The following packages have unmet dependencies:
 smartcashd : Depends: libboost-chrono1.65.1 which is a virtual package and is not provided by any available package

              Depends: libboost-filesystem1.65.1 which is a virtual package and is not provided by any available package

              Depends: libboost-program-options1.65.1 which is a virtual package and is not provided by any available package

              Depends: libboost-system1.65.1 which is a virtual package and is not provided by any available package

              Depends: libboost-thread1.65.1 which is a virtual package and is not provided by any available package 

In Debian 10, there are not this vesion of lib.

Is there a workaround ?

Thanks.


#2

I found a workaround :

You can download all libboost dependencies from http://archive.ubuntu.com with the version 1.65.1.
You need first install package libstdc+±8-dev

Here the commands I type :

aptitude install libstdc++-8-dev
wget http://archive.ubuntu.com/ubuntu/pool/main/b/boost1.65.1/libboost1.65-dev_1.65.1+dfsg-0ubuntu5_amd64.deb
dpkg -i libboost1.65-dev_1.65.1+dfsg-0ubuntu5_amd64.deb 
wget http://archive.ubuntu.com/ubuntu/pool/main/b/boost1.65.1/libboost-system1.65.1_1.65.1+dfsg-0ubuntu5_amd64.deb
dpkg -i libboost-system1.65.1_1.65.1+dfsg-0ubuntu5_amd64.deb 
wget http://archive.ubuntu.com/ubuntu/pool/main/b/boost1.65.1/libboost-thread1.65.1_1.65.1+dfsg-0ubuntu5_amd64.deb
dpkg -i libboost-thread1.65.1_1.65.1+dfsg-0ubuntu5_amd64.deb 
http://archive.ubuntu.com/ubuntu/pool/main/b/boost1.65.1/libboost-thread1.65.1_1.65.1+dfsg-0ubuntu5_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/b/boost1.65.1/libboost-program-options1.65.1_1.65.1+dfsg-0ubuntu5_amd64.deb
dpkg -i libboost-program-options1.65.1_1.65.1+dfsg-0ubuntu5_amd64.deb 
wget http://archive.ubuntu.com/ubuntu/pool/main/b/boost1.65.1/libboost-filesystem1.65.1_1.65.1+dfsg-0ubuntu5_amd64.deb
dpkg -i libboost-filesystem1.65.1_1.65.1+dfsg-0ubuntu5_amd64.deb 
wget http://archive.ubuntu.com/ubuntu/pool/main/b/boost1.65.1/libboost-chrono1.65.1_1.65.1+dfsg-0ubuntu5_amd64.deb
dpkg -i libboost-chrono1.65.1_1.65.1+dfsg-0ubuntu5_amd64.deb 
aptitude install smartcashd
smartcashd
smartcash-cli getinfo

And now you will have a smartcash masternode working fine on Debian 10 (after sync of course).