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

Install script does not check for the presence of lsb_release on Debian 12 #874

Open
Huskynarr opened this issue Sep 18, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Huskynarr
Copy link

While trying to install MyNode on a minimal version of Debian 12, I noticed that the install script assumes that lsb_release is installed, without checking if this tool is actually present.

In a plain version of Debian 12, lsb_release is not installed by default, causing the installation to fail. It would be helpful if the script included a check and notified the user to install lsb_release if necessary.

Steps to reproduce:

  1. Start with a fresh installation of Debian 12 (minimal version).
  2. Attempt to install MyNode without lsb_release installed.
  3. The installation script fails.

Expected behavior:
The script should check if lsb_release is installed and either display an error message or guide the user to install the package.

System info:

  • OS: Debian 12 (minimal)

Proposed solution:
Add a check in the install script to verify if lsb_release is present. If not, it should either output an error or suggest installing it automatically (e.g., via apt-get install lsb-release).

@Huskynarr Huskynarr added the bug Something isn't working label Sep 18, 2024
Repository owner deleted a comment from Goddessnunu33 Sep 18, 2024
@tehelsper
Copy link
Collaborator

If you are installing on an unsupported OS, there are very likely unmet dependencies that would need to be installed. We have this doc that describes the steps to get running on Debian 12.

https://github.com/mynodebtc/mynode/blob/master/doc/setup_base_image_debian.md

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

No branches or pull requests

2 participants