Skip to content

update-registry.sh needs bzip2 installed - #1146

Closed
jklare wants to merge 1 commit into
mainfrom
jk-metalbox-bzip2
Closed

jklare wants to merge 1 commit into
mainfrom
jk-metalbox-bzip2

Conversation

@jklare

@jklare jklare commented Nov 14, 2026

Copy link
Copy Markdown
Contributor
  • make sure bzip2 is installed so that update-regsitry.sh does not fail while checking the downloaded archive with this error message:
dragon@osism-metalbox:~$ update-registry.sh
Downloading registry archive from:
https://nbg1.your-objectstorage.com/osism/metalbox/registry.tar.bz2
Saving to: /opt/registry.tar.bz2
  % Total    % Received % Xferd  Average Speed   Time    Time     Time
Current
                                 Dload  Upload   Total   Spent    Left
Speed
100 3747M  100 3747M    0     0  76.9M      0  0:00:48  0:00:48 --:--:--
117M
Verifying /opt/registry.tar.bz2 ...
tar (child): bzip2: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
ERROR: /opt/registry.tar.bz2 is not a readable bzip2 archive.
       Refusing to continue: the import would destroy the current
       registry volume before reading it.

* make sure bzip2 is installed so that update-regsitry.sh does not fail
  while checking the downloaded archive with this error message:

```
dragon@osism-metalbox:~$ update-registry.sh
Downloading registry archive from:
https://nbg1.your-objectstorage.com/osism/metalbox/registry.tar.bz2
Saving to: /opt/registry.tar.bz2
  % Total    % Received % Xferd  Average Speed   Time    Time     Time
Current
                                 Dload  Upload   Total   Spent    Left
Speed
100 3747M  100 3747M    0     0  76.9M      0  0:00:48  0:00:48 --:--:--
117M
Verifying /opt/registry.tar.bz2 ...
tar (child): bzip2: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
ERROR: /opt/registry.tar.bz2 is not a readable bzip2 archive.
       Refusing to continue: the import would destroy the current
       registry volume before reading it.
```

Signed-off-by: Jan Klare <klare@osism.tech>
@github-actions

Copy link
Copy Markdown

✅⚠️MegaLinter analysis: Success with warnings

Descriptor Linter Files Fixed Errors Max errors Warnings Elapsed time
✅ ACTION actionlint 5 0 0 0.06s
✅ JSON jsonlint 4 0 0 0.09s
✅ JSON prettier 4 0 0 0.32s
✅ JSON v8r 4 0 0 11.09s
✅ MARKDOWN markdownlint 184 0 0 3.25s
✅ MARKDOWN markdown-table-formatter 184 0 0 0.43s
✅ REPOSITORY betterleaks yes no no 0.65s
✅ REPOSITORY checkov yes no no 20.45s
✅ REPOSITORY git_diff yes no no 0.09s
✅ REPOSITORY secretlint yes no no 1.6s
✅ REPOSITORY trufflehog yes no no 3.69s
✅ SPELL codespell 194 0 0 0.58s
⚠️ SPELL lychee 194 5 0 11.47s
✅ YAML prettier 6 0 0 0.44s
✅ YAML v8r 6 0 0 8.31s
✅ YAML yamllint 6 0 0 0.5s

Detailed Issues

⚠️ SPELL / lychee - 5 errors
📝 Summary
---------------------
🔍 Total.........1304
🔗 Unique.........958
✅ Successful....1179
⏳ Timeouts.........0
🔀 Redirected.......9
👻 Excluded.......120
❓ Unknown..........0
🚫 Errors...........5
⛔ Unsupported......5

Errors in .claude/skills/security-advisory/reference/style.md
[ERROR] file://.claude/skills/guides/operations-guide/openstack/security-updates.md (at 189:3) | File not found. Check if file exists and path is correct

Errors in .claude/skills/security-advisory/SKILL.md
[400] https://cveawg.mitre.org/api/cve/ (at 16:18) | Rejected status code: 400 Bad Request
[404] https://raw.githubusercontent.com/osism/ (at 17:18) | Rejected status code: 404 Not Found
[400] https://registry.osism.tech/service/token (at 18:19) | Rejected status code: 400 Bad Request

Errors in docs/guides/developer-guide/style-guide.md
[ERROR] https://wiki.openstack.org/wiki/GitCommitMessages (at 79:1) | Network unreachable. Check internet connection or VPN settings

Hint: Followed 9 redirects. You might want to consider replacing redirecting URLs with the resolved URLs. Use verbose mode (`-v`/`-vv`) to see redirection details.

See detailed reports in MegaLinter artifacts

Your project could benefit from a custom flavor, which would allow you to run only the linters you need, and thus improve runtime performances. (Skip this info by defining FLAVOR_SUGGESTIONS: false)

  • Documentation: Custom Flavors
  • Command: npx mega-linter-runner@10.2.0 --custom-flavor-setup --custom-flavor-linters ACTION_ACTIONLINT,JSON_JSONLINT,JSON_V8R,JSON_PRETTIER,MARKDOWN_MARKDOWNLINT,MARKDOWN_MARKDOWN_TABLE_FORMATTER,REPOSITORY_CHECKOV,REPOSITORY_GIT_DIFF,REPOSITORY_BETTERLEAKS,REPOSITORY_SECRETLINT,REPOSITORY_TRUFFLEHOG,SPELL_LYCHEE,SPELL_CODESPELL,YAML_PRETTIER,YAML_YAMLLINT,YAML_V8R

MegaLinter is provided by OX Security
Show us your support by starring ⭐ the repository

@berendt

berendt commented Nov 16, 2026

Copy link
Copy Markdown
Member

Fixed with osism/metalbox#400

@berendt berendt closed this Nov 16, 2026
@github-project-automation github-project-automation Bot moved this from New to Done in Human Board Nov 16, 2026
@berendt
berendt deleted the jk-metalbox-bzip2 branch November 16, 2026 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants