Ask Your Question

Проблема при настройке источника( Problem when configuring the source)

asked 2018-07-29 23:36:45 -0600

Slavanka gravatar image

updated 2018-07-30 01:13:14 -0600

Hello for the first time on the forum please do not judge strictly. So this: according to the instructions from the official site I use the instructions for setting up the source. Or rather on this syslyk Http: // .... I lead a command for receiving software from the site . To be more precise, this "sudo sh -c 'echo" deb "and then I also drive this part of the program" (lsb_release -sc) main "> / etc / apt / sources .list.d / ros-latest.list '". Then they give me: deb sh: 2: Syntax.error: word.unexpected (there should not be a dot in two places, I'm sorry) Please help !!!

edit retag flag offensive close merge delete



Please use english, otherwise an answer to your question could maybe help you, but the vast majority of other users could not understand it.

NEngelhard gravatar image NEngelhard  ( 2018-07-30 01:07:48 -0600 )edit

Thanks for translating your question to English. Can you please do the same for your entire title?

jayess gravatar image jayess  ( 2018-07-30 03:03:52 -0600 )edit

Also, your question, to me, is confusing. Can you please try to edit it so that it's more clear what you're trying to do, what you've done, and what the results are (please copy and paste any errors that you receive).

jayess gravatar image jayess  ( 2018-07-30 03:05:17 -0600 )edit

1 Answer

Sort by » oldest newest most voted

answered 2018-07-30 03:12:12 -0600

destogl gravatar image

It seams you somehow broke the command? You should just copy exact line into your command line... Exactly this:

sudo sh -c 'echo "deb $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2018-07-29 23:27:58 -0600

Seen: 46 times

Last updated: Jul 30 '18