Bitcoin Forum

Bitcoin => Electrum => Topic started by: AnonymousBtcTalk on October 05, 2017, 07:36:29 PM



Title: Upgrading Electrum from 2.7.9 (Linux Tails OS), but Having Mutiple Errors
Post by: AnonymousBtcTalk on October 05, 2017, 07:36:29 PM
Hey all,

Long time lurker, finally reaching out for some help. Trying to upgrade from Electrum 2.7.9 but having difficulties. Just upgraded to Tails 3.2, and trying to upgrade Electrum because its apparently over a year old. I tried to install setuptools first, and ran into this problem:

First I went to:

apt-get install python-setuptools

and got

"E. Unable to lock the administration directory, are you root?"

Next:

sudo -s so i could get root, and permission

After:

apt-get install python-setuptools
"Reading package lists...Done
 Building Dependency tree
 Reading state information... Done
Package python-setuptools is not available, but is referred to by another package.
This may mean the package is missing, has been obsoleted, or is only available from another source

E: Package 'python-setuptools' has no installation candidate"

My knowledge is very limited but my immediate thought is that I need to install something else I am missing.  Can anyone help?


Title: Re: Upgrading Electrum from 2.7.9 (Linux Tails OS), but Having Mutiple Errors
Post by: AnonymousBtcTalk on October 05, 2017, 10:19:50 PM
I have read on the py.pa website that while linux systems come with systemtools and python-pip they are odten outdated.  That being said it seems like should try installing python-pip but I also return this error message:

sudo apt-get install python-pip

[sudo] password for amnesia: ****

"Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python-pip"



Title: Re: Upgrading Electrum from 2.7.9 (Linux Tails OS), but Having Mutiple Errors
Post by: LeGaulois on October 05, 2017, 10:45:20 PM
Isn't Tails derived from Ubuntu?
Because
https://askubuntu.com/questions/268539/unable-to-locate-package-python-pip


Quote

Open terminal by pressing CTRL+ALT+T and type the following:

cd ~

to navigate to your home directory.
Then issue the below command:

wget -P Downloads/ https://svn.apache.org/repos/asf/oodt/tools/oodtsite.publisher/trunk/distribute_setup.py
Next step is to run the downloaded script. To do this, issue this command:

sudo python Downloads/distribute_setup.py
and type your user password when prompted (Please, note that your account needs to be a member of Administrators group in order to issue sudo).
Hit Enter and let the script run.
To ensure easy_install is installed, issue the command below:

which easy_install

The typical response in case the installation completed successfully would look something like this:

/usr/local/bin/easy_install
The next thing to do is use easy_install to install pip. For that you’ll need to issue:

sudo easy_install pip
Enter your password if prompted to confirm command.
Let the installer run and once the installation is completed type:

which pip

This command should typically respond with something like this:

/usr/local/bin/pip


Title: Re: Upgrading Electrum from 2.7.9 (Linux Tails OS), but Having Mutiple Errors
Post by: AnonymousBtcTalk on October 05, 2017, 10:56:47 PM
Isn't Tails derived from Ubuntu?
Because
https://askubuntu.com/questions/268539/unable-to-locate-package-python-pip


Quote

Open terminal by pressing CTRL+ALT+T and type the following:

cd ~

to navigate to your home directory.
Then issue the below command:

wget -P Downloads/ https://svn.apache.org/repos/asf/oodt/tools/oodtsite.publisher/trunk/distribute_setup.py
Next step is to run the downloaded script. To do this, issue this command:

sudo python Downloads/distribute_setup.py
and type your user password when prompted (Please, note that your account needs to be a member of Administrators group in order to issue sudo).
Hit Enter and let the script run.
To ensure easy_install is installed, issue the command below:

which easy_install

The typical response in case the installation completed successfully would look something like this:

/usr/local/bin/easy_install
The next thing to do is use easy_install to install pip. For that you’ll need to issue:

sudo easy_install pip
Enter your password if prompted to confirm command.
Let the installer run and once the installation is completed type:

which pip

This command should typically respond with something like this:

/usr/local/bin/pip

LeGaulois thanks for the response!!

I already have a tab open with that askubuntu thread open. !!  ;)

Forgive me for not understanding the true nature of my problem, but is following these steps all I need to do to solve this problem? I dont want to screw anything up



Title: Re: Upgrading Electrum from 2.7.9 (Linux Tails OS), but Having Mutiple Errors
Post by: AnonymousBtcTalk on October 05, 2017, 11:28:27 PM


Quote

Open terminal by pressing CTRL+ALT+T and type the following:

cd ~

to navigate to your home directory.
Then issue the below command:

wget -P Downloads/ https://svn.apache.org/repos/asf/oodt/tools/oodtsite.publisher/trunk/distribute_setup.py
Next step is to run the downloaded script. To do this, issue this command:

sudo python Downloads/distribute_setup.py
and type your user password when prompted (Please, note that your account needs to be a member of Administrators group in order to issue sudo).
Hit Enter and let the script run.


After doing so I got:
"Traceback (most recent call last):
File "Downloads/distribute_setup.py", line 485, in <module> main (sys.argv[1:])
File "Downloads/distribute_setup.py", line 480, in main tarball = download_setuptools()
File "Downloads/distribute_setup.py", line 193, in download_setuptools src= urlopen(url)
File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen return opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 429, in open response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 447, in _open '_open', req)
File "/usr/lib/python2.7/urllib2.py", line 407, in_call_chain result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 1228, in http_open return self.do_open(httplib.HTTPconnection, req)
File "/usr/lib/python2.7/urllib2.py", line 1198, in do_open raise URLError(err)

urllib2.URLError: <urlopen error [Errno -3] Temporary failure in name resolution> "


Any suggestions?



Title: Re: Upgrading Electrum from 2.7.9 (Linux Tails OS), but Having Mutiple Errors
Post by: AnonymousBtcTalk on October 06, 2017, 05:44:13 PM
In case anybody looks at this in the future I seem to have figured my problem out slightly.

First I downloaded the newest electrum tarball

Second I extracted it to home/amnesia/tor browser

Third I copied it and moved it to home/amnesia/persistent

Fourth I right clicked the entire folder and "opened in terminal"

My terminal was labelled as ~/Persistent/Electrum-2.9.3/Electrum-2.9.3$

I typed in "python electrum" in my terminal

and voila, the new Electrum 2.9.3 came up. 

Similar to "TheBeginner's" thread i now have the blue dot in the corner apparently meaning a proxy or sm.  just wanted to update incase anyone else stumbles accross this and it can help them.

Thanks