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

[Bug] leon create birth failed (uncognized option --yes for yum package manager) #195

Closed
Hkmu opened this issue Sep 6, 2022 · 2 comments · Fixed by #196
Closed

[Bug] leon create birth failed (uncognized option --yes for yum package manager) #195

Hkmu opened this issue Sep 6, 2022 · 2 comments · Fixed by #196
Labels
bug Something isn't working released

Comments

@Hkmu
Copy link
Contributor

Hkmu commented Sep 6, 2022

Steps To Reproduce

  1. Step 1
    Just run leon create birth on CentOS

The current behavior

Error summary from log file ~/.config/@leon-ai/cli/log-errors.txt:

Error: Command failed with exit code 2: sudo --non-interactive /root/.nvm/versions/node/v18.5.0/lib/node_modules/@leon-ai/cli/scripts/dependencies/install_yum_packages.sh

yum install: error: unrecognized arguments: --yes

The expected behavior

leon start birth gets executed successfully.

@Hkmu Hkmu added the bug Something isn't working label Sep 6, 2022
Hkmu added a commit to Hkmu/leon-cli that referenced this issue Sep 6, 2022
`--yes` is not a valid argument but `-y`. Replacing `--yes` with `-y` or using `yes` CLI can resolve this.

Resolves: leon-ai/issues/195#issue-1363352738
@theoludwig
Copy link
Member

Hello! @Hkmu

Thanks for your report!
Indeed it is a bug, actually --yes doesn't exist for the yum CLI.

In the CLI part, we already support many famous package managers for different GNU/Linux distributions, but unfortunately, on the Core side, it is not the case.
Being able to run Leon on multiple CPU architectures, and distribution, it's definitely something we would like to support, and we would like to solve it before the v1.0.0 stable release (currently Leon is in beta).
We will try to solve this problem later, when the core of Leon is more mature, just before the v1 stable release.
You can read more here: leon-ai/leon#302 (review).

Meanwhile, you can use Leon without problems on Ubuntu, macOS, and Windows, also you can try Leon with a single click thanks to GitPod: https://github.com/leon-ai/leon#%EF%B8%8F-try-with-a-single-click.

@theoludwig theoludwig changed the title leon start birth failed [Bug] leon create birth failed (uncognized option --yes for yum package manager) Sep 6, 2022
@github-actions
Copy link

🎉 This issue has been resolved in version 1.3.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants