Etc/environment no such file or directory




















The PATH is still corrupted. I also noticed that I can't fix the error by manually setting the path or by logging in as root. I tried using export and setting the path using a quoted string I don't know if it matters or the best way.

The first was empty and the second had two files 90atk-adaptor. At this point I don't understand if the error message is actually on my path or printing along with the path. Originally I was getting an error in Jekyll. I thought that I had uninstalled something improperly. Apparently Jekyll was corrupted, and the solution was to apt remove it and then reinstall it. Along the way I learned that the path variable is modified in many non-obvious ways. It's not a duplicate of this question.

There is nothing wrong with your PATH. The problem isn't with your PATH , it's with how you're trying to display it. The first thing in a command line is the command you're running. Since there's no actual command by that name, you get an error. And since it's looking for an executable file corresponding to that command, the error you get is "No such file or directory".

To display the value of a shell varible like PATH correctly, use e. You can sometimes omit the double-quotes around variable references, but not always, so it's safer to just get in the habit of double-quoting variable references. And I mean always, not just in echo commands. See here , here , and here for more explanation. For PATH specifically, it's often easier to see it if it's broken up into separate directories; you can use the tr command to turn the colon delimiters into newlines.

Compare these two examples:. Ubuntu Community Ask! Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Usually, interrupted software installations leave cyclic dependency issues. Try running the following commands. You may have inadvertently disrupted your environment variables.

However, if this is a solution, delete the said file. Ubuntu Community Ask! Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Learn more. Asked 8 years, 3 months ago. Active 7 years, 10 months ago. Viewed 4k times. Here is the error description. Improve this question. Braiam Learn more.

Asked 1 year, 9 months ago. Active 1 year, 9 months ago. Viewed 2k times. Improve this question. Jules Jules 5 4 4 bronze badges. It is easier to read that way especially for blind people. The indexable text here does not even match what the computer said. Add a comment. Active Oldest Votes. Improve this answer.



0コメント

  • 1000 / 1000