-
Notifications
You must be signed in to change notification settings - Fork 11
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
[11/12/2024] REMnux failed to install on Ubuntu 20.04 #196
Comments
@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 |
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 As for the previous Ubuntu install, I can't seem to run I'll update if it
|
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
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 |
Hi @KlimHazzard , the |
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
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 |
Hi @KlimHazzard , my apologies for not getting back to you sooner. It looks like the error you're having is related to an install issue with pycryptodome. Can you try running the following: sudo touch /usr/local/lib/python3.8/dist-packages/pycryptodome-3.21.0.dist-info/METADATA
sudo touch /usr/local/lib/python3.8/dist-packages/pycryptodome-3.21.0.dist-info/RECORD Once that's done, you should be able to retry your installation. |
Thanks for the response @digitalsleuth I unfortunately still get the same problem. I tried it several times reverting to the previous snapshot before remnux installing and then trying a variation of actions like updating Ubuntu 20.04 software packages. Here's the excerpt of my console where it stops.
Here is the latest saltstack log file |
Hi again @KlimHazzard , the error in this saltstack.log file is the same as the previous, so it's possible that you've made the change, got a different error, reverted to a snapshot but didn't apply the fix to that, and then got the previous error. In your current snapshot / state, can you please run the commands from my previous comment and if you end up with an error, please attach that log file? Cheers! |
I'm pretty sure I used those commands before I ran After. Are the files created from the Attached is the saltstack log after this failure. |
Hi @KlimHazzard , it looks like the errors from this log are two-fold:
# [ERROR ] Failed to install packages: git+https://github.com/decalage2/ViperMonkey.git. Error: Collecting git+https://github.com/decalage2/ViperMonkey.git
Cloning https://github.com/decalage2/ViperMonkey.git to /tmp/pip-req-build-uswtbV DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Running command git clone -q https://github.com/decalage2/ViperMonkey.git /tmp/pip-req-build-uswtbV
error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8)
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
sudo python3 -m pip install --force-reinstall --break-system-packages pycryptodome This should remedy the pycryptodome by forcibly removing and re-installing properly so it can then be managed by other packages which need to. |
Thanks for sticking with me on this @digitalsleuth. So I've installed Is there something I should do to install ViperMonkey? I'm still getting the same error when I attempt to install remnux. |
Glad to help! As for ViperMonkey, that's a different issue that we're currently dealing with right now. If you're only getting ViperMonkey as an error, you shouldn't need to worry about that, you'll be able to still use everything else. Once we address the issue, you will be able to upgrade to the next release without a problem. |
Trying to download REMnux on Ubuntu using the following command
sudo remnux install --mode=addon
and I get the following errorThe text was updated successfully, but these errors were encountered: