Skip to content

Docs Feedback modules/ROOT/pages/installation/linux/debian.adoc (ref: main) #2774

@mccaffers

Description

@mccaffers

Do not include confidential information, personal data, sensitive data, or other regulated data.

The section Add the Neo4j APT repository: on https://neo4j.com/docs/operations-manual/current/installation/linux/debian/ quotes -a straight after sudo, which is an argument for the tee command, but as it's before, it causes that command to immediately fails (as sudo doesn't recognise -a)

echo 'deb [signed-by=/etc/apt/keyrings/neotechnology.gpg] https://debian.neo4j.com stable latest' | sudo -a tee /etc/apt/sources.list.d/neo4j.list > /dev/null

usage: sudo -h | -K | -k | -V
usage: sudo -v [-ABkNnS] [-g group] [-h host] [-p prompt] [-u user]
usage: sudo -l [-ABkNnS] [-g group] [-h host] [-p prompt] [-U user]
            [-u user] [command [arg ...]]
usage: sudo [-ABbEHkNnPS] [-r role] [-t type] [-C num] [-D directory]
            [-g group] [-h host] [-p prompt] [-R directory] [-T timeout]
            [-u user] [VAR=value] [-i | -s] [command [arg ...]]
usage: sudo -e [-ABkNnS] [-r role] [-t type] [-C num] [-D directory]
            [-g group] [-h host] [-p prompt] [-R directory] [-T timeout]
            [-u user] file ...

The command should be:

echo 'deb [signed-by=/etc/apt/keyrings/neotechnology.gpg] https://debian.neo4j.com stable latest' | sudo tee -a /etc/apt/sources.list.d/neo4j.list > /dev/null

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions