Remote Access: During sudo add-apt-repository, error: -bash: syntax error near unexpected token `(''

Remote Access: During sudo add-apt-repository, error: -bash: syntax error near unexpected token `(''

91
Created On 11/10/26 11:00 AM - Last Modified 11/10/26 15:52 PM


Symptom


When running the add apt repository command for Remote Access pre-requisites, the user is presented with the following:  -bash: syntax error near unexpected token `(''

Environment


Remote Access connector on Ubuntu

Cause


This is caused by a malformed command line

Resolution


Remove all backslashes ('\') from the command and re-run

Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000000nVaCAI&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail