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

REMnux upgrade failing for 2024.28.1 #184

Closed
NotMorphus opened this issue Jul 9, 2024 · 51 comments
Closed

REMnux upgrade failing for 2024.28.1 #184

NotMorphus opened this issue Jul 9, 2024 · 51 comments

Comments

@NotMorphus
Copy link

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\

@RokasAl
Copy link

RokasAl commented Jul 9, 2024

having the same issue

@RokasAl
Copy link

RokasAl commented Jul 9, 2024

it throw an error on running ssh for me @NotMorphus same for you?

@digitalsleuth
Copy link

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!

@CamilleBucci
Copy link

While I'm none of the quoted, I'm having the same issue. So here's my output from the command:
image

@CamilleBucci
Copy link

Maybe mine is different, but this is what happens when I try to run "remnux upgrade":

image

@NotMorphus
Copy link
Author

it throw an error on running ssh for me @NotMorphus same for you?

I dont think so...

@NotMorphus
Copy link
Author

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!
setuptools 67.7.2
setuptools-rust 1.9.0

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

@NotMorphus
Copy link
Author

NotMorphus commented Jul 10, 2024

Maybe mine is different, but this is what happens when I try to run "remnux upgrade":

image

might want to give out the saltstack.log file /var/cache/remnux/saltstack/saltstack.log
Also, probably download the latest build from the site, yours is very old...

@RokasAl
Copy link

RokasAl commented Jul 10, 2024

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!

Hi, for me this is the output
image

@digitalsleuth
Copy link

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.

@NotMorphus
Copy link
Author

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,
The first 2 commands fail saying touch: cannot touch '/usr/local/lib/python3.8/dist-packages/pyelftools-0.29.dist-info/RECORD': No such file or directory
but the last 2 run successfully

@digitalsleuth
Copy link

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.

@NotMorphus
Copy link
Author

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.

@NotMorphus
Copy link
Author

NotMorphus commented Jul 16, 2024

hello!
still no update regarding this?
well I tried updating it to 2024.28.1 and issue still wasn't fixed as of today. Uploaded the saltstack.log for your ref
saltstack.log

@NotMorphus NotMorphus changed the title REMnux upgrade failing for 2024.25.1 REMnux upgrade failing for 2024.25.1 -> 2024.28.1 Jul 16, 2024
@NotMorphus NotMorphus changed the title REMnux upgrade failing for 2024.25.1 -> 2024.28.1 REMnux upgrade failing for 2024.28.1 Jul 16, 2024
@digitalsleuth
Copy link

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.

@futex
Copy link

futex commented Jul 18, 2024

Hi, i also tried sudo python3 -m pip install setuptools==58.3.0 but i haven´t any improvement.

@digitalsleuth
Copy link

@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.

@futex
Copy link

futex commented Jul 18, 2024

@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

@NotMorphus
Copy link
Author

@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.

v2024.23.1

@NotMorphus
Copy link
Author

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.

remnux@remnux:~$ sudo python3 -m pip install setuptools==58.3.0 Collecting setuptools==58.3.0 Downloading setuptools-58.3.0-py3-none-any.whl.metadata (4.9 kB) Downloading setuptools-58.3.0-py3-none-any.whl (946 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 946.2/946.2 kB 11.4 MB/s eta 0:00:00 WARNING: Error parsing dependencies of distro-info: Invalid version: '0.23ubuntu1' Installing collected packages: setuptools Attempting uninstall: setuptools Found existing installation: setuptools 67.7.2 Uninstalling setuptools-67.7.2: Successfully uninstalled setuptools-67.7.2 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. launchpadlib 1.10.13 requires testresources, which is not installed. setuptools-rust 1.9.0 requires setuptools>=62.4, but you have setuptools 58.3.0 which is incompatible. speakeasy-emulator 1.5.11 requires unicorn==1.0.2, but you have unicorn 2.0.0 which is incompatible. Successfully installed setuptools-58.3.0 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
This didnt do any good. It still failed for me. Here are the saltstack logs for the same.
saltstack.log

@NotMorphus
Copy link
Author

any update here?

@Chronosishere
Copy link

@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.

Output: v2022.28.1

I am also facing a similar issue.
image

Here's the saltstack for v2022.28.1 (Current version, Fresh Import as a virtual machine in Vbox):
saltstack.log

Here's the saltstack for v2024.28.1 (The version "remnux upgrade" tries to upgrade to):
saltstack.log

@PCAssistSoftware
Copy link

Also facing update issues when using Remnux update

image

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

@Chronosishere
Copy link

Chronosishere commented Jul 27, 2024 via email

@PCAssistSoftware
Copy link

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.

Thanks will try that

@PCAssistSoftware
Copy link

PCAssistSoftware commented Jul 27, 2024

@Chronosishere

Manual install also failed with error as below after running sudo remnux install

Same error as I was getting trying to upgrade initially...

image

@Chronosishere
Copy link

Chronosishere commented Jul 27, 2024

@Chronosishere

Manual install also failed with error as below after running sudo remnux install

Same error as I was getting trying to upgrade initially...

image

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.

@PCAssistSoftware
Copy link

PCAssistSoftware commented Jul 27, 2024

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...

@PCAssistSoftware
Copy link

Now got download of mini.iso working from another computer - no idea why it was blocked before - so will try again. Thanks

@Chronosishere
Copy link

Chronosishere commented Jul 27, 2024

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.

@PCAssistSoftware
Copy link

Now all sorted - thanks for your help

@NotMorphus
Copy link
Author

@digitalsleuth any update dear friend?

@NotMorphus
Copy link
Author

@Chronosishere
Manual install also failed with error as below after running sudo remnux install
Same error as I was getting trying to upgrade initially...
image

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.

For me, this did not work either there's some error with python3 i think after reading the log file

@Chronosishere
Copy link

@Chronosishere
Manual install also failed with error as below after running sudo remnux install
Same error as I was getting trying to upgrade initially...
image

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.

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.

@NotMorphus
Copy link
Author

@Chronosishere
Manual install also failed with error as below after running sudo remnux install
Same error as I was getting trying to upgrade initially...
image

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.

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 didnt unfortunately

@nem0nic
Copy link

nem0nic commented Aug 2, 2024

@Chronosishere
Manual install also failed with error as below after running sudo remnux install
Same error as I was getting trying to upgrade initially...
image

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.

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.

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.

@NotMorphus
Copy link
Author

@Chronosishere
Manual install also failed with error as below after running sudo remnux install
Same error as I was getting trying to upgrade initially...
image

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.

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.

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...
But if you might have followed the same steps like the doc and still didnt work
My friend you're in the same boat as me :(

@NotMorphus
Copy link
Author

NotMorphus commented Aug 2, 2024

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.
It worked for me not sure if it would work for you.
Not closing the ticket since my actual ISO still has the problem
Might as well try the same what I tried here and update you guys

@Chronosishere
Copy link

@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.

@NotMorphus
Copy link
Author

@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.
It just could be that it worked for you guys and didnt work for us

@nem0nic
Copy link

nem0nic commented Aug 2, 2024

@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.

The same thing happens in the OVA but I'll try one more time from scratch

@Chronosishere
Copy link

@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.
It just could be that it worked for you guys and didnt work for us

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?

@NotMorphus
Copy link
Author

NotMorphus commented Aug 2, 2024

@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.
It just could be that it worked for you guys and didnt work for us

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
Virtualbox is on Windows 11 so don't need to follow any necessary steps.

@digitalsleuth
Copy link

@digitalsleuth any update dear friend?

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!

@NotMorphus
Copy link
Author

NotMorphus commented Aug 2, 2024

@digitalsleuth any update dear friend?

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
It's fine I can wait a few more days 😄
But this seems interesting
saltstack.log
Screenshot from 2024-08-02 23-40-26

@nem0nic
Copy link

nem0nic commented Aug 2, 2024

Followed the install from scratch guide to the T... Same error each time.

Screenshot_20240802_151041

@maxbotster
Copy link

Same issue, can't install from scratch, update or upgrade existing vm.

@digitalsleuth
Copy link

@maxbotster @nem0nic @NotMorphus @Chronosishere @futex @CamilleBucci @RokasAl
I've spent quite a bit of time looking at this issue and haven't been able to find a definitive cause. I did, however, identify some things which can be done to avoid this issue in the future. I will be issuing a pull request shortly (once the last two tests complete), and once released, these should help with some of the issues.

In the meantime, I do have a workaround which you could use.

For those of you using the REMnux VM:

  • Launch a new REMnux VM from the OVA file
  • Once logged in, run the following:
    • sudo rm /etc/apt/sources.list.d/draios.list
    • sudo apt-get update && sudo apt-get upgrade -y
    • sudo remnux upgrade
  • When this is finished (depending on when you run it) there will either be a few (likely 5) errors (all related to malchive), or no errors (if the PR is published by this time)
  • If you have errors related to malchive, this will be fixed when the aforementioned PR is released. Everything else will have installed correctly.

For those of you using a custom VM or one that you cannot rebuild:

  • The upcoming PR will fix a few issues which may have originally led to the errors you're experiencing
  • Once you've upgraded REMnux to this latest release, please re-submit your saltstack.log file if you experience more issues and we can try to resolve the remaining issues.

I appreciate your patience in attempting to resolve this issue, and hopefully we can get this fixed soon.

Cheers

@maxbotster
Copy link

@maxbotster @nem0nic @NotMorphus @Chronosishere @futex @CamilleBucci @RokasAl I've spent quite a bit of time looking at this issue and haven't been able to find a definitive cause. I did, however, identify some things which can be done to avoid this issue in the future. I will be issuing a pull request shortly (once the last two tests complete), and once released, these should help with some of the issues.

In the meantime, I do have a workaround which you could use.

For those of you using the REMnux VM:

  • Launch a new REMnux VM from the OVA file

  • Once logged in, run the following:

    • sudo rm /etc/apt/sources.list.d/draios.list
    • sudo apt-get update && sudo apt-get upgrade -y
    • sudo remnux upgrade
  • When this is finished (depending on when you run it) there will either be a few (likely 5) errors (all related to malchive), or no errors (if the PR is published by this time)

  • If you have errors related to malchive, this will be fixed when the aforementioned PR is released. Everything else will have installed correctly.

For those of you using a custom VM or one that you cannot rebuild:

  • The upcoming PR will fix a few issues which may have originally led to the errors you're experiencing
  • Once you've upgraded REMnux to this latest release, please re-submit your saltstack.log file if you experience more issues and we can try to resolve the remaining issues.

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).

@NotMorphus
Copy link
Author

@maxbotster @nem0nic @NotMorphus @Chronosishere @futex @CamilleBucci @RokasAl I've spent quite a bit of time looking at this issue and haven't been able to find a definitive cause. I did, however, identify some things which can be done to avoid this issue in the future. I will be issuing a pull request shortly (once the last two tests complete), and once released, these should help with some of the issues.

In the meantime, I do have a workaround which you could use.

For those of you using the REMnux VM:

* Launch a new REMnux VM from the [OVA file](https://docs.remnux.org/install-distro/get-virtual-appliance#download-virtual-appliance)

* Once logged in, run the following:
  
  * `sudo rm /etc/apt/sources.list.d/draios.list`
  * `sudo apt-get update && sudo apt-get upgrade -y`
  * `sudo remnux upgrade`

* When this is finished (depending on when you run it) there will either be a few (likely 5) errors (all related to `malchive`), or no errors (if the PR is published by this time)

* If you have errors related to malchive, this will be fixed when the aforementioned PR is released. Everything else will have installed correctly.

For those of you using a custom VM or one that you cannot rebuild:

* The upcoming PR will fix a few issues which may have originally led to the errors you're experiencing

* Once you've upgraded REMnux to this latest release, please re-submit your saltstack.log file if you experience more issues and we can try to resolve the remaining issues.

I appreciate your patience in attempting to resolve this issue, and hopefully we can get this fixed soon.

Cheers

hey thanks let me check this

@NotMorphus
Copy link
Author

I'm closing this since i got a new issue 😆 anyways i guess it could help someone!

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

9 participants