-
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
REMnux upgrade failing for 2024.28.1 #184
Comments
having the same issue |
it throw an error on running ssh for me @NotMorphus same for you? |
Hi @NotMorphus and @RokasAl , could both of you provide the output of the following command: sudo python3 -m pip list | grep setuptools I believe that this is a compatibility issue with your current version of setuptools, and I am looking into a solution for this. Cheers! |
I dont think so... |
is what i get from this command.Do you think i should update this? Because i was reading from one place where it says upgrading to the latest version fixed it. Not particular to this OS. Just a general problem |
|
Hi @CamilleBucci , as @NotMorphus stated earlier, it would be helpful to have your saltstack.log file for further analysis. As for the remainder, it does appear that this issue is tied into #183. I am testing right now and hope to have some results this evening. |
I did try to run the commands at my end, and, |
That's possible, because your issue is partially related, but not completely. Pyelf didn't end up installing properly in your installation due to the setuptools error, meaning the pyelf directory didn't exist. Hopefully I should have a workaround for this issue shortly. |
alright, I am available here for a couple of hours, so let me know as soon as you have a fix. |
hello! |
Hi @NotMorphus , I'm still trying to find a way to duplicate the issue and ensure the fixes I'm applying are successful, however I haven't been able to duplicate it. You can however in the meantime try the following: sudo python3 -m pip install setuptools==58.3.0 And then run the install process again. This will resolve your core issue, and should allow for the rest of the packages to install properly. |
Hi, i also tried |
@futex @NotMorphus @CamilleBucci @RokasAl Can you all provide me the output of the following: cat /etc/remnux-version This will allow me to revert to the exact state of the system before you've attempted the upgrade and see if I can determine a fix for the issue. |
V2022.26.2 |
v2024.23.1 |
|
any update here? |
Output: v2022.28.1 I am also facing a similar issue. Here's the saltstack for v2022.28.1 (Current version, Fresh Import as a virtual machine in Vbox): Here's the saltstack for |
Also facing update issues when using Remnux update Started off with the VirtualBox OVA from https://docs.remnux.org/install-distro/get-virtual-appliance which seems to be quite an old version (2022.28.1), but couldn't find a newer OVA to download. Running cat /etc/remnux-version returns v2024.28.1 saltstack.log attached |
You should go with manual installation instead of through OVA.
I have downloaded remnux from scratch and everything went smoothly. Just
follow the guide to build your remnux machine to the dot.
It is going to take time but there won't be any issues.
…On Sat, Jul 27, 2024, 19:27 Darren Rose ***@***.***> wrote:
Also facing update issues when using Remnux update
image.png (view on web)
<https://github.com/user-attachments/assets/c22c68e5-8c9e-4299-85fa-8fc73caa8e29>
Started off with the VirtualBox OVA from
https://docs.remnux.org/install-distro/get-virtual-appliance which seems
to be quite an old version (2022.28.1), but couldn't find a newer OVA to
download.
Running cat /etc/remnux-version returns v2024.28.1
saltstack.log
<https://github.com/user-attachments/files/16400350/saltstack.log>
attached
—
Reply to this email directly, view it on GitHub
<#184 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AVX7LYYKOFLRMPD6QJC4PLTZOORNTAVCNFSM6AAAAABKTFGOBSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJUGE2TMNJSGU>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Thanks will try that |
Manual install also failed with error as below after running sudo remnux install Same error as I was getting trying to upgrade initially... |
This is not what I meant by manual. You have to install the remnux as a new bare metal machine inside your virtualisation software (VM Ware, V box,etc.) Start from installing Ubuntu (without any additional software) and setting up the user "remnux" with password "malware" And after that install remnux. There is a guide for the installation from scratch. Don't perform any additional operation and simply follow it to the dot for a seamless and smooth installation. https://docs.remnux.org/install-distro/install-from-scratch Note: If you follow the guide to the dot then there won't be a GUI and softwares and you will have to pass few CLI commands but you don't have to worry since remnux will automatically install everything for you in later steps. Edit: Remember to download the image of Ubuntu provided in the guide. |
Yes that is EXACTLY what I did!. I installed Ubuntu 20.04 as per that article and followed steps, but when I then enter sudo remnux install on step 3 I get the above error. And yes I definitely found and used Ubuntu 20.04 as suggested, but had to download from different location though as link in guide was blocked for me for some reason - so I used this link to download it - https://releases.ubuntu.com/20.04.6/?_ga=2.149898549.2084151835.1707729318-1126754318.1683186906 - perhaps that was my mistake... |
Now got download of mini.iso working from another computer - no idea why it was blocked before - so will try again. Thanks |
You should also check and disable the windows hyperv if you are using vbox or perform the additional steps of wayland if you are using VMWare. https://docs.remnux.org/install-distro/get-virtual-appliance Review the Step 5. Edit: Do not install any of the additional software other than the ones mentioned in the documentation "Install From Scratch". Including GUI. |
Now all sorted - thanks for your help |
@digitalsleuth any update dear friend? |
For me, this did not work either there's some error with python3 i think after reading the log file |
Follow the steps from the beginning. It works. |
I read the doc from top to bottom |
It "may have" worked in the past but I've been trying for the last 3 days as well using both the OVA and trying to update it as well as building from scratch and both always fail at the same place as the screen shots above. |
You wouldnt get any GUI if you follow the steps... |
ok so I solved it by uninsatlling setuptools 67.7.2 and setuptools-rust 1.9.2 along with that once you install setuptools-58.3.0, like here it will mention dependency issues and just install the dependencies if any and try installing again. |
@nem0nic @NotMorphus The error was already resolved by the individual who followed the steps from the documentation to the dot after getting the error. Remember there SHOULDN'T be a GUI if you are following the steps. DO NOT download ANY additional software other than those mentioned in the documentation. ONLY USE the MINIMAL UBUNTU ISO provided in the documentation to install the OS. FOLLOW the step to disable the windows Hyper V if in VIRTUAL BOX or Wayland if you are in VMWARE. The link to these is in my previous comment. The error you both are referring to occurred because the said individual downloaded the iso from other link and as you can see there's a GUI which shouldn't be there as you are only supposed to download 2-3 packages throughout the documentation and simply run the install remnux which will correctly download all the necessary packages and dependencies. |
Hi I followed the steps and didnt a GUI either but it failed still for me. I downloaded the mini.iso from the link mentioned in the doc as well. |
The same thing happens in the OVA but I'll try one more time from scratch |
These things aren't developed in such a way that they only work for some and doesn't for some. It maybe your architecture and OS are different. But it can't be that it worked for me and not for you in the same architecture and OS. How many packages did you download before installing remnux? What is the virtualisation software you are using and did you follow the necessary steps required by the virtualisation software before proceeding with installing remnux? |
2 -> gnupg curl |
Hi @NotMorphus , I'm unfortunately away from my computer on vacation, but I should have some downtime tonight to look at this more. The original cause of the Python-based error was surrounding setuptools, and v58.3.0 seems to avoid this issue, but for long term we'll need to find a way to prevent this issue and still advance with software requirements. I'll get back to you once I'm back at my PC! |
Hey! Enjoy your vacation |
Same issue, can't install from scratch, update or upgrade existing vm. |
@maxbotster @nem0nic @NotMorphus @Chronosishere @futex @CamilleBucci @RokasAl In the meantime, I do have a workaround which you could use. For those of you using the REMnux VM:
For those of you using a custom VM or one that you cannot rebuild:
I appreciate your patience in attempting to resolve this issue, and hopefully we can get this fixed soon. Cheers |
@digitalsleuth thats finaly worked for me on Proxmox VM (imported Remnux OVA). |
hey thanks let me check this |
I'm closing this since i got a new issue 😆 anyways i guess it could help someone! |
saltstack.log
I think this might be causing the issue while I was looking through the log file
File "/usr/local/lib/python3.8/dist-packages/pip/_vendor/packaging/version.py"
, line 202, in init\n raise InvalidVersion(f"Invalid version: '{version}'"
)\n pip._vendor.packaging.version.InvalidVersion: Invalid version: '0.23ubuntu1'\n\
The text was updated successfully, but these errors were encountered: