question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

_

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
louistiticommented, 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 😃

0reactions
louistiticommented, Dec 5, 2022

Hey ,Is this issue still open ? Can I contribute?

Thanks for willing to contribute. I do not recommend new contributions now as the whole core of Leon is being rewritten and such issue will no longer be valid.

Read more comments on GitHub >

github_iconTop Results From Across the Web

APT command equivalents on Fedora with DNF
APT is the package manager/dependency solver for the Debian ecosystem, i.e. it manages .deb packages installed by the DPKG program. Fedora software is...
Read more >
What is the similar command of Ubuntu's sudo apt-get update ...
As apt-get update (or apt update ), a dnf check-update updates the local repository cache. The (general) dnf update equivalent in ...
Read more >
Can you install apt on Fedora? Is it a good idea? - Reddit
I thi k apt is just the easiest and simplest package manager solely because it's used by ubuntu and therefore I can look...
Read more >
how to install apt-get on fedora, no idea which one ...?
hello how to install apt-get on fedora, no idea which core one ...? thanks the sources.list is: Code: # rpm.livna.org sources.list entries ...
Read more >
HOWTO: Install Apt for RPM in Fedora Core 1
The Apt tool was first developed by the Debian community, and later ported to RPM based distros by Conectiva Linux. This tool was...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found