Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates the command to add the repo #9261

Closed
wants to merge 1 commit into from
Closed

Updates the command to add the repo #9261

wants to merge 1 commit into from

Conversation

palecur
Copy link

@palecur palecur commented Jan 12, 2015

The example command in the 'Setup Repositories' section has been updated to not use add-apt-repository, which automatically adds a non-working deb-src line to sources.list. Command now uses echo to write the correct line to sources.list instead.

@rjernst
Copy link
Member

rjernst commented Jan 12, 2015

I think you need to make sure sudo is associated with the append?
http://superuser.com/questions/136646/how-to-append-to-a-file-as-sudo

automatically adds a non-working deb-src line to sources.list. Command
now uses echo to write the correct line to sources.list instead.
@palecur
Copy link
Author

palecur commented Jan 12, 2015

Update is in, please take a look.

@rjernst
Copy link
Member

rjernst commented Jan 12, 2015

LGTM

@elasticsearch-bot
Copy link

Merged sucessfully into master 1.x!

@palecur palecur closed this in 4f938ad Jan 12, 2015
palecur pushed a commit that referenced this pull request Jan 12, 2015
…ich automatically adds a non-working deb-src line to sources.list. Command now uses echo to write the correct line to sources.list instead.

Fixes #9261
@clintongormley clintongormley added the >docs General docs changes label Jan 14, 2015
clintongormley pushed a commit that referenced this pull request Jan 10, 2017
#9261 added a warning about the use of `add-apt-repository` which is becoming obsolete over time as new distribution releases include later versions of `add-apt-repository` which don't automatically add the `deb-src` line. This change updates the documentation to make the block a note rather than a warning and adds two other reasons for avoiding `add-apt-repository` which are still relevant: avoiding edits to a system shared file and not requiring a large number of non-default packages to add one line of text to a file.
clintongormley pushed a commit that referenced this pull request Jan 10, 2017
#9261 added a warning about the use of `add-apt-repository` which is becoming obsolete over time as new distribution releases include later versions of `add-apt-repository` which don't automatically add the `deb-src` line. This change updates the documentation to make the block a note rather than a warning and adds two other reasons for avoiding `add-apt-repository` which are still relevant: avoiding edits to a system shared file and not requiring a large number of non-default packages to add one line of text to a file.
clintongormley pushed a commit that referenced this pull request Jan 10, 2017
#9261 added a warning about the use of `add-apt-repository` which is becoming obsolete over time as new distribution releases include later versions of `add-apt-repository` which don't automatically add the `deb-src` line. This change updates the documentation to make the block a note rather than a warning and adds two other reasons for avoiding `add-apt-repository` which are still relevant: avoiding edits to a system shared file and not requiring a large number of non-default packages to add one line of text to a file.
clintongormley pushed a commit that referenced this pull request Jan 10, 2017
#9261 added a warning about the use of `add-apt-repository` which is becoming obsolete over time as new distribution releases include later versions of `add-apt-repository` which don't automatically add the `deb-src` line. This change updates the documentation to make the block a note rather than a warning and adds two other reasons for avoiding `add-apt-repository` which are still relevant: avoiding edits to a system shared file and not requiring a large number of non-default packages to add one line of text to a file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants