microsoft / microsoft/shell-intune-samples
installer.sh: line 277: EDGE_GPG_KEY: unbound variable
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 1.1k
- Forks
- 305
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
Looks like things are getting closer with the installer script. I'm running into an issue when running the script though and see the following error message in the logs:
installer.sh: line 277: EDGE_GPG_KEY: unbound variable
The line in question is:
echo "deb [arch=$ARCH signed-by=$EDGE_GPG_KEY] https://packages.microsoft.com/repos/edge stable main"
| sudo tee /etc/apt/sources.list.d/microsoft-edge.list > /dev/null
Appears that the EDGE_GPG_KEY variable is not initialized.
I appreciate the work that has gone into this! Keep up the good work!
Thanks,
Andy
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with installer.sh at line 277 and trace where EDGE_GPG_KEY is expected to be initialized before the Microsoft Edge repository entry is written. Run the installer in the reported conditions and verify it completes without the unbound-variable error and produces the expected Edge apt source entry.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bash, shell
- Domain
- cli, devops
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 72/100