From 59db0ca18cee3dc54d3324e353b4d1e3175b2a46 Mon Sep 17 00:00:00 2001 From: Christophe Monniez Date: Fri, 21 Oct 2022 16:16:40 +0000 Subject: [PATCH] [FIX] install: update installation from the nightly debian repo As the `apt-key` command will is deprecated and will be removed in the next Debian release, it's time to update the documentation. closes odoo/documentation#2846 X-original-commit: 1c2d59b28010a101baed9f2de1403f579a6db723 Signed-off-by: Antoine Vandevenne (anv) --- content/administration/install/install.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/content/administration/install/install.rst b/content/administration/install/install.rst index 8a9737ca7..31f793ce1 100644 --- a/content/administration/install/install.rst +++ b/content/administration/install/install.rst @@ -146,13 +146,13 @@ Repository .. group-tab:: Debian/Ubuntu Odoo S.A. provides a repository that can be used with Debian and Ubuntu distributions. It can - be used to install *Odoo Community Edition* by executing the following commands **as root**: + be used to install *Odoo Community Edition* by executing the following commands: .. code-block:: console - # wget -O - https://nightly.odoo.com/odoo.key | apt-key add - - # echo "deb http://nightly.odoo.com/16.0/nightly/deb/ ./" >> /etc/apt/sources.list.d/odoo.list - # apt-get update && apt-get install odoo + $ wget -q -O - https://nightly.odoo.com/odoo.key | sudo gpg --dearmor -o /usr/share/keyrings/odoo-archive-keyring.gpg + $ echo 'deb [signed-by=/usr/share/keyrings/odoo-archive-keyring.gpg] https://nightly.odoo.com/16.0/nightly/deb/ ./' | sudo tee /etc/apt/sources.list.d/odoo.list + $ sudo apt-get update && sudo apt-get install odoo You can then use the usual `apt-get upgrade` command to keep your installation up-to-date.