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

installer.sh uses lsb_release before installing it and fails if it's not already installed #104

Open
ledlamp opened this issue Oct 22, 2024 · 1 comment

Comments

@ledlamp
Copy link

ledlamp commented Oct 22, 2024

Apparently the Debian 12 image from https://images.linuxcontainers.org/ doesn't have lsb-release pre-installed. Perhaps the script should try installing it first, or perhaps it should just source /etc/os-release directly.

# bash installer.sh
installer.sh: line 11: lsb_release: command not found
installer.sh: line 12: lsb_release: command not found
Sorry, only Ubuntu 20.04, 22.04, Debian 11 and Debian 12 are supported by this installer. Exiting...
@ledlamp
Copy link
Author

ledlamp commented Oct 22, 2024

Lol, the script does install lsb-release package, AFTER using lsb_release...

@ledlamp ledlamp changed the title installer.sh doesn't work when lsb_release is not installed installer.sh uses lsb_release before installing it and fails if it's not already installed Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant