-
Notifications
You must be signed in to change notification settings - Fork 22
Closed
Labels
Description
Specs
- Leon version: 1.3.0
- OS (or browser) version: Fedora Linux 36 (Workstation Edition)
- Node.js version: v16.16.0
- Complete "leon check" (or "npm run check") output:
Error: You should have at least one instance.
For further information, look at the log file located at /home/andreeckardt/.config/@leon-ai/cli/log-errors.txt
Expected Behavior
When i run leon create birth
, a leon instance is created on a Fedora 36 machine.
Actual Behavior
I get an error during installation:
$ leon create birth
✖ Installing packages
Error: Failed to install needed packages
For further information, look at the log file located at /home/<username>/.config/@leon-ai/cli/log-errors.txt
Within the error file, the following error is visible:
[Wed Sep 07 2022 14:05:23 GMT+0200 (Central European Summer Time)] [leon create birth] Failed to install needed packages
Error: Command failed with exit code 2: sudo --non-interactive /home/<username>/.nvm/versions/node/v16.16.0/lib/node_modules/@leon-ai/cli/scripts/dependencies/install_yum_packages.sh
usage: yum install [-c [config file]] [-q] [-v] [--version]
[--installroot [path]] [--nodocs] [--noplugins]
[--enableplugin [plugin]] [--disableplugin [plugin]]
[--releasever RELEASEVER] [--setopt SETOPTS]
[--skip-broken] [-h] [--allowerasing] [-b | --nobest] [-C]
[-R [minutes]] [-d [debug level]] [--debugsolver]
[--showduplicates] [-e ERRORLEVEL] [--obsoletes]
[--rpmverbosity [debug level name]] [-y] [--assumeno]
[--enablerepo [repo]] [--disablerepo [repo] | --repo
[repo]] [--enable | --disable] [-x [package]]
[--disableexcludes [repo]] [--repofrompath [repo,path]]
[--noautoremove] [--nogpgcheck] [--color COLOR] [--refresh]
[-4] [-6] [--destdir DESTDIR] [--downloadonly]
[--comment COMMENT] [--bugfix] [--enhancement]
[--newpackage] [--security] [--advisory ADVISORY]
[--bz BUGZILLA] [--cve CVES]
[--sec-severity {Critical,Important,Moderate,Low}]
[--forcearch ARCH]
PACKAGE [PACKAGE ...]
yum install: error: unrecognized arguments: --yes
How Do We Reproduce?
Use Fedora and try to follow the Installation chapter.
Extra (like a sample repo to reproduce the issue, etc.)
On a fedora system the --yes
flag is not supported. Instead -y
can be used. I don't know exactly if this is only related to fedora. Also i would expect the installer to use dnf instead of yum.