I am trying to install odoo 13 on ubuntu 20.04 and it gives me this error when starting the installation, it has to do with the permissions from what I understand...
--2020-05-24 17:15:26-- https://nightly.odoo.com/odoo.key
Resolving nightly.odoo.com (nightly.odoo.com)... 178.33.123.40
Connecting to nightly.odoo.com (nightly.odoo.com)|178.33.123.40|:443... E: This command can only be used by root.
connected.
HTTP request sent, awaiting response... 200 OK
Length: 3112 (3,0K) [application/octet-stream]
Saving to: ‘STDOUT’
- 0%[ ] 0 --.-KB/s in 0s
Cannot write to ‘-’ (Success). ```
The issue here seemed to be that you are executing statements with a normal user but the script needs superuser privileges.
So, you should do this:
pwd
in your terminal. You will see the output to be the directory you are in currently. e.g. /home/bob
. Write that down somewheresudo su -
and hit enter. If you are asked for a password, type your passwordroot
user. Then, type cd /home/bob
or whatever directory it was that you noted down previouslyexit
and hit enter to exit out of root
and get back to your normal user.Be careful to run commands from a trustworthy source.