New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installtion Instructions Don't Work for Tails Linux #648

Closed
kristovatlas opened this Issue Apr 11, 2014 · 3 comments

Comments

Projects
None yet
3 participants
@kristovatlas

Possible overlap with Issue #490: #490

With the latest version of Electrum and Tails 0.23, I get an error message when following the Linux installation instructions. The error message from apt-get is: "Unable to locate package python-pip".

Screen shot: http://s28.postimg.org/y5fewhigt/electrum_apt_get_error.png

@ecdsa

This comment has been minimized.

Show comment
Hide comment
@ecdsa

ecdsa Apr 11, 2014

Member

this is not relevant here. look for how to install pip on linux tails

Member

ecdsa commented Apr 11, 2014

this is not relevant here. look for how to install pip on linux tails

@ecdsa ecdsa closed this Apr 11, 2014

@kristovatlas

This comment has been minimized.

Show comment
Hide comment
@kristovatlas

kristovatlas Apr 11, 2014

I'm afraid that the Linux instructions for installing pip do not work in Tails. Therefore, until pip is included as a dependency, Electrum will not work on Tails. I realize that this is largely the responsibility of the Tails developers, but Electrum can presumably do something about it if they want to be Tails compatible -- correct me if I'm wrong, here.

Installation documentation: http://pip.readthedocs.org/en/latest/installing.html

Terminal output from Tails:

amnesia@amnesia:~$ python get-pip.py
Downloading/unpacking pip
Downloading pip-1.5.4-py2.py3-none-any.whl (1.2MB): 1.2MB downloaded
Installing collected packages: pip
Cleaning up...
Exception:
Traceback (most recent call last):
File "/tmp/tmpfBFLpU/pip.zip/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/tmp/tmpfBFLpU/pip.zip/pip/commands/install.py", line 279, in run
requirement_set.install(install_options, global_options, root=options.root_path)
File "/tmp/tmpfBFLpU/pip.zip/pip/req.py", line 1380, in install
requirement.install(install_options, global_options, _args, *_kwargs)
File "/tmp/tmpfBFLpU/pip.zip/pip/req.py", line 664, in install
self.move_wheel_files(self.source_dir, root=root)
File "/tmp/tmpfBFLpU/pip.zip/pip/req.py", line 894, in move_wheel_files
pycompile=self.pycompile,
File "/tmp/tmpfBFLpU/pip.zip/pip/wheel.py", line 202, in move_wheel_files
clobber(source, lib_dir, True)
File "/tmp/tmpfBFLpU/pip.zip/pip/wheel.py", line 189, in clobber
os.makedirs(destsubdir)
File "/usr/lib/python2.6/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/pip-1.5.4.dist-info'

Storing debug log for failure in /home/amnesia/.pip/pip.log
amnesia@amnesia:$ sudo python get-pip.py
[sudo] password for amnesia:
Downloading/unpacking pip
Cannot fetch index base URL https://pypi.python.org/simple/
Could not find any downloads that satisfy the requirement pip
Cleaning up...
No distributions at all found for pip
Storing debug log for failure in /root/.pip/pip.log
amnesia@amnesia:
$ pip --help
bash: pip: command not found
amnesia@amnesia:~$ 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

I'm afraid that the Linux instructions for installing pip do not work in Tails. Therefore, until pip is included as a dependency, Electrum will not work on Tails. I realize that this is largely the responsibility of the Tails developers, but Electrum can presumably do something about it if they want to be Tails compatible -- correct me if I'm wrong, here.

Installation documentation: http://pip.readthedocs.org/en/latest/installing.html

Terminal output from Tails:

amnesia@amnesia:~$ python get-pip.py
Downloading/unpacking pip
Downloading pip-1.5.4-py2.py3-none-any.whl (1.2MB): 1.2MB downloaded
Installing collected packages: pip
Cleaning up...
Exception:
Traceback (most recent call last):
File "/tmp/tmpfBFLpU/pip.zip/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/tmp/tmpfBFLpU/pip.zip/pip/commands/install.py", line 279, in run
requirement_set.install(install_options, global_options, root=options.root_path)
File "/tmp/tmpfBFLpU/pip.zip/pip/req.py", line 1380, in install
requirement.install(install_options, global_options, _args, *_kwargs)
File "/tmp/tmpfBFLpU/pip.zip/pip/req.py", line 664, in install
self.move_wheel_files(self.source_dir, root=root)
File "/tmp/tmpfBFLpU/pip.zip/pip/req.py", line 894, in move_wheel_files
pycompile=self.pycompile,
File "/tmp/tmpfBFLpU/pip.zip/pip/wheel.py", line 202, in move_wheel_files
clobber(source, lib_dir, True)
File "/tmp/tmpfBFLpU/pip.zip/pip/wheel.py", line 189, in clobber
os.makedirs(destsubdir)
File "/usr/lib/python2.6/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/pip-1.5.4.dist-info'

Storing debug log for failure in /home/amnesia/.pip/pip.log
amnesia@amnesia:$ sudo python get-pip.py
[sudo] password for amnesia:
Downloading/unpacking pip
Cannot fetch index base URL https://pypi.python.org/simple/
Could not find any downloads that satisfy the requirement pip
Cleaning up...
No distributions at all found for pip
Storing debug log for failure in /root/.pip/pip.log
amnesia@amnesia:
$ pip --help
bash: pip: command not found
amnesia@amnesia:~$ 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

@wozz

This comment has been minimized.

Show comment
Hide comment
@wozz

wozz Apr 11, 2014

Contributor

Tails is a special case that is designed to not allow writing to disk. Standard instructions are not going to work, you'll need to look at the tails documentation on how to install a program with the right permissions. I would start here: https://tails.boum.org/contribute/design/persistence/#index6h2

Contributor

wozz commented Apr 11, 2014

Tails is a special case that is designed to not allow writing to disk. Standard instructions are not going to work, you'll need to look at the tails documentation on how to install a program with the right permissions. I would start here: https://tails.boum.org/contribute/design/persistence/#index6h2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment