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

Command not found #694

Closed
Kirill2006183 opened this issue May 27, 2021 · 6 comments
Closed

Command not found #694

Kirill2006183 opened this issue May 27, 2021 · 6 comments

Comments

@Kirill2006183
Copy link

/root/ pi-apps/ api: line 15: file: command not found
/root/ pi-apps/ api: line 17: file: command not found
how to fix it

@NoozAbooz
Copy link
Contributor

/root/ pi-apps/ api: line 15: file: command not found
/root/ pi-apps/ api: line 17: file: command not found
how to fix it

Please do not use root to install/run pi-apps.

@Botspot
Copy link
Owner

Botspot commented May 27, 2021

/root/ pi-apps/ api: line 15: file: command not found
/root/ pi-apps/ api: line 17: file: command not found
how to fix it

I see two problems.

  1. First, there has been absolutely zero testing for running Pi-Apps as the root user. Proceed at your own risk and brace yourself for endless permission errors.
  2. Whatever system you are using does not include the file command. I've not seen this problem before, though I have known it's theoretically possible as the file command is not POSIX-compliant.

@Kirill2006183
Copy link
Author

/root/ pi-apps/ api: line 15: file: command not found
/root/ pi-apps/ api: line 17: file: command not found
how to fix it

Please do not use root to install/run pi-apps.

Now access is denied /root/pi-apps/gui I did without root

@Botspot
Copy link
Owner

Botspot commented May 27, 2021

/root/ pi-apps/ api: line 15: file: command not found
/root/ pi-apps/ api: line 17: file: command not found
how to fix it

Please do not use root to install/run pi-apps.

Now access is denied /root/pi-apps/gui I did without root

Exactly. If you use root even once with pi-apps, it changes the permissions for some files and breaks its usage for non-root usage.
To solve, I suggest you delete the whole pi-apps folder and start over.

Also, @Kirill2006183, what operating system are you using that doesn't include the file command?

@Kirill2006183
Copy link
Author

/ root / pi-apps / api: строка 15: файл: команда не найдена
/ root / pi-apps / api: строка 17: файл: команда не найдена,
как это исправить

Пожалуйста, не используйте root для установки / запуска pi-приложений.

Теперь доступ запрещен / root / pi-apps / gui Я сделал без рута

Точно. Если вы используете root даже один раз с pi-приложениями, это изменяет разрешения для некоторых файлов и нарушает его использование для использования без полномочий root.
Чтобы решить эту проблему, я предлагаю вам удалить всю папку pi-apps и начать заново.

Кроме того, @ Kirill2006183 , какую операционную систему вы используете, в которой нет этой fileкоманды?

Well I'm still using ubuntu system

@Kirill2006183
Copy link
Author

Kirill2006183 commented May 27, 2021

Solved this error you need to download this program file sudo apt install file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants