The Wayback Machine - https://web.archive.org/web/20210813195855/https://github.com/leon-ai/leon/issues/141
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

Fedora & apt-get #141

Open
AsterYujano opened this issue Oct 5, 2019 · 2 comments
Open

Fedora & apt-get #141

AsterYujano opened this issue Oct 5, 2019 · 2 comments

Comments

@AsterYujano
Copy link

@AsterYujano AsterYujano commented Oct 5, 2019

Specs

  • Leon version: latest
  • OS (or browser) version: Fedora 30
  • Node.js version: 10.16.3
  • Complete "npm run check" output:
➡ Here is the diagnosis about your current setup
✔ Run
✔ Run modules
✔ Reply you by texting
❗ Amazon Polly text-to-speech
❗ Google Cloud text-to-speech
❗ Watson text-to-speech
❗ Offline text-to-speech
❗ Google Cloud speech-to-text
❗ Watson speech-to-text
❗ Offline speech-to-text
✔ Hooray! Leon can run correctly
➡ If you have some yellow warnings, it is all good. It means some entities are not yet configured
  • (if using Docker) Complete "npm run docker:check" output: _
  • (optional) Leon package version: _

Expected Behavior

Run without errors the npm run setup-offline.

Actual Behavior

Throw this error after npm run setup-offline :

The following command has failed: "apt-get --version". "apt-get" is maybe missing. To continue this setup, please install the required tool. More details about the failure: Error: spawn apt-get ENOENT
✖ Error: spawn apt-get ENOENT

How Do We Reproduce?

Use Fedora OS, follow the Readme (clone, npm install, etc.)
run npm run check and try to install missing parts (Offline text-to-speech & Offline speech-to-text as you can see in the complete output) with commands such npm run setup:offline.

Extra (like a sample repo to reproduce the issue, etc.)

scripts/check-os.jsdoes not make nay difference between different linux distributions and use apt-get by default. I think adding dnf support should correct the error.

I will try to fix it soon and to PR the fix.

Regards

_

@AsterYujano AsterYujano added the bug label Oct 5, 2019
@AsterYujano
Copy link
Author

@AsterYujano AsterYujano commented Oct 5, 2019

After adding dnf support, it seems like sox libsox-fmt-all are not available on dnf/rpm but only with apt-get.

@louistiti
Copy link
Member

@louistiti louistiti commented Oct 6, 2019

Hello @AsterYujano,

Thanks for reporting. It was indeed a choice to not make difference between different Linux distributions, the reason is to keep it simple at first.

However, if you can get a fully workable installation process with Fedora, I'll be happy to work with you to support it 😃

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

Successfully merging a pull request may close this issue.

None yet
3 participants