-
Notifications
You must be signed in to change notification settings - Fork 22
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
Error when sed is not in /usr/bin/sed
#119
Comments
Not really a rig issue, but rather an issue with R, I would say. It remembers where sed was when it was built, and then it looks for it there when it runs. Why it cannot just find it on the PATH is beyond me. This is a duplicate of #82, btw. so apparently people are running into it, so I'll see if we could work around it in rig. |
Oh, my. Sorry for not searching for duplicates. That's my mistake for creating an issue in a hurry. |
No worries, it is useful to know that more than one person has the same issue. :D |
The other thing that I don't understand is how people end up without
It is from the
And while it is possible to remove it, there is a stern warning for it:
I guess the sed package is not removed, only the |
@statnmap @eliocamp @nevermana-landcare (from r-lib/ps#110) do you have any clue how your Ubuntu did not have Did you originally update from an earlier version of Ubuntu? Or did you run Ubuntu 20.04 in a container? Did you use the original Ubuntu or another distro based on Ubuntu 20.04? Are |
I actually have elementary OS, which is based on Ubuntu 20.04. I installed it from scratch with its current version. I think both locations are in the same root partition (I have a separate partition for home, but that's it). |
For me I suspect the reason was because I did a release upgrade from 18.04 to 20.04 rather than a fresh install of 20.04. I also encountered similar issues with other packages not being where they were expected for 20.04, so assume this was due to upgrading from 18.04. I've subsequently performed a fresh install of 20.04 and didn't encounter these issues. |
Aha, on 18.04 there is no |
Same here. I migrated from 18.04. |
It is quite cumbersome to work around this in rig, because if R was compiled with
So it is better to advise the used to add the |
So now you'll get this error in this situation:
|
I got this on a computer with Ubuntu 20.04.
This error prevented installing pak, but the R installation worked. However, doing anything was impossible as it was met with the same error:
which sed
returned/bin/sed
so the workaround was to create a symlink.The text was updated successfully, but these errors were encountered: