Skip to content

Peanut update error #3924

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

Closed
1 of 2 tasks
aroundmyroom opened this issue Apr 17, 2025 · 0 comments · Fixed by #3925
Closed
1 of 2 tasks

Peanut update error #3924

aroundmyroom opened this issue Apr 17, 2025 · 0 comments · Fixed by #3925
Labels
bug Something isn't working

Comments

@aroundmyroom
Copy link

✅ Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using?

Peanut

📂 What was the exact command used to execute the script?

update

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

No response

📝 Provide a clear and concise description of the issue.

update script of peanut is failing

🔄 Steps to reproduce the issue.

run update from the shell
updating to 5.7.2 fails

❌ Paste the full error output (if available).

⠸ Updating PeaNUT to v5.7.2tar: option '--strip-components' requires an argument
Try 'tar --help' or 'tar --usage' for more information.
⠼ Updating PeaNUT to v5.7.2
[ERROR] in line 35: exit code 0: while executing command tar -xzf peanut.tar.gz -C /opt/peanut --strip-components

🖼️ Additional context (optional).

solution is to change the line 35 to

--strip-components=1

@aroundmyroom aroundmyroom added the bug Something isn't working label Apr 17, 2025
@tremor021 tremor021 mentioned this issue Apr 17, 2025
10 tasks
@tremor021 tremor021 linked a pull request Apr 17, 2025 that will close this issue
10 tasks
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

Successfully merging a pull request may close this issue.

1 participant