Add note about enabling source repos on Ubuntu 24.04+#264
Open
thisisnic wants to merge 2 commits into
Open
Conversation
On Ubuntu Noble and later, source repositories are not enabled by default. Users need to edit /etc/apt/sources.list.d/ubuntu.sources to add deb-src before apt-rdepends and build-dep commands will work. Closes r-devel#261 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
llrs
reviewed
Mar 29, 2026
llrs
left a comment
Member
There was a problem hiding this comment.
Thanks for checking this! Maybe a line explaining the message users might get would make it even more helpful. Could you add it? Then I'll merge it.
Probably unrelated but after following these steps I get a somewhat confusing message (might be related to me not using ubuntu directly but a downstream distribution):
sudo apt-get build-dep r-base-dev
Reading package lists... Done
Picking 'r-base' as source package instead of 'r-base-dev'
|
@llrs it make sense when you step back and look at the debian/control file which has followed by all the package names, including |
Contributor
Author
|
Thanks - added a little more context here now @llrs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
On Ubuntu Noble and later, source repositories are not enabled by default. Users need to edit /etc/apt/sources.list.d/ubuntu.sources to add deb-src before apt-rdepends and build-dep commands will work. Instructions added in this PR.
Fixes #261
What should a reviewer concentrate their feedback on?