Fedora & apt-get
See original GitHub issueSpecs
- 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.js
does 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:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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 😃
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.