-
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
Upgrading to 2024.2.2 Issue #165
Comments
Another thing, the following is in the CPAN MyConfig.pm for root:
Could something possibly overwrote the user config causing it to require reconfiguration? |
It looks like the actual cause of the error is on line 66026: # [ERROR ] stderr: /usr/local/bin/openssl: error while loading shared libraries: libssl.so.3: cannot open shared object file: No such file or directory
Use of uninitialized value $output in scalar chomp at Makefile.PL line 425.
Use of uninitialized value $output in pattern match (m//) at Makefile.PL line 428.
Use of uninitialized value $output in pattern match (m//) at Makefile.PL line 431.
Use of uninitialized value $output in concatenation (.) or string at Makefile.PL line 440.
*** OpenSSL version test failed
(`' has been returned)
Either you have bogus OpenSSL or a new version has changed the version
number format. Please inform the authors!
# [ERROR ] retcode: 1 Could you let me know what version of openssl is installed (if any) currently in that VM? |
@digitalsleuth Apt says 1.1.1f. When I try to anything with openssl like help or version it tells me:
Guess my libssl.so.3 somehow disappeared. I'll try doing a re-install of openssl and see if that fixes it. |
I tried the same process (brand new Ubuntu Mate 20.04.6, fully updated). Default OpenSSL for me is 1.1.1f as well, with no REMnux installed. Attempted the exiftool install with no issues. Before re-installing, you could try running sudo ldconfig to see if that resolves the openssl issue. If it does, I can account for that in the state file. |
Oops, sorry buddy I didn't wait and already am trying a reinstall now. I also think I might have installed the latest OpenSSL (3.x) from their site or git to be more current and had the APT repo package installed as well, but I'm not sure on that since I can't get a version. Quick question though, If I do reinstall OpenSSL but using the git to install 3.x again, do you know if REMnux has any dependencies that require 1.1.1 to operate? Just curious since 1.1.1 hit its last release back in 2018 and its LTS/EOL was back in September of 2023. Cheers! |
UPDATE 1: I tried uninstalled the APT package and trying the command again and this error still persists. So I'm not sure if there is another package somewhere that the link in /usr/local/bin is referencing that the system is looking to and it doesn't have this required file? Hopefully a clean install will fix it. UPDATE 2: I tried running the command you suggested to see if it fixes it since OpenSSL seems to still be here somewhere while running the make and it didn't seem to do anything. |
Did you try the "sudo ldconfig" command? |
UPDATE 3: Reinstall didn't fix it but did get me the latest version at least. A quick Google-fu and found a suggestion to try Trying another REMnux upgrade now that is fixed! Will let you know how it goes. |
Oops. Don't think I did try with sudo. |
If you're already trying again, simply try the |
UPDATE 4: REMnux upgrade failed again and I'm back to having the libssl.so issue again. I think this was because a part of the Salt install is to check for if OpenSSL is installed in the APT packages and if not it installs it. And the Git build and install method does not register in the APT packages. When I run a
I think the APT install overrides part the Git build/install and I end up having a mishmash of both. So I guess both are here but the 3.3.0 is the dominating version. Next thing I'm gonna try is to see if I can find a way to register the Git build/install with APT packages so REMnux see's OpenSSL is installed and doesn't need to run an APT installation. If that works than I want to try to remove 1.1.1 and try running the Also, I checked my history. I did actually run |
I'm running some testing now, I'll let you know how it goes, hopefully it resolves this issue. |
Sounds good. Also appears the latest stable version available for OpenSSL is 3.2.0 but I guess when I did a git clone for the build I made, it pulled down 3.3.0-dev. So I might pull 3.2.0 to build and install so I at least have a stable version. I like current but I'm not looking to use the dev version of it if I don't have to. |
So, I have tried about 10 different ways to intentionally make this break, but I've been unable to duplicate the error. Are you using the ISO downloaded from the Ubuntu page, or is it one you had previously built but are installing REMnux into? If it's a previous build, there may have been an error induced by an upgrade to the SSL package. Even after the successful install, the openssl version is still 1.1.1f. I'll manually install openssl 3+ to see the best way to account for that in the future, but in order to get everything to work during the install, I would recommend temporarily removing openssl 3, then installing it after completion (provided you want/need version 3+). |
I downloaded and used the ISO from Ubuntu Mate's site to build the system I am using. |
If you take a peek over at the salt-state repo and the new issue I just opened (REMnux/salt-states#274) I guess uninstalling OpenSSL v3 fixed my issue with that. That problem doesn't seem to be giving me any more issue with the update/upgrade process. And whatever issue I was having with Radare during the upgrade/upgrade process, I seemed to have figured out a work around to make it work. So I'll close this issue out since my original issue seems to be fixed. Thanks Digital for taking some time to see if you can figure it out! |
Devs,
Just attempted to run an upgrade from 2023.45.1 to 2024.2.2 and I ran into the following Perl issue with Net-SSLeay:
Full Saltstack log:
saltstack.log
grep'ed down results:
errfiltered.log
I was able to do clean install on a new Ubuntu 20.04.6 (Mate) VM last night using the addon mode with no issues. Not really sure why upgrading is giving me issues with this.
when I run just cpan it runs the following:
Did something possible get reset with this package that I need to reconfigure before trying to run the upgrade again? I am not confirming any changes at this point till I can do some more research and make sure that going through these choice menus won't possibly screw up the installation process further.
EDIT: /home/{user}/.cpan/CPAN/MyConfig.pm only has 1; in it which may be a config written by the net-ssleay.sls in the salt.
Thanks and cheers!
The text was updated successfully, but these errors were encountered: