Skip to content
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

Installation of Remnux on Ubuntu 20.04 - Update returned exit code not zero #175

Open
samalder09 opened this issue Apr 25, 2024 · 1 comment

Comments

@samalder09
Copy link

samalder09 commented Apr 25, 2024

When attempting to run an install of Remnux on Ubuntu 20.04 using 'sudo remnux install --mode=addon, I am receiving failures at the same point of installation. The output that is presented at the error is:

">> Running: remnux-node-packages

Running: cpan install Net::SSLeay
Running: cpan install Image::ExifTool
Running: remnux-perl-packages
Update returned exit code not zero
Error: Update returned exit code not zero
at ChildProcess. (/snapshot/remnux-cli/remnux-cli.js:571:23)
at ChildProcess.emit (events.js:315:20)
at maybeClose (internal/child_process.js:1021:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)

Sometimes problems occur due to network or server issues when
downloading packages, in which case retrying your operation
a bit later might lead to good results.
To determine the nature of the issue, please review the
saltstack.log file under /var/cache/remnux/cli in the
subdirectory that matches the REMnux version you're installing.
Search for the log file for "result: false" messages and look at
the surrounding lines to diagnose the issue.
For assistance go to https://github.com/REMnux/remnux-cli/issues"

The error message appears at ">> Running: remnux-perl-packages" every time an install is attempted. I have attempted new hosts, updating/upgrading OS tools, but no luck. I have zipped and attached the saltstack.log file. Would it be possible to look into the reason for this please? I've never encountered an issue running the installer using this method previously.

Thank you in advance!

saltstack.zip

@samalder09 samalder09 changed the title Installation of Remnux on Ubuntu 20.04Update returned exit code not zero Installation of Remnux on Ubuntu 20.04 - Update returned exit code not zero Apr 25, 2024
@digitalsleuth
Copy link

Hi @samalder09, it looks like your error was caused by an SSL: CERTIFICATE_VERIFY_FAILED error when attempting to download two packages:

# [ERROR   ] Failed to cache https://download.docker.com/linux/ubuntu/gpg: Error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007) reading /linux/ubuntu/gpg
# [ERROR   ] Failed to cache https://www.mitec.cz/Downloads/SSView.zip: Error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007) reading /Downloads/SSView.zip

Can you confirm that the date/time inside the instance is set correctly? Sometimes, if the date of the request is much earlier or much later than the date/time on the server, the certificate validation may not succeed. Additionally, given that you're setting this up in an EC2 instance, it is possible that you've fallen victim to another issue identified on the AWS GitHub page.

You can try confirming the date/time and reviewing the comment thread linked above to see if that resolves your issue. Please let us know how it goes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants