REMnux / salt-states

This repository maintains the SaltStack state files for the REMnux distro.
https://REMnux.org
39 stars 21 forks source link

Set force_reinstall on pip, setuptools, wheel #257

Closed digitalsleuth closed 1 year ago

digitalsleuth commented 1 year ago

To address (rather re-address) the issues with pip, setuptools, and wheel, this will force those tools to be reinstalled at the required, currently known-good versions to fix the METADATA/RECORD issues.

lennyzeltser commented 1 year ago

Thank you very much, @digitalsleuth.I just issued a salt-states release v2023.37.2 to incorporate this fix.

Unfortunately, when I ran remnux upgrade I encountered issues with ioc_parser, VirusTotalApi, malchive, and thug.

Would you be able to take a look at the attached saltstack.log file?

digitalsleuth commented 1 year ago

Are you using the 1.3.9 version of the REMnux CLI? I notice in the log that setuptools isn't updated to 68.x, it's still at 67.x in the log.

lennyzeltser commented 1 year ago

Yes, 1.3.9:

$ remnux version
> remnux-cli@1.3.9.1.g849ae31
> remnux-version: v2023.34.8
digitalsleuth commented 1 year ago

So, I think your particular situation might be related to the issues you encountered when attempting to update the remnux-cli to 3006, because the version you currently have installed (2023.34.8) is the version you got stuck at. Most of the errors in your log have to do with missing metadata from your python installation, and more specifically "requests.2.30.0". I think if you manually update setuptools to 68.x, then force-reinstall requests (I recommend 2.31.x right now anyways), you should be good to go.

lennyzeltser commented 1 year ago

Then perhaps I should request a requests.sls dependency file and include in the affected packages as a requirement with 2.30.0 being the minimal version. What do you think?

digitalsleuth commented 1 year ago

The minimal should be 2.31.0, however I'm noticing a few other issues with the installation, and I think it's centered around 3006. I've tried the install using 3006 about a dozen times in the last 24 hours, and only one of them actually completed (as in gone through the entire process), but I had to restart that process three times.

I'm also seeing a lot of "max recursion depth reached" errors with Python. I'm on another test with 3006 right now, then I'll try 3005 and see if the errors exist there.