Bitcoin Forum
November 09, 2024, 02:18:15 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Having trouble installing armory deb file on Ubuntu usb live  (Read 520 times)
endpoint25 (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
July 01, 2017, 06:07:20 PM
 #1

My goal is to install a cold storage armory wallet on Ubuntu 16.04.2.  My first attempt went badly with unresolved dependencies so I decided to see if I could get it installed on my online computer running the same operating system from a live usb.  Here's the command I'm using and its output (if I've used pastebin correctly):

<script src="https://pastebin.com/embed_js/aWshtTBQ"></script>

Even connected I'm not able to resolve the dependencies. I've tried it with apt-get install as well and tried it with both the 4.7 and 5.3 armory deb versions.  Also, I've added the universe and ppa:bitcoin/bitcoin repositories, running apt-get update afterwards as kind of a long shot.

I'm not very linux literate (as is probably evident by this post) so it could be something simple like not having the correct repositories chosen, trying to attempt this from a live distro instead of an installed one, or maybe there's a way to prune down actually un-needed dependencies for an offline installation. In my clunking around with this I have found that a lot of this seems to lead back to sip-api-11.2 which seems to be unavailable to install. I guess the ultimate answer would be - What additional deb files would I need to transfer to my cold storage computer beyond the armory deb file to get a clean install. (Edit: although I'm trying to install it on a live usb Ubuntu now, my cold storage will be running the same Ubuntu version installed to hard drive if that makes a difference)

Anyway, if this seems like an easy answer for somebody I'd appreciate it.

Muhammed Zakir
Hero Member
*****
Offline Offline

Activity: 560
Merit: 509


I prefer Zakir over Muhammed when mentioning me!


View Profile WWW
July 01, 2017, 09:37:27 PM
 #2

Code:
sudo apt-get install git-core build-essential pyqt4-dev-tools swig libqtcore4 libqt4-dev python-qt4 python-dev python-twisted python-psutil

http://falkvinge.net/2014/02/10/placing-your-crypto-wealth-in-cold-storage-installing-armory-on-ubuntu/
http://bitzuma.com/posts/offline-installation-of-armory-on-tails-and-ubuntu-linux/

endpoint
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
July 01, 2017, 11:26:28 PM
Last edit: July 02, 2017, 12:09:05 AM by endpoint
 #3

Thank you Muhammed!

I haven't tried it yet but just finished finding my own workaround. I'll write it up shortly and share it here for criticism and improvement or rejection Smiley My ultimate goal is to put Armory on a computer that has never touched the internet (except the Ubuntu live usb and another usb to carry dependencies). This is somewhat based on the Glacier Protocol. My offline computer already has the wireless/bluetooth card removed. I'm not sure if installing this way adds any security over just installing connected to the internet and then never connecting again but I don't think it would be less secure. Your way may speed up what I did and achieve the same results.

In any case, I did get Armory working on an internet connected Ubuntu live usb and used that to get the dependency deb files from /var/cache/apt/archives/. After writing them, as well as Armory, to a usb stick I rebooted to Ubuntu Live again, shut off networking, copied Armory and the dependency debs to a folder and ran "sudo dpkg -i *.deb" from a terminal in that folder. Armory installed without a hitch.
endpoint
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
July 02, 2017, 03:16:58 AM
 #4

I've tried it a bunch of ways now. This is the fastest way I have figured out:
Make an Ubuntu live usb. (I used 16.04.2 LTS)
Boot to it and use a web browser to download Armory (0.96.0 in my case) and the .asc hash file.
Verify the download per btcarmory.com's Documentation>Verify Binaries
Change directories to Downloads (where the Armory .deb file is) if you aren't already.
Add the universe repostitory ("sudo apt-add-repository universe" and "sudo apt-get update") I got an "error while moving old database" warning but it seems safe to ignore it for what I'm doing.
Install Armory ("sudo dpkg -i armory-your-version-number.deb") This is where I get "errors were encountered while processing armory" warnings and dependency complaints.
Repair install ("sudo apt-get -f install") This seems to straighten everything out and I can at least start Armory with the appearance that it's working well.

From the /var/cache/apt/archives/ folder I retrieved 29 dependency .deb files which with Armory seem to be all that is required to install Armory on the cold storage computer.
libqt4-designer_4%3a4.8.7+dfsg-5ubuntu2_amd64.deb
libqt4-help_4%3a4.8.7+dfsg-5ubuntu2_amd64.deb
libqt4-opengl_4%3a4.8.7+dfsg-5ubuntu2_amd64.deb
libqt4-scripttools_4%3a4.8.7+dfsg-5ubuntu2_amd64.deb
libqt4-svg_4%3a4.8.7+dfsg-5ubuntu2_amd64.deb
libqt4-test_4%3a4.8.7+dfsg-5ubuntu2_amd64.deb
libqtassistantclient4_4.6.3-7_amd64.deb
libqtwebkit4_2.3.2-0ubuntu11_amd64.deb
python-attr_15.2.0-1_all.deb
python-cffi-backend_1.5.2-1ubuntu1_amd64.deb
python-cryptography_1.2.3-1ubuntu0.1_amd64.deb
python-enum34_1.1.2-1_all.deb
python-idna_2.0-3_all.deb
python-ipaddress_1.0.16-1_all.deb
python-openssl_0.15.1-2build1_all.deb
python-pam_0.4.2-13.2ubuntu2_amd64.deb
python-pkg-resources_20.7.0-1_all.deb
python-psutil_3.4.2-1_amd64.deb
python-pyasn1_0.1.9-1_all.deb
python-pyasn1-modules_0.0.7-0.1_all.deb
python-qt4_4.11.4+dfsg-1build4_amd64.deb
python-serial_3.0.1-1_all.deb
python-service-identity_16.0.0-2_all.deb
python-sip_4.17+dfsg-1build1_amd64.deb
python-six_1.10.0-3_all.deb
python-twisted_16.0.0-1_all.deb
python-twisted-bin_16.0.0-1_amd64.deb
python-twisted-core_16.0.0-1_all.deb
python-zope.interface_4.1.3-1build1_amd64.deb
armory_0.96-gcc5.4_amd64.deb


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!