microsoft / microsoft/shell-intune-samples

installer.sh: line 277: EDGE_GPG_KEY: unbound variable

Open Beginner friendly
#266 2 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

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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.