microsoft / microsoft/shell-intune-samples

Error running the installer.sh script: VERSION_ID: unbound variable

Open
#278 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
1.1k
Forks
305
PR merge metrics
No merged PRs in 30d

Description

When I run the installer.sh on my linux system, I get the following:

$ ./installer.sh --verbose
./installer.sh: line 200: VERSION_ID: unbound variable

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running ./installer.sh --verbose on a Linux system and inspect installer.sh around line 200, where VERSION_ID is reported as unbound. Trace how the script obtains the Linux version and reproduce the failure under the reported conditions. Done means the installer no longer exits with this unbound-variable error.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.