Open KlimHazzard opened 2 days ago
@KlimHazzard, I'm wondering whether something upstream from your network connection is interfering with the download. Are you behind a web proxy, by any chance? The REMnux installer doesn't presently work with proxies.
Not behind a web proxy. I have a VPN that I use but in these scenarios when debugging issues I'll switch it off to see if it fixes anything and it doesn't fix it :(. Would having the VPN on during the installation process (when I run the command sudo remnux install --mode=addon
) permanently effect the installation process to where it wouldn't work afterwards?
Great, please give it a try. It's fine to run the REMnux installer command multiple times.
Currently whipped up a fresh Ubuntu install and tried this time without a VPN on the entire time during the Ubuntu installation process AND the following REMnux installation process. It seems to be running fine so far! (I also ran sudo remnux install
instead)
As for the previous Ubuntu install, I can't seem to run sudo remnux install --mode=addon
without having the same error pop up.
I'll update if it ~completes fully~ it didn't complete fully, it got up to the following
>> Running: /etc/ssh/sshd_config
>> Running: away-from-the-dog
>> Running: echo "wireshark-common wireshark-common/install-setuid select True"| debconf-set-selections; dpkg-reconfigure -f noninteractive wireshark-common
>> Running: wireshark
>> Running: ssh
Update returned exit code not zero
Error: Update returned exit code not zero
at ChildProcess.<anonymous> (/snapshot/remnux-cli/remnux-cli.js:562: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
Well I was prompted to update my new version of Ubuntu (the ISO used is 20.04.6) using the package manager and restarted the VM. It seems like it might have half installed REMnux (?). It changed the background in Ubuntu to the REMnux background and some of the packages are there. But when I run sudo remnux install
again I get the same kind of error
.
.
.
>> Running: away-from-the-dog
>> Running: echo "wireshark-common wireshark-common/install-setuid select True"| debconf-set-selections; dpkg-reconfigure -f noninteractive wireshark-common
>> Running: wireshark
>> Running: remnux-theme
>> Running: ssh
Update returned exit code not zero
Error: Update returned exit code not zero
at ChildProcess.<anonymous> (/snapshot/remnux-cli/remnux-cli.js:562: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
Which seems like SSH is the problem?
ALSO the other Ubuntu VM still has the original same salt-states error stated as before when running either commands, even if a VPN isn't running
sudo remnux install
sudo remnux install --mode=addon
Hi @KlimHazzard , the ssh
state is just the last state to run in the list of installations, not necessarily the one with the issue itself. The "Error" doesn't present until after all states have been run. Would you be able to provide the saltstack.log file so we can do some troubleshooting?
Sure, according to the information in the error log it says "please review the saltstack.log file under /var/cache/remnux/cli", but I can't seem to find this log file in the directory
remnux@ubuntu:/var/cache/remnux/cli/v2024.44.3$ ls
remnux-salt-states-v2024.44.3.tar.gz
remnux-salt-states-v2024.44.3.tar.gz.asc
remnux-salt-states-v2024.44.3.tar.gz.sha256
remnux-salt-states-v2024.44.3.tar.gz.sha256.asc
~How can I retrieve the saltstack.log (mind you this is just a fresh install of Ubuntu)?~
UPDATE: Found the saltstack.log, since I'm referring to two VMs where I'm instally REMnux here, it was in the second VM
Found the saltstack.log @digitalsleuth saltstack.log
Trying to download REMnux on Ubuntu using the following command
sudo remnux install --mode=addon
and I get the following error