Opened 5 years ago

Closed 4 years ago

#14103 closed enhancement (fixed)

Linux Mint not supported by https://ooni.torproject.org/install.sh

Reported by: JustAnotherOne Owned by: anadahz
Priority: Medium Milestone:
Component: Archived/Ooni Version:
Severity: Keywords: Mint supported Distries
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Linux Mint is a Distru based on Debian/Ubuntu

for Mint 17

lsb_release -cs -> "qiana"

lsb_release -is -> "LinuxMint"

Child Tickets

Change History (7)

comment:1 Changed 5 years ago by anadahz

Owner: changed from hellais to anadahz
Status: newassigned

comment:2 Changed 5 years ago by anadahz

Status: assignedaccepted

Hi, I have added support for LinuxMint in setup script could you try installing it?

comment:3 Changed 4 years ago by JustAnotherOne

A "wget https://ooni.torproject.org/install.sh still fails".
Also running " sudo ./setup-dependencies.sh -p" on the changed file fails with:

It appears that you are using an unsupported OS - please tell us
by filing a bug: https://trac.torproject.org/projects/tor/newticket

$lsb_release -is
LinuxMint

$cat /etc/os-release
NAME="Ubuntu"
VERSION="14.04.1 LTS, Trusty Tahr"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.04.1 LTS"
VERSION_ID="14.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"

comment:4 in reply to:  3 Changed 4 years ago by anadahz

Replying to JustAnotherOne:

Also running " sudo ./setup-dependencies.sh -p" on the changed file fails with:

Could you please try again with the updated setup script ? I made a typo.

comment:5 Changed 4 years ago by JustAnotherOne

With that new script run in a folder that only contains that script it runs for a while and then failes with this:
Running:

pip install -v --timeout 60 pyasn1 pyasn1-modules

SUCCESS
Running:

pip install -v --timeout 60 -r /home/lars/<the folder>/requirements.txt

FAIL
COMBINED STDOUT/STDERR OUTPUT OF FAILED COMMAND:
Could not open requirements file: [Errno 2] No such file or directory: '/home/lars/<the folder>/requirements.txt'
Exception information:
Traceback (most recent call last):

File "/usr/local/lib/python2.7/dist-packages/pip-1.5.2-py2.7.egg/pip/basecommand.py", line 122, in main

status = self.run(options, args)

File "/usr/local/lib/python2.7/dist-packages/pip-1.5.2-py2.7.egg/pip/commands/install.py", line 258, in run

for req in parse_requirements(filename, finder=finder, options=options, session=session):

File "/usr/local/lib/python2.7/dist-packages/pip-1.5.2-py2.7.egg/pip/req.py", line 1491, in parse_requirements

session=session,

File "/usr/local/lib/python2.7/dist-packages/pip-1.5.2-py2.7.egg/pip/download.py", line 278, in get_file_content

raise InstallationError('Could not open requirements file: %s' % str(e))

InstallationError: Could not open requirements file: [Errno 2] No such file or directory: '/home/lars/<the folder>/requirements.txt'

Storing debug log for failure in /home/lars/.pip/pip.log

The pip.log just has the same information as the last lines.

comment:6 in reply to:  5 Changed 4 years ago by anadahz

Replying to JustAnotherOne:

With that new script run in a folder that only contains that script it runs for a while and then failes with this:

The scripts requires some file to install ooniprobe (such as pip package dependencies) You should be running the script on the cloned git repo of ooniprobe.

Could you try that? Just follow the instructions here: https://github.com/TheTorProject/ooni-probe/tree/9bc66e72853a473aa46639e2227e55bd6d5f9e67#linux

comment:7 Changed 4 years ago by JustAnotherOne

Resolution: fixed
Status: acceptedclosed

It is working now. Thank you !

Note: See TracTickets for help on using tickets.