Skip to Content
Menu
This question has been flagged

i'm following this guide on how to install odoo(https://www.cloudbooklet.com/install-odoo-13-on-ubuntu-18-04-with-nginx-google-cloud/)

and during this step 

wget -O - https://nightly\.odoo\.com/odoo\.key\ \|\ sudo\ apt\-key\ add\ \-
echo\ "deb\ http://nightly\.odoo\.com/13\.0/nightly/deb/\ \./"\ \|\ sudo\ tee\ /etc/apt/sources\.list\.d/odoo\.list
thses\ error\ accure

\-\-2022\-04\-03\ 18:23:55\-\-\ \ https://nightly\.odoo\.com/odoo\.key
Resolving\ nightly\.odoo\.com\ \(nightly\.odoo\.com\)\.\.\.\ 35\.240\.72\.178
Connecting\ to\ nightly\.odoo\.com\ \(nightly\.odoo\.com\)\|35\.240\.72\.178\|:443\.\.\.\ connected\.
HTTP\ request\ sent,\ awaiting\ response\.\.\.\ 200\ OK
Length:\ 3112\ \(3\.0K\)\ \[application/octet\-stream\]
Saving\ to:\ ‘STDOUT’

\-\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ 100%\[====================================>\]\ \ \ 3\.04K\ \ \-\-\.\-KB/s\ \ \ \ in\ 0s

2022\-04\-03\ 18:23:56\ \(344\ MB/s\)\ \-\ written\ to\ stdout\ \[3112/3112\]

Warning:\ apt\-key\ output\ should\ not\ be\ parsed\ \(stdout\ is\ not\ a\ terminal\)
gpg:\ can't\ open\ 'echo':\ No\ such\ file\ or\ directory
gpg:\ can't\ open\ 'deb\ http://nightly.odoo.com/13.0/nightly/deb/ ./': No such file or directory
how can i fix this

Avatar
Discard
Best Answer

Hi, as per Odoo 13 documentation run the below commands as root user:


 wget -O - https://nightly.odoo.com/odoo.key | apt-key add - echo "deb http://nightly.odoo.com/13.0/nightly/deb/ ./" >> /etc/apt/sources.list.d/odoo.list

Then execute below command as root user to install Odoo:

apt-get update && apt-get install odoo


Avatar
Discard
Author

I am running it as a root user

run my above code as root user

Author

my friend I am running it as a root user still nothing is happening the only time it runs is when I delete the | apt-key add - echo "deb http://nightly.odoo.com/13.0/nightly/deb/ ./", it writes the key to the file but when I run the next command it shows this error
E: Type '-----BEGIN' is not known on line 1 in source list /etc/apt/sources.list.d/odoo.list
E: The list of sources could not be read.

Related Posts Replies Views Activity
0
Feb 24
526
0
Mar 22
3033
1
Mar 23
3463
0
Oct 21
1387
2
Mar 24
2048