"curl: command not found"

12 respuestas [Último envío]
GrevenGull
Desconectado/a
se unió: 12/18/2017

Following the instructions here https://2019.www.torproject.org/docs/debian.html.en

which is being linked to form here https://trisquel.info/en/wiki/tor I get an output with no "error" but it says at the beginning "sudo: curl: command not found" followed by:

gpg: keyring `/home/user/.gnupg/secring.gpg' created
gpg: keyring `/home/user/.gnupg/pubring.gpg' created
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0

when doing the # curl https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc | gpg --import command.

Does this mean that this step failed in some way, or is this how it's supposed to be?

jxself
Desconectado/a
se unió: 09/13/2010

You're missing the program named curl. That's why it says it's not found. Because it's not there. :) The package manager can be used to install it.

GrevenGull
Desconectado/a
se unió: 12/18/2017

xD

Beformed
Desconectado/a
se unió: 01/12/2017

The way to install it is

"sudo apt install curl"

just in case you need it

loldier
Desconectado/a
se unió: 02/17/2016

When curl is not readily available, substitute with wget. It should work the same in most cases.

GrevenGull
Desconectado/a
se unió: 12/18/2017

But now when I do sudo gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | apt-key add - I get error:

ERROR: This command can only be used by root.

Even though I used sudo.

loldier
Desconectado/a
se unió: 02/17/2016

Open root terminal as instructed.

'sudo -i'

jxself
Desconectado/a
se unió: 09/13/2010

Because sudo doesn't carry over: In the example command you gave, gpg using being run as root but when piped into apt-key, apt-key is running as you and not root. The correct way would be to put the sudo after the pipe, resulting in:

gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add -

GrevenGull
Desconectado/a
se unió: 12/18/2017

When I do apt update now I get:

E: The repository 'https://deb.torproject.org/torproject.org flidas 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.

loldier
Desconectado/a
se unió: 02/17/2016

They have no file for Trisquel. Trisquel 8 is based on Ubuntu 16.04, Xenial. Use 'xenial'.

GrevenGull
Desconectado/a
se unió: 12/18/2017

Right. That worked. Thank you. You don't happen to know what they mean in the last step:

If there are no errors you're good to continue.

We provide a Debian package to help you keep our signing key current. It is recommended you use it. Install it together with tor:

# apt install tor deb.torproject.org-keyring

I did that, does that mean I'm done? Do I have the browser now? Do you know?

loldier
Desconectado/a
se unió: 02/17/2016

The browser is a different thing (get the tarball, extract and run). You have installed the Tor client which you can use to torify all your networking. It's a command line utility tor(1). If you only need to browse the web, get the Tor Browser which has onion routing built in for easy use.

https://trisquel.info/en/forum/local-installation-icecattor-browser-executable-tarball

Screenshot from 2019-07-11 04-37-00.png
GrevenGull
Desconectado/a
se unió: 12/18/2017

Right right :) thank you for taking your time to guide this noob:)