Open ProfessorManhattan opened 1 year ago
@ProfessorManhattan, past discussions about failure to download the files were related to changes at Sourceforge. Retrying has usually resulted in the download succeeding in those cases.
There was also a move to use HTTPS to download these files but that was reverted as the code change was not in place to support that. Currently, this is handled by a redirect to HTTPS URL. Could you please try the wget
command without -q
to get more info - something like wget -O - http://rkhunter.sourceforge.net/1.4/mirrors.dat
? Please also test with curl
. When I tried on a AMD64 machine, wget
and curl
were able to download the files (and I did not have the problem to begin with). I do not have CloudFlare installed, so not really sure if that is contributing.
Hey @enggnr --- thanks... I tried to do this but it seems to always add the -q
flag. I'm seeing this issue on macOS arm64 (new macbook)
@ProfessorManhattan, it may not have any thing to do with certificates if it is happening on a new machine. Could you please check the values of these settings in the file rkhunter.conf
? Please run $(brew --prefix)
to find the path where Homebrew installs software. The file should be in the Cellar/rkhunter/1.4.6/etc/
folder in that location.
Homebrew does not appear to be changing these settings. Could you please set WEB_CMD=curl -L
(or /usr/bin/curl -L
) in the conf file and try the update? The URLs in mirrors.dat file need to be using http
(https
also works with curl and wget as mentioned in the previous comment but lets check anyway), which has helped a few people.
β What are you experiencing an issue with?
Latest Release
β Version
N/A
π Description
In the
software.yml
file, after rkhunter gets installed it runsrkhunter --propupd && rkhunter --update
. I had to prune an entry from the PATH to get it working but there is still another issue. When rkhunter --update is run, the updates fail (logs posted below). This issue is happening on macOS arm64. It could be because of the openssl-osx-ca program or possibly from the certificate modifications that CloudFlare WARP is doing. It's possible that Homebrew is usingwget
but it has not been updated to use the proper certificates. I copied the URLs that were shown in the logs and it was possible to open them in a browser so it's not an internet issue.βΊοΈ Steps To Reproduce
No response
π Relevant Log Output